Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
ros2Helpers.cpp File Reference
#include "ros2Helpers.hpp"
Include dependency graph for ros2Helpers.cpp:

Go to the source code of this file.

Functions

pacsim::msg::PerceptionDetections LandmarkListToRosMessage (const LandmarkList &sensorLms, std::string frameId, double time)
 
sensor_msgs::msg::Imu createRosImuMsg (const ImuData &data)
 
geometry_msgs::msg::TwistWithCovarianceStamped createRosTwistMsg (const Eigen::Vector3d &vel, const Eigen::Vector3d &rot, const std::string &frame, double time)
 
geometry_msgs::msg::TransformStamped createRosTransformMsg (const Eigen::Vector3d &trans, const Eigen::Vector3d &rot, const std::string &frame, const std::string &child_frame, double time)
 
geometry_msgs::msg::TransformStamped createStaticTransform (const std::string &frame, const std::string &child_frame, double time)
 
sensor_msgs::msg::JointState createRosJointMsg (const std::vector< std::string > &joint_names, const std::vector< double > &joint_vals, double time)
 
pacsim::msg::GNSS createRosGnssMessage (const GnssData &data)
 

Function Documentation

◆ createRosGnssMessage()

pacsim::msg::GNSS createRosGnssMessage ( const GnssData data)

Definition at line 402 of file ros2Helpers.cpp.

Here is the caller graph for this function:

◆ createRosImuMsg()

sensor_msgs::msg::Imu createRosImuMsg ( const ImuData data)

Definition at line 313 of file ros2Helpers.cpp.

Here is the caller graph for this function:

◆ createRosJointMsg()

sensor_msgs::msg::JointState createRosJointMsg ( const std::vector< std::string > &  joint_names,
const std::vector< double > &  joint_vals,
double  time 
)

Definition at line 390 of file ros2Helpers.cpp.

Here is the caller graph for this function:

◆ createRosTransformMsg()

geometry_msgs::msg::TransformStamped createRosTransformMsg ( const Eigen::Vector3d &  trans,
const Eigen::Vector3d &  rot,
const std::string &  frame,
const std::string &  child_frame,
double  time 
)

Definition at line 357 of file ros2Helpers.cpp.

Here is the caller graph for this function:

◆ createRosTwistMsg()

geometry_msgs::msg::TwistWithCovarianceStamped createRosTwistMsg ( const Eigen::Vector3d &  vel,
const Eigen::Vector3d &  rot,
const std::string &  frame,
double  time 
)

Definition at line 339 of file ros2Helpers.cpp.

Here is the caller graph for this function:

◆ createStaticTransform()

geometry_msgs::msg::TransformStamped createStaticTransform ( const std::string &  frame,
const std::string &  child_frame,
double  time 
)

Definition at line 379 of file ros2Helpers.cpp.

◆ LandmarkListToRosMessage()

pacsim::msg::PerceptionDetections LandmarkListToRosMessage ( const LandmarkList sensorLms,
std::string  frameId,
double  time 
)

Definition at line 265 of file ros2Helpers.cpp.

Here is the caller graph for this function: