scenario_simulator_v2 C++ API
|
Enumerations | |
enum class | TransportProtocol { TCP } |
enum class | HostName { LOCALHOST , ANY } |
Functions | |
std::string | enumToString (const TransportProtocol &protocol) |
std::string | enumToString (const HostName &hostname) |
std::string | getEndPoint (const TransportProtocol &protocol, const HostName &hostname, const unsigned int &port) |
std::string | getEndPoint (const TransportProtocol &protocol, const std::string &hostname, const unsigned int &port) |
void | toProto (const geometry_msgs::msg::Point &p, geometry_msgs::Point &proto) |
void | toMsg (const geometry_msgs::Point &proto, geometry_msgs::msg::Point &p) |
void | toProto (const geometry_msgs::msg::Quaternion &q, geometry_msgs::Quaternion &proto) |
void | toMsg (const geometry_msgs::Quaternion &proto, geometry_msgs::msg::Quaternion &q) |
void | toProto (const geometry_msgs::msg::Pose &p, geometry_msgs::Pose &proto) |
void | toMsg (const geometry_msgs::Pose &proto, geometry_msgs::msg::Pose &p) |
void | toProto (const geometry_msgs::msg::Vector3 &v, geometry_msgs::Vector3 &proto) |
void | toMsg (const geometry_msgs::Vector3 &proto, geometry_msgs::msg::Vector3 &v) |
void | toProto (const geometry_msgs::msg::Twist &t, geometry_msgs::Twist &proto) |
void | toMsg (const geometry_msgs::Twist &proto, geometry_msgs::msg::Twist &t) |
void | toProto (const geometry_msgs::msg::Accel &a, geometry_msgs::Accel &proto) |
void | toMsg (const geometry_msgs::Accel &proto, geometry_msgs::msg::Accel &a) |
void | toProto (const traffic_simulator_msgs::msg::BoundingBox &box, traffic_simulator_msgs::BoundingBox &proto) |
void | toMsg (const traffic_simulator_msgs::BoundingBox &proto, traffic_simulator_msgs::msg::BoundingBox &box) |
void | toProto (const traffic_simulator_msgs::msg::Performance &performance, traffic_simulator_msgs::Performance &proto) |
void | toMsg (const traffic_simulator_msgs::Performance &proto, traffic_simulator_msgs::msg::Performance &performance) |
void | toProto (const traffic_simulator_msgs::msg::Axle &axle, traffic_simulator_msgs::Axle &proto) |
void | toMsg (const traffic_simulator_msgs::Axle &proto, traffic_simulator_msgs::msg::Axle &axle) |
void | toProto (const traffic_simulator_msgs::msg::Axles &axles, traffic_simulator_msgs::Axles &proto) |
void | toMsg (const traffic_simulator_msgs::Axles &proto, traffic_simulator_msgs::msg::Axles &axles) |
void | toProto (const traffic_simulator_msgs::msg::VehicleParameters &p, traffic_simulator_msgs::VehicleParameters &proto) |
void | toMsg (const traffic_simulator_msgs::VehicleParameters &proto, traffic_simulator_msgs::msg::VehicleParameters &p) |
void | toProto (const traffic_simulator_msgs::msg::PedestrianParameters &p, traffic_simulator_msgs::PedestrianParameters &proto) |
void | toMsg (const traffic_simulator_msgs::PedestrianParameters &proto, traffic_simulator_msgs::msg::PedestrianParameters &p) |
void | toProto (const traffic_simulator_msgs::msg::MiscObjectParameters &p, traffic_simulator_msgs::MiscObjectParameters &proto) |
void | toMsg (const traffic_simulator_msgs::MiscObjectParameters &proto, traffic_simulator_msgs::msg::MiscObjectParameters &p) |
void | toProto (const traffic_simulator_msgs::msg::ActionStatus &s, traffic_simulator_msgs::ActionStatus &proto) |
void | toMsg (const traffic_simulator_msgs::ActionStatus &proto, traffic_simulator_msgs::msg::ActionStatus &s) |
void | toProto (const traffic_simulator_msgs::msg::LaneletPose &pose, traffic_simulator_msgs::LaneletPose &proto) |
void | toMsg (const traffic_simulator_msgs::LaneletPose &proto, traffic_simulator_msgs::msg::LaneletPose &pose) |
void | toProto (const traffic_simulator_msgs::msg::EntityType &type, traffic_simulator_msgs::EntityType &proto) |
void | toMsg (const traffic_simulator_msgs::EntityType &proto, traffic_simulator_msgs::msg::EntityType &type) |
void | toProto (const traffic_simulator_msgs::msg::EntitySubtype &subtype, traffic_simulator_msgs::EntitySubtype &proto) |
void | toMsg (const traffic_simulator_msgs::EntitySubtype &proto, traffic_simulator_msgs::msg::EntitySubtype &subtype) |
void | toProto (const traffic_simulator_msgs::msg::EntityStatus &status, simulation_api_schema::EntityStatus &proto) |
void | toProto (const traffic_simulator_msgs::msg::EntityStatus &status, traffic_simulator_msgs::EntityStatus &proto) |
void | toMsg (const traffic_simulator_msgs::EntityStatus &proto, traffic_simulator_msgs::msg::EntityStatus &status) |
void | toMsg (const simulation_api_schema::EntityStatus &proto, traffic_simulator_msgs::msg::EntityStatus &status) |
void | toProto (const builtin_interfaces::msg::Duration &duration, builtin_interfaces::Duration &proto) |
void | toMsg (const builtin_interfaces::Duration &proto, builtin_interfaces::msg::Duration &duration) |
void | toProto (const builtin_interfaces::msg::Time &time, builtin_interfaces::Time &proto) |
void | toMsg (const builtin_interfaces::Time &proto, builtin_interfaces::msg::Time &time) |
void | toProto (const rosgraph_msgs::msg::Clock &time, rosgraph_msgs::Clock &proto) |
void | toMsg (const rosgraph_msgs::Clock &proto, rosgraph_msgs::msg::Clock &time) |
void | toProto (const std_msgs::msg::Header &header, std_msgs::Header &proto) |
void | toMsg (const std_msgs::Header &proto, std_msgs::msg::Header &header) |
DEFINE_CONVERSION (autoware_control_msgs, Lateral) | |
DEFINE_CONVERSION (autoware_control_msgs, Longitudinal) | |
DEFINE_CONVERSION (autoware_control_msgs, Control) | |
DEFINE_CONVERSION (autoware_vehicle_msgs, GearCommand) | |
auto | toProto (const std::tuple< autoware_control_msgs::msg::Control, autoware_vehicle_msgs::msg::GearCommand > &, traffic_simulator_msgs::VehicleCommand &) -> void |
template<typename TrafficLightBulbMessageType > | |
auto | toMsg (const simulation_api_schema::TrafficLight &proto, TrafficLightBulbMessageType &traffic_light_bulb_state) -> void |
auto | toProtobufMessage (const traffic_simulator_msgs::msg::Vertex &) -> traffic_simulator_msgs::Vertex |
auto | toROS2Message (const traffic_simulator_msgs::Vertex &) -> traffic_simulator_msgs::msg::Vertex |
auto | toProtobufMessage (const traffic_simulator_msgs::msg::Polyline &) -> traffic_simulator_msgs::Polyline |
auto | toROS2Message (const traffic_simulator_msgs::Polyline &) -> traffic_simulator_msgs::msg::Polyline |
auto | toProtobufMessage (const traffic_simulator_msgs::msg::PolylineTrajectory &) -> traffic_simulator_msgs::PolylineTrajectory |
auto | toROS2Message (const traffic_simulator_msgs::PolylineTrajectory &) -> traffic_simulator_msgs::msg::PolylineTrajectory |
void | toProto (const autoware_control_msgs::msg::Lateral &message, autoware_control_msgs::Lateral &proto) |
void | toMsg (const autoware_control_msgs::Lateral &proto, autoware_control_msgs::msg::Lateral &message) |
void | toProto (const autoware_control_msgs::msg::Longitudinal &message, autoware_control_msgs::Longitudinal &proto) |
void | toMsg (const autoware_control_msgs::Longitudinal &proto, autoware_control_msgs::msg::Longitudinal &message) |
void | toProto (const autoware_control_msgs::msg::Control &message, autoware_control_msgs::Control &proto) |
void | toMsg (const autoware_control_msgs::Control &proto, autoware_control_msgs::msg::Control &message) |
auto | toProto (const autoware_vehicle_msgs::msg::GearCommand &message, autoware_vehicle_msgs::GearCommand &proto) -> void |
auto | toMsg (const autoware_vehicle_msgs::GearCommand &proto, autoware_vehicle_msgs::msg::GearCommand &message) -> void |
Variables | |
const TransportProtocol | protocol = TransportProtocol::TCP |
|
strong |
|
strong |
simulation_interface::DEFINE_CONVERSION | ( | autoware_control_msgs | , |
Control | |||
) |
simulation_interface::DEFINE_CONVERSION | ( | autoware_control_msgs | , |
Lateral | |||
) |
simulation_interface::DEFINE_CONVERSION | ( | autoware_control_msgs | , |
Longitudinal | |||
) |
simulation_interface::DEFINE_CONVERSION | ( | autoware_vehicle_msgs | , |
GearCommand | |||
) |
std::string simulation_interface::enumToString | ( | const HostName & | hostname | ) |
std::string simulation_interface::enumToString | ( | const TransportProtocol & | protocol | ) |
std::string simulation_interface::getEndPoint | ( | const TransportProtocol & | protocol, |
const HostName & | hostname, | ||
const unsigned int & | port | ||
) |
std::string simulation_interface::getEndPoint | ( | const TransportProtocol & | protocol, |
const std::string & | hostname, | ||
const unsigned int & | port | ||
) |
void simulation_interface::toMsg | ( | const autoware_control_msgs::Control & | proto, |
autoware_control_msgs::msg::Control & | message | ||
) |
void simulation_interface::toMsg | ( | const autoware_control_msgs::Lateral & | proto, |
autoware_control_msgs::msg::Lateral & | message | ||
) |
void simulation_interface::toMsg | ( | const autoware_control_msgs::Longitudinal & | proto, |
autoware_control_msgs::msg::Longitudinal & | message | ||
) |
auto simulation_interface::toMsg | ( | const autoware_vehicle_msgs::GearCommand & | proto, |
autoware_vehicle_msgs::msg::GearCommand & | message | ||
) | -> void |
void simulation_interface::toMsg | ( | const builtin_interfaces::Duration & | proto, |
builtin_interfaces::msg::Duration & | duration | ||
) |
void simulation_interface::toMsg | ( | const builtin_interfaces::Time & | proto, |
builtin_interfaces::msg::Time & | time | ||
) |
void simulation_interface::toMsg | ( | const geometry_msgs::Accel & | proto, |
geometry_msgs::msg::Accel & | a | ||
) |
void simulation_interface::toMsg | ( | const geometry_msgs::Point & | proto, |
geometry_msgs::msg::Point & | p | ||
) |
void simulation_interface::toMsg | ( | const geometry_msgs::Pose & | proto, |
geometry_msgs::msg::Pose & | p | ||
) |
void simulation_interface::toMsg | ( | const geometry_msgs::Quaternion & | proto, |
geometry_msgs::msg::Quaternion & | q | ||
) |
void simulation_interface::toMsg | ( | const geometry_msgs::Twist & | proto, |
geometry_msgs::msg::Twist & | t | ||
) |
void simulation_interface::toMsg | ( | const geometry_msgs::Vector3 & | proto, |
geometry_msgs::msg::Vector3 & | v | ||
) |
void simulation_interface::toMsg | ( | const rosgraph_msgs::Clock & | proto, |
rosgraph_msgs::msg::Clock & | time | ||
) |
void simulation_interface::toMsg | ( | const simulation_api_schema::EntityStatus & | proto, |
traffic_simulator_msgs::msg::EntityStatus & | status | ||
) |
auto simulation_interface::toMsg | ( | const simulation_api_schema::TrafficLight & | proto, |
TrafficLightBulbMessageType & | traffic_light_bulb_state | ||
) | -> void |
void simulation_interface::toMsg | ( | const std_msgs::Header & | proto, |
std_msgs::msg::Header & | header | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::ActionStatus & | proto, |
traffic_simulator_msgs::msg::ActionStatus & | s | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::Axle & | proto, |
traffic_simulator_msgs::msg::Axle & | axle | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::Axles & | proto, |
traffic_simulator_msgs::msg::Axles & | axles | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::BoundingBox & | proto, |
traffic_simulator_msgs::msg::BoundingBox & | box | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::EntityStatus & | proto, |
traffic_simulator_msgs::msg::EntityStatus & | status | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::EntitySubtype & | proto, |
traffic_simulator_msgs::msg::EntitySubtype & | subtype | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::EntityType & | proto, |
traffic_simulator_msgs::msg::EntityType & | type | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::LaneletPose & | proto, |
traffic_simulator_msgs::msg::LaneletPose & | pose | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::MiscObjectParameters & | proto, |
traffic_simulator_msgs::msg::MiscObjectParameters & | p | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::PedestrianParameters & | proto, |
traffic_simulator_msgs::msg::PedestrianParameters & | p | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::Performance & | proto, |
traffic_simulator_msgs::msg::Performance & | performance | ||
) |
void simulation_interface::toMsg | ( | const traffic_simulator_msgs::VehicleParameters & | proto, |
traffic_simulator_msgs::msg::VehicleParameters & | p | ||
) |
void simulation_interface::toProto | ( | const autoware_control_msgs::msg::Control & | message, |
autoware_control_msgs::Control & | proto | ||
) |
void simulation_interface::toProto | ( | const autoware_control_msgs::msg::Lateral & | message, |
autoware_control_msgs::Lateral & | proto | ||
) |
void simulation_interface::toProto | ( | const autoware_control_msgs::msg::Longitudinal & | message, |
autoware_control_msgs::Longitudinal & | proto | ||
) |
auto simulation_interface::toProto | ( | const autoware_vehicle_msgs::msg::GearCommand & | message, |
autoware_vehicle_msgs::GearCommand & | proto | ||
) | -> void |
void simulation_interface::toProto | ( | const builtin_interfaces::msg::Duration & | duration, |
builtin_interfaces::Duration & | proto | ||
) |
void simulation_interface::toProto | ( | const builtin_interfaces::msg::Time & | time, |
builtin_interfaces::Time & | proto | ||
) |
void simulation_interface::toProto | ( | const geometry_msgs::msg::Accel & | a, |
geometry_msgs::Accel & | proto | ||
) |
void simulation_interface::toProto | ( | const geometry_msgs::msg::Point & | p, |
geometry_msgs::Point & | proto | ||
) |
void simulation_interface::toProto | ( | const geometry_msgs::msg::Pose & | p, |
geometry_msgs::Pose & | proto | ||
) |
void simulation_interface::toProto | ( | const geometry_msgs::msg::Quaternion & | q, |
geometry_msgs::Quaternion & | proto | ||
) |
void simulation_interface::toProto | ( | const geometry_msgs::msg::Twist & | t, |
geometry_msgs::Twist & | proto | ||
) |
void simulation_interface::toProto | ( | const geometry_msgs::msg::Vector3 & | v, |
geometry_msgs::Vector3 & | proto | ||
) |
void simulation_interface::toProto | ( | const rosgraph_msgs::msg::Clock & | time, |
rosgraph_msgs::Clock & | proto | ||
) |
auto simulation_interface::toProto | ( | const std::tuple< autoware_control_msgs::msg::Control, autoware_vehicle_msgs::msg::GearCommand > & | message, |
traffic_simulator_msgs::VehicleCommand & | proto | ||
) | -> void |
void simulation_interface::toProto | ( | const std_msgs::msg::Header & | header, |
std_msgs::Header & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::ActionStatus & | s, |
traffic_simulator_msgs::ActionStatus & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::Axle & | axle, |
traffic_simulator_msgs::Axle & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::Axles & | axles, |
traffic_simulator_msgs::Axles & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::BoundingBox & | box, |
traffic_simulator_msgs::BoundingBox & | proto | ||
) |
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::toProto | ( | const traffic_simulator_msgs::msg::EntitySubtype & | subtype, |
traffic_simulator_msgs::EntitySubtype & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::EntityType & | type, |
traffic_simulator_msgs::EntityType & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::LaneletPose & | pose, |
traffic_simulator_msgs::LaneletPose & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::MiscObjectParameters & | p, |
traffic_simulator_msgs::MiscObjectParameters & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::PedestrianParameters & | p, |
traffic_simulator_msgs::PedestrianParameters & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::Performance & | performance, |
traffic_simulator_msgs::Performance & | proto | ||
) |
void simulation_interface::toProto | ( | const traffic_simulator_msgs::msg::VehicleParameters & | p, |
traffic_simulator_msgs::VehicleParameters & | proto | ||
) |
auto simulation_interface::toProtobufMessage | ( | const traffic_simulator_msgs::msg::Polyline & | message | ) | -> traffic_simulator_msgs::Polyline |
auto simulation_interface::toProtobufMessage | ( | const traffic_simulator_msgs::msg::PolylineTrajectory & | message | ) | -> traffic_simulator_msgs::PolylineTrajectory |
auto simulation_interface::toProtobufMessage | ( | const traffic_simulator_msgs::msg::Vertex & | message | ) | -> traffic_simulator_msgs::Vertex |
auto simulation_interface::toROS2Message | ( | const traffic_simulator_msgs::Polyline & | proto | ) | -> traffic_simulator_msgs::msg::Polyline |
auto simulation_interface::toROS2Message | ( | const traffic_simulator_msgs::PolylineTrajectory & | proto | ) | -> traffic_simulator_msgs::msg::PolylineTrajectory |
auto simulation_interface::toROS2Message | ( | const traffic_simulator_msgs::Vertex & | proto | ) | -> traffic_simulator_msgs::msg::Vertex |
const TransportProtocol simulation_interface::protocol = TransportProtocol::TCP |