scenario_simulator_v2 C++ API
Namespaces | Macros | Functions
conversions.hpp File Reference
#include <builtin_interfaces.pb.h>
#include <geometry_msgs.pb.h>
#include <rosgraph_msgs.pb.h>
#include <simulation_api_schema.pb.h>
#include <std_msgs.pb.h>
#include <traffic_simulator_msgs.pb.h>
#include <autoware_auto_control_msgs/msg/ackermann_control_command.hpp>
#include <autoware_auto_vehicle_msgs/msg/gear_command.hpp>
#include <builtin_interfaces/msg/duration.hpp>
#include <builtin_interfaces/msg/time.hpp>
#include <geometry_msgs/msg/accel.hpp>
#include <geometry_msgs/msg/point.hpp>
#include <geometry_msgs/msg/pose.hpp>
#include <geometry_msgs/msg/quaternion.hpp>
#include <geometry_msgs/msg/twist.hpp>
#include <geometry_msgs/msg/vector3.hpp>
#include <iostream>
#include <rosgraph_msgs/msg/clock.hpp>
#include <simulation_interface/constants.hpp>
#include <std_msgs/msg/header.hpp>
#include <string>
#include <traffic_simulator_msgs/msg/action_status.hpp>
#include <traffic_simulator_msgs/msg/axle.hpp>
#include <traffic_simulator_msgs/msg/axles.hpp>
#include <traffic_simulator_msgs/msg/bounding_box.hpp>
#include <traffic_simulator_msgs/msg/entity_status.hpp>
#include <traffic_simulator_msgs/msg/entity_type.hpp>
#include <traffic_simulator_msgs/msg/lanelet_pose.hpp>
#include <traffic_simulator_msgs/msg/misc_object_parameters.hpp>
#include <traffic_simulator_msgs/msg/pedestrian_parameters.hpp>
#include <traffic_simulator_msgs/msg/performance.hpp>
#include <traffic_simulator_msgs/msg/polyline_trajectory.hpp>
#include <traffic_simulator_msgs/msg/vehicle_parameters.hpp>
#include <vector>
#include <zmqpp/zmqpp.hpp>
Include dependency graph for conversions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 zeromq
 
 simulation_interface
 

Macros

#define DEFINE_CONVERSION(PACKAGE, TYPENAME)
 

Functions

template<typename Proto >
zmqpp::message zeromq::toZMQ (const Proto &proto)
 
template<typename Proto >
Proto zeromq::toProto (const zmqpp::message &msg)
 
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, simulation_api_schema::EntityStatus &proto)
 
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::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)
 
 simulation_interface::DEFINE_CONVERSION (autoware_auto_control_msgs, AckermannLateralCommand)
 
 simulation_interface::DEFINE_CONVERSION (autoware_auto_control_msgs, LongitudinalCommand)
 
 simulation_interface::DEFINE_CONVERSION (autoware_auto_control_msgs, AckermannControlCommand)
 
 simulation_interface::DEFINE_CONVERSION (autoware_auto_vehicle_msgs, GearCommand)
 
auto simulation_interface::toProto (const std::tuple< autoware_auto_control_msgs::msg::AckermannControlCommand, autoware_auto_vehicle_msgs::msg::GearCommand > &, traffic_simulator_msgs::VehicleCommand &) -> void
 
template<typename TrafficLightBulbMessageType >
auto simulation_interface::toMsg (const simulation_api_schema::TrafficLight &proto, TrafficLightBulbMessageType &traffic_light_bulb_state) -> 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

◆ DEFINE_CONVERSION

#define DEFINE_CONVERSION (   PACKAGE,
  TYPENAME 
)
Value:
auto toProto(const PACKAGE::msg::TYPENAME &, PACKAGE::TYPENAME &)->void; \
auto toMsg(const PACKAGE::TYPENAME &, PACKAGE::msg::TYPENAME &)->void
auto toProto(const std::tuple< autoware_auto_control_msgs::msg::AckermannControlCommand, autoware_auto_vehicle_msgs::msg::GearCommand > &, traffic_simulator_msgs::VehicleCommand &) -> void
Definition: conversions.cpp:596
auto toMsg(const simulation_api_schema::TrafficLight &proto, TrafficLightBulbMessageType &traffic_light_bulb_state) -> void
Definition: conversions.hpp:189