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

Public Member Functions

 setUp (self)
 
 test_format_vehicle_state_msg (self)
 
 test_format_cone_array_msg (self)
 
 test_format_marker_array (self)
 
 test_format_transform_stamped (self)
 
 test_twist_with_covariance_stamped (self)
 
 test_format_car_state (self)
 
 test_format_eufs_cone_array_with_covariance (self)
 
 test_format_nav_odometry (self)
 
 test_format_path_point_array (self)
 
 test_format_point2d (self)
 

Public Attributes

 expected_position
 
 expected_velocities
 
 expected_cone_array
 
 expected_stamped_message
 
 expected_path_point_array
 

Detailed Description

Test case for the format methods of the Evaluator class.

Definition at line 23 of file test_formats.py.

Member Function Documentation

◆ setUp()

test_formats.TestFormats.setUp (   self)
Set up the test environment by initializing expected value

Definition at line 28 of file test_formats.py.

◆ test_format_car_state()

test_formats.TestFormats.test_format_car_state (   self)
Test case to check the formatting of a CarState message

Definition at line 168 of file test_formats.py.

◆ test_format_cone_array_msg()

test_formats.TestFormats.test_format_cone_array_msg (   self)
Test case to check the formatting of a ConeArray message

Definition at line 101 of file test_formats.py.

◆ test_format_eufs_cone_array_with_covariance()

test_formats.TestFormats.test_format_eufs_cone_array_with_covariance (   self)
Test case to check the formatting of a ConeArrayWithCovariance message

Definition at line 189 of file test_formats.py.

◆ test_format_marker_array()

test_formats.TestFormats.test_format_marker_array (   self)
Test case to check the formatting of a MarkerArray message

Definition at line 118 of file test_formats.py.

◆ test_format_nav_odometry()

test_formats.TestFormats.test_format_nav_odometry (   self)
Test case to check the formatting of a Odometry message

Definition at line 205 of file test_formats.py.

◆ test_format_path_point_array()

test_formats.TestFormats.test_format_path_point_array (   self)
Test case to check the formatting of a PathPointArray message

Definition at line 226 of file test_formats.py.

◆ test_format_point2d()

test_formats.TestFormats.test_format_point2d (   self)
Test case to check the formatting of a Point2d message

Definition at line 242 of file test_formats.py.

◆ test_format_transform_stamped()

test_formats.TestFormats.test_format_transform_stamped (   self)
Test case to check the formatting of a TransformStamped message

Definition at line 135 of file test_formats.py.

◆ test_format_vehicle_state_msg()

test_formats.TestFormats.test_format_vehicle_state_msg (   self)
Test case to check the formatting of a VehicleState message

Definition at line 84 of file test_formats.py.

◆ test_twist_with_covariance_stamped()

test_formats.TestFormats.test_twist_with_covariance_stamped (   self)
Test case to check the formatting of a TwistWithCovarianceStamped message

Definition at line 154 of file test_formats.py.

Member Data Documentation

◆ expected_cone_array

test_formats.TestFormats.expected_cone_array

Definition at line 49 of file test_formats.py.

◆ expected_path_point_array

test_formats.TestFormats.expected_path_point_array

Definition at line 71 of file test_formats.py.

◆ expected_position

test_formats.TestFormats.expected_position

Definition at line 33 of file test_formats.py.

◆ expected_stamped_message

test_formats.TestFormats.expected_stamped_message

Definition at line 63 of file test_formats.py.

◆ expected_velocities

test_formats.TestFormats.expected_velocities

Definition at line 41 of file test_formats.py.


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