Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
MockerNode Class Reference

#include <mocker_node.hpp>

Inheritance diagram for MockerNode:
Inheritance graph
Collaboration diagram for MockerNode:
Collaboration graph

Public Member Functions

void publish_data ()
 publish the messages
 
 MockerNode ()
 Constructor for a new Mocker Node object.
 

Public Attributes

custom_interfaces::msg::PathPointArray gtruth_planning
 
custom_interfaces::msg::ConeArray gtruth_se
 

Private Attributes

rclcpp::Publisher< custom_interfaces::msg::PathPointArray >::SharedPtr planning_publisher
 
rclcpp::Publisher< custom_interfaces::msg::ConeArray >::SharedPtr se_publisher
 
rclcpp::Publisher< visualization_msgs::msg::Marker >::SharedPtr planning_visualization_publisher
 Timer for the periodic publishing.
 
rclcpp::TimerBase::SharedPtr timer_
 
std::string _map_frame_id_
 

Detailed Description

Definition at line 17 of file mocker_node.hpp.

Constructor & Destructor Documentation

◆ MockerNode()

MockerNode::MockerNode ( )

Constructor for a new Mocker Node object.

Parameters
track_namedesired mock track_name file / folder
simdesired simulator that contains a track

Definition at line 9 of file mocker_node.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ publish_data()

void MockerNode::publish_data ( )

publish the messages

Definition at line 42 of file mocker_node.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _map_frame_id_

std::string MockerNode::_map_frame_id_
private

Definition at line 26 of file mocker_node.hpp.

◆ gtruth_planning

custom_interfaces::msg::PathPointArray MockerNode::gtruth_planning

Definition at line 29 of file mocker_node.hpp.

◆ gtruth_se

custom_interfaces::msg::ConeArray MockerNode::gtruth_se

Definition at line 30 of file mocker_node.hpp.

◆ planning_publisher

rclcpp::Publisher<custom_interfaces::msg::PathPointArray>::SharedPtr MockerNode::planning_publisher
private

Definition at line 19 of file mocker_node.hpp.

◆ planning_visualization_publisher

rclcpp::Publisher<visualization_msgs::msg::Marker>::SharedPtr MockerNode::planning_visualization_publisher
private

Timer for the periodic publishing.

Definition at line 21 of file mocker_node.hpp.

◆ se_publisher

rclcpp::Publisher<custom_interfaces::msg::ConeArray>::SharedPtr MockerNode::se_publisher
private

Definition at line 20 of file mocker_node.hpp.

◆ timer_

rclcpp::TimerBase::SharedPtr MockerNode::timer_
private

Definition at line 24 of file mocker_node.hpp.


The documentation for this class was generated from the following files: