Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
IntegrationTest Class Reference
Inheritance diagram for IntegrationTest:
Inheritance graph
Collaboration diagram for IntegrationTest:
Collaboration graph

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
std::chrono::duration< double, std::milli > run_nodes (const custom_interfaces::msg::ConeArray &track_msg, const custom_interfaces::msg::Pose &state_msg)
 

Protected Attributes

std::shared_ptr< rclcpp::Node > locmap_sender
 
std::shared_ptr< rclcpp::Node > control_receiver
 
std::shared_ptr< Planningplanning_test_
 
custom_interfaces::msg::ConeArray cone_array_msg
 
custom_interfaces::msg::PathPointArray received_path
 
std::shared_ptr< rclcpp::Publisher< custom_interfaces::msg::ConeArray > > map_publisher
 
std::shared_ptr< rclcpp::Publisher< custom_interfaces::msg::Pose > > vehicle_pose_publisher_
 
std::shared_ptr< rclcpp::Subscription< custom_interfaces::msg::PathPointArray > > control_sub
 

Detailed Description

Definition at line 6 of file integration_tests.cpp.

Member Function Documentation

◆ run_nodes()

std::chrono::duration< double, std::milli > IntegrationTest::run_nodes ( const custom_interfaces::msg::ConeArray &  track_msg,
const custom_interfaces::msg::Pose &  state_msg 
)
inlineprotected

Definition at line 65 of file integration_tests.cpp.

◆ SetUp()

void IntegrationTest::SetUp ( )
inlineoverrideprotected

Definition at line 21 of file integration_tests.cpp.

Here is the call graph for this function:

◆ TearDown()

void IntegrationTest::TearDown ( )
inlineoverrideprotected

Definition at line 55 of file integration_tests.cpp.

Member Data Documentation

◆ cone_array_msg

custom_interfaces::msg::ConeArray IntegrationTest::cone_array_msg
protected

Definition at line 13 of file integration_tests.cpp.

◆ control_receiver

std::shared_ptr<rclcpp::Node> IntegrationTest::control_receiver
protected

Definition at line 10 of file integration_tests.cpp.

◆ control_sub

std::shared_ptr<rclcpp::Subscription<custom_interfaces::msg::PathPointArray> > IntegrationTest::control_sub
protected

Definition at line 19 of file integration_tests.cpp.

◆ locmap_sender

std::shared_ptr<rclcpp::Node> IntegrationTest::locmap_sender
protected

Definition at line 9 of file integration_tests.cpp.

◆ map_publisher

std::shared_ptr<rclcpp::Publisher<custom_interfaces::msg::ConeArray> > IntegrationTest::map_publisher
protected

Definition at line 17 of file integration_tests.cpp.

◆ planning_test_

std::shared_ptr<Planning> IntegrationTest::planning_test_
protected

Definition at line 11 of file integration_tests.cpp.

◆ received_path

custom_interfaces::msg::PathPointArray IntegrationTest::received_path
protected

Definition at line 14 of file integration_tests.cpp.

◆ vehicle_pose_publisher_

std::shared_ptr<rclcpp::Publisher<custom_interfaces::msg::Pose> > IntegrationTest::vehicle_pose_publisher_
protected

Definition at line 18 of file integration_tests.cpp.


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