Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
formats.py File Reference

Go to the source code of this file.

Namespaces

namespace  evaluator
 
namespace  evaluator.formats
 

Functions

tuple[np.ndarray, np.ndarray] evaluator.formats.format_vehicle_pose_msg (Pose msg)
 Formats the Pose message into a numpy array.
 
tuple[np.ndarray, np.ndarray] evaluator.formats.format_velocities_msg (Velocities msg)
 Formats the Velocities message into a numpy array.
 
tuple[np.ndarray, np.ndarray] evaluator.formats.format_vehicle_state_msg (VehicleState msg)
 Formats the VehicleState message into a numpy array.
 
 evaluator.formats.format_cone_array_msg (ConeArray msg)
 Formats the ConeArray message into a numpy array.
 
 evaluator.formats.get_color_number_from_rgb (r, g, b)
 
 evaluator.formats.format_marker_array_msg (MarkerArray msg)
 Formats the MarkerArray message into a numpy array.
 
np.ndarray evaluator.formats.format_transform_stamped_msg (TransformStamped msg)
 Formats the TransformStamped message into a numpy array.
 
np.ndarray evaluator.formats.format_twist_with_covariance_stamped_msg (TwistWithCovarianceStamped msg)
 Formats the TwistWithCovarianceStamped message into a numpy array.
 
tuple[np.ndarray, np.ndarray] evaluator.formats.format_car_state_msg (CarState msg)
 Formats the CarState message from eufs into a tuple of numpy arrays.
 
 evaluator.formats.format_eufs_cone_array_with_covariance_msg (ConeArrayWithCovariance msg)
 Args: msg (ConeArrayWithCovariance): cone array message from eufs.
 
tuple[np.ndarray, np.ndarray] evaluator.formats.format_nav_odometry_msg (Odometry msg)
 Formats the Odometry message into a numpy array.
 
np.ndarray evaluator.formats.format_path_point_array_msg (PathPointArray path_point_array)
 Converts a PathPointArray message into a numpy array.
 
 evaluator.formats.format_point2d_msg (msg)
 Converts a Point2D message into a numpy array.
 
np.ndarray evaluator.formats.find_closest_elements (np.ndarray arr1, np.ndarray arr2)
 
tuple[np.ndarray, np.ndarray] evaluator.formats.get_blue_and_yellow_cones_after_msg_treatment (np.ndarray arr)
 Divides the result of converting the EUFS or FSDS map message to np.ndarray into blue and yellow cones arrays, attributing orange cones into blue or yellow cones.
 

Variables

dict evaluator.formats.cone_color_dictionary