scenario_simulator_v2 C++ API
Todo List
Member common::junit::SimpleTestCase::operator<< (pugi::xml_node node, const SimpleTestCase &testcase) -> pugi::xml_node

implement skipped element in junit.

implement system-out element in junit.

implement system-err element in junit.

Namespace concealer
: pzyskowski : use conditional variables to wait for new messages instead of sleep_for
Member entity_behavior::pedestrian::FollowPolylineTrajectoryAction::calculateObstacle (const traffic_simulator_msgs::msg::WaypointsArray &) -> const std::optional< traffic_simulator_msgs::msg::Obstacle >
If you implement obstacle avoidance for this action, implement this virtual function to return the location of any obstacles blocking the path of this action's actor. However, this virtual function is currently used only for the visualization of obstacle information, so the obstacle avoidance algorithm does not necessarily need to use this virtual function.
Member entity_behavior::vehicle::FollowPolylineTrajectoryAction::calculateObstacle (const traffic_simulator_msgs::msg::WaypointsArray &) -> const std::optional< traffic_simulator_msgs::msg::Obstacle > override
If you implement obstacle avoidance for this action, implement this virtual function to return the location of any obstacles blocking the path of this action's actor. However, this virtual function is currently used only for the visualization of obstacle information, so the obstacle avoidance algorithm does not necessarily need to use this virtual function.
Member traffic_simulator::API::getTimeHeadway (const std::string &from, const std::string &to)
it probably should be moved to SimulatorCore
Member traffic_simulator::API::spawn (const std::string &name, const Pose &pose, const traffic_simulator_msgs::msg::VehicleParameters &parameters, const std::string &behavior=VehicleBehavior::defaultBehavior(), const std::string &model3d="")
Should be filled from function API
Member traffic_simulator::entity::VehicleEntity::requestFollowTrajectory (const std::shared_ptr< traffic_simulator_msgs::msg::PolylineTrajectory > &) -> void override
such a protection most likely makes sense, but test scenario RoutingAction.FollowTrajectoryAction-star has waypoints outside lanelet2
Member traffic_simulator::follow_trajectory::FollowWaypointController::getAcceleration (const double remaining_time_source, const double remaining_distance, const double acceleration, const double speed) const -> double
Member traffic_simulator::pose::toCanonicalizedLaneletPose (const geometry_msgs::msg::Pose &map_pose, const bool include_crosswalk, const std::shared_ptr< hdmap_utils::HdMapUtils > &hdmap_utils_ptr) -> std::optional< CanonicalizedLaneletPose >
here matching_distance should be passed
Member traffic_simulator::speed_change::Constraint::LONGITUDINAL_ACCELERATION
Add DISTANCE constraint type.
Member traffic_simulator::speed_change::LINEAR
Add CUBIC transition.
Member traffic_simulator::speed_change::STEP
Add SINUSOIDAL transition.