25 class GlobalRoutePlanner;
44 float target_speed_kmh = 20.0f,
C++ port of agents.navigation.basic_agent.BasicAgent.
C++ port of agents.navigation.constant_velocity_agent.ConstantVelocityAgent.
void SetCollisionSensor()
void RestartConstantVelocity()
Re-enable constant velocity at the current _target_speed_ms.
void StopConstantVelocity()
Disables constant velocity mode and stamps the stop time.
static ConstantOptions DefaultConstantOptions()
Out-of-line default factory; see LocalPlanner::DefaultOptions().
void DestroySensor()
Tear down the collision sensor (called from the destructor too).
void SetTargetSpeed(float speed_kmh)
Hides BasicAgent::SetTargetSpeed; converts km/h to m/s for the internal _target_speed_ms and forwards...
bool _is_constant_velocity_active
double _constant_velocity_stop_time
rpc::VehicleControl RunStep() override
SharedPtr< client::Sensor > _collision_sensor
void SetConstantVelocity(float speed_ms)
~ConstantVelocityAgent() override
This file contains definitions of common data structures used in traffic manager.
std::shared_ptr< T > SharedPtr