scenario_simulator_v2 C++ API
Namespaces | Macros | Functions
conversions.cpp File Reference
#include <scenario_simulator_exception/exception.hpp>
#include <simulation_interface/conversions.hpp>
#include <string>
#include <vector>
Include dependency graph for conversions.cpp:

Namespaces

 simulation_interface
 

Macros

#define CASE(NAME)
 

Functions

void simulation_interface::toProto (const geometry_msgs::msg::Point &p, geometry_msgs::Point &proto)
 
void simulation_interface::toMsg (const geometry_msgs::Point &proto, geometry_msgs::msg::Point &p)
 
void simulation_interface::toProto (const geometry_msgs::msg::Quaternion &q, geometry_msgs::Quaternion &proto)
 
void simulation_interface::toMsg (const geometry_msgs::Quaternion &proto, geometry_msgs::msg::Quaternion &q)
 
void simulation_interface::toProto (const geometry_msgs::msg::Pose &p, geometry_msgs::Pose &proto)
 
void simulation_interface::toMsg (const geometry_msgs::Pose &proto, geometry_msgs::msg::Pose &p)
 
void simulation_interface::toProto (const geometry_msgs::msg::Vector3 &v, geometry_msgs::Vector3 &proto)
 
void simulation_interface::toMsg (const geometry_msgs::Vector3 &proto, geometry_msgs::msg::Vector3 &v)
 
void simulation_interface::toProto (const geometry_msgs::msg::Twist &t, geometry_msgs::Twist &proto)
 
void simulation_interface::toMsg (const geometry_msgs::Twist &proto, geometry_msgs::msg::Twist &t)
 
void simulation_interface::toProto (const geometry_msgs::msg::Accel &a, geometry_msgs::Accel &proto)
 
void simulation_interface::toMsg (const geometry_msgs::Accel &proto, geometry_msgs::msg::Accel &a)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::BoundingBox &box, traffic_simulator_msgs::BoundingBox &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::BoundingBox &proto, traffic_simulator_msgs::msg::BoundingBox &box)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::Performance &performance, traffic_simulator_msgs::Performance &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::Performance &proto, traffic_simulator_msgs::msg::Performance &performance)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::Axle &axle, traffic_simulator_msgs::Axle &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::Axle &proto, traffic_simulator_msgs::msg::Axle &axle)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::Axles &axles, traffic_simulator_msgs::Axles &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::Axles &proto, traffic_simulator_msgs::msg::Axles &axles)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::VehicleParameters &p, traffic_simulator_msgs::VehicleParameters &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::VehicleParameters &proto, traffic_simulator_msgs::msg::VehicleParameters &p)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::PedestrianParameters &p, traffic_simulator_msgs::PedestrianParameters &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::PedestrianParameters &proto, traffic_simulator_msgs::msg::PedestrianParameters &p)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::MiscObjectParameters &p, traffic_simulator_msgs::MiscObjectParameters &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::MiscObjectParameters &proto, traffic_simulator_msgs::msg::MiscObjectParameters &p)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::ActionStatus &s, traffic_simulator_msgs::ActionStatus &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::ActionStatus &proto, traffic_simulator_msgs::msg::ActionStatus &s)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::LaneletPose &pose, traffic_simulator_msgs::LaneletPose &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::LaneletPose &proto, traffic_simulator_msgs::msg::LaneletPose &pose)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::EntityType &type, traffic_simulator_msgs::EntityType &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::EntityType &proto, traffic_simulator_msgs::msg::EntityType &type)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::EntitySubtype &subtype, traffic_simulator_msgs::EntitySubtype &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::EntitySubtype &proto, traffic_simulator_msgs::msg::EntitySubtype &subtype)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::EntityStatus &status, traffic_simulator_msgs::EntityStatus &proto)
 
void simulation_interface::toMsg (const traffic_simulator_msgs::EntityStatus &proto, traffic_simulator_msgs::msg::EntityStatus &status)
 
void simulation_interface::toProto (const traffic_simulator_msgs::msg::EntityStatus &status, simulation_api_schema::EntityStatus &proto)
 
void simulation_interface::toMsg (const simulation_api_schema::EntityStatus &proto, traffic_simulator_msgs::msg::EntityStatus &status)
 
void simulation_interface::toProto (const builtin_interfaces::msg::Duration &duration, builtin_interfaces::Duration &proto)
 
void simulation_interface::toMsg (const builtin_interfaces::Duration &proto, builtin_interfaces::msg::Duration &duration)
 
void simulation_interface::toProto (const builtin_interfaces::msg::Time &time, builtin_interfaces::Time &proto)
 
void simulation_interface::toMsg (const builtin_interfaces::Time &proto, builtin_interfaces::msg::Time &time)
 
void simulation_interface::toProto (const rosgraph_msgs::msg::Clock &time, rosgraph_msgs::Clock &proto)
 
void simulation_interface::toMsg (const rosgraph_msgs::Clock &proto, rosgraph_msgs::msg::Clock &time)
 
void simulation_interface::toProto (const std_msgs::msg::Header &header, std_msgs::Header &proto)
 
void simulation_interface::toMsg (const std_msgs::Header &proto, std_msgs::msg::Header &header)
 
void simulation_interface::toProto (const autoware_auto_control_msgs::msg::AckermannLateralCommand &message, autoware_auto_control_msgs::AckermannLateralCommand &proto)
 
void simulation_interface::toMsg (const autoware_auto_control_msgs::AckermannLateralCommand &proto, autoware_auto_control_msgs::msg::AckermannLateralCommand &message)
 
void simulation_interface::toProto (const autoware_auto_control_msgs::msg::LongitudinalCommand &message, autoware_auto_control_msgs::LongitudinalCommand &proto)
 
void simulation_interface::toMsg (const autoware_auto_control_msgs::LongitudinalCommand &proto, autoware_auto_control_msgs::msg::LongitudinalCommand &message)
 
void simulation_interface::toProto (const autoware_auto_control_msgs::msg::AckermannControlCommand &message, autoware_auto_control_msgs::AckermannControlCommand &proto)
 
void simulation_interface::toMsg (const autoware_auto_control_msgs::AckermannControlCommand &proto, autoware_auto_control_msgs::msg::AckermannControlCommand &message)
 
auto simulation_interface::toProto (const autoware_auto_vehicle_msgs::msg::GearCommand &message, autoware_auto_vehicle_msgs::GearCommand &proto) -> void
 
auto simulation_interface::toMsg (const autoware_auto_vehicle_msgs::GearCommand &proto, autoware_auto_vehicle_msgs::msg::GearCommand &message) -> void
 
auto simulation_interface::toProto (const std::tuple< autoware_auto_control_msgs::msg::AckermannControlCommand, autoware_auto_vehicle_msgs::msg::GearCommand > &, traffic_simulator_msgs::VehicleCommand &) -> void
 
auto simulation_interface::toProtobufMessage (const traffic_simulator_msgs::msg::Vertex &) -> traffic_simulator_msgs::Vertex
 
auto simulation_interface::toROS2Message (const traffic_simulator_msgs::Vertex &) -> traffic_simulator_msgs::msg::Vertex
 
auto simulation_interface::toProtobufMessage (const traffic_simulator_msgs::msg::Polyline &) -> traffic_simulator_msgs::Polyline
 
auto simulation_interface::toROS2Message (const traffic_simulator_msgs::Polyline &) -> traffic_simulator_msgs::msg::Polyline
 
auto simulation_interface::toProtobufMessage (const traffic_simulator_msgs::msg::PolylineTrajectory &) -> traffic_simulator_msgs::PolylineTrajectory
 
auto simulation_interface::toROS2Message (const traffic_simulator_msgs::PolylineTrajectory &) -> traffic_simulator_msgs::msg::PolylineTrajectory
 

Macro Definition Documentation

◆ CASE

#define CASE (   NAME)
Value:
case autoware_auto_vehicle_msgs::msg::GearCommand::NAME: \
proto.set_command(autoware_auto_vehicle_msgs::GearCommand_Constants::NAME); \
break