$darkmode
vtd::VtdDriverRequest Class Reference
Inheritance diagram for vtd::VtdDriverRequest:
Collaboration diagram for vtd::VtdDriverRequest:

Public Member Functions

 VtdDriverRequest (uint64_t id, std::shared_ptr< TaskControl > task_control)
 
bool has_acceleration () const override
 
boost::optional< double > acceleration () const override
 
bool has_steering_angle () const override
 
boost::optional< double > steering_angle () const override
 
- Public Member Functions inherited from cloe::DriverRequest
fable::Json active_state () const override
 
 Component (const std::string &name, const std::string &description="")
 
 Component (std::string &&name, std::string &&description="")
 
- Public Member Functions inherited from cloe::Component
 Component (const std::string &name, const std::string &description="")
 
 Component (std::string &&name, std::string &&description="")
 
uint64_t id () const
 
template<typename T >
T * as ()
 
Duration process (const Sync &sync) override
 
void reset () override
 
void abort () override
 
- Public Member Functions inherited from cloe::Model
virtual ~Model () noexcept=default
 
virtual Duration resolution () const
 
virtual bool is_connected () const
 
virtual bool is_operational () const
 
virtual void connect ()
 
virtual void disconnect ()
 
virtual void enroll (Registrar &)
 
virtual void start (const Sync &)
 
virtual void pause (const Sync &)
 
virtual void resume (const Sync &)
 
virtual void stop (const Sync &)
 
 Entity (std::string name)
 
 Entity (std::string name, std::string desc)
 
- Public Member Functions inherited from cloe::Entity
 Entity (std::string name)
 
 Entity (std::string name, std::string desc)
 
const std::string & name () const
 
void set_name (std::string name)
 
const std::string & description () const
 
void set_description (std::string desc)
 

Additional Inherited Members

- Protected Member Functions inherited from cloe::Entity
virtual Logger logger () const
 
- Protected Attributes inherited from cloe::Model
bool connected_ {false}
 
bool operational_ {false}
 
- Protected Attributes inherited from cloe::Entity
std::string name_
 
std::string desc_
 

Member Function Documentation

◆ acceleration()

boost::optional<double> vtd::VtdDriverRequest::acceleration ( ) const
inlineoverridevirtual

Return driver-requested acceleration in [m/s^2].

Implements cloe::DriverRequest.

Here is the call graph for this function:

◆ has_acceleration()

bool vtd::VtdDriverRequest::has_acceleration ( ) const
inlineoverridevirtual

Return true if acceleration request is available for this step.

Implements cloe::DriverRequest.

Here is the caller graph for this function:

◆ has_steering_angle()

bool vtd::VtdDriverRequest::has_steering_angle ( ) const
inlineoverridevirtual

Return true if steering angle request is available for this step.

Implements cloe::DriverRequest.

Here is the caller graph for this function:

◆ steering_angle()

boost::optional<double> vtd::VtdDriverRequest::steering_angle ( ) const
inlineoverridevirtual

Return driver-requested steering angle at front wheels in [rad].

Implements cloe::DriverRequest.

Here is the call graph for this function:

The documentation for this class was generated from the following file: