Apollo  6.0
Open source self driving car software
Public Member Functions | Static Public Attributes | List of all members
apollo::canbus::ch::Throttlecommand110 Class Reference

#include <throttle_command_110.h>

Inheritance diagram for apollo::canbus::ch::Throttlecommand110:
Inheritance graph
Collaboration diagram for apollo::canbus::ch::Throttlecommand110:
Collaboration graph

Public Member Functions

 Throttlecommand110 ()
 
uint32_t GetPeriod () const override
 
void UpdateData (uint8_t *data) override
 
void Reset () override
 
Throttlecommand110set_throttle_pedal_en_ctrl (Throttle_command_110::Throttle_pedal_en_ctrlType throttle_pedal_en_ctrl)
 
Throttlecommand110set_throttle_pedal_cmd (int throttle_pedal_cmd)
 
- Public Member Functions inherited from apollo::drivers::canbus::ProtocolData< ::apollo::canbus::ChassisDetail >
 ProtocolData ()=default
 construct protocol data. More...
 
virtual ~ProtocolData ()=default
 destruct protocol data. More...
 
virtual int32_t GetLength () const
 
virtual void Parse (const uint8_t *bytes, int32_t length, ::apollo::canbus::ChassisDetail *sensor_data) const
 

Static Public Attributes

static const int32_t ID
 

Additional Inherited Members

- Static Public Member Functions inherited from apollo::drivers::canbus::ProtocolData< ::apollo::canbus::ChassisDetail >
static std::uint8_t CalculateCheckSum (const uint8_t *input, const uint32_t length)
 static function, used to calculate the checksum of input array. More...
 
static T BoundedValue (T lower, T upper, T val)
 

Constructor & Destructor Documentation

◆ Throttlecommand110()

apollo::canbus::ch::Throttlecommand110::Throttlecommand110 ( )

Member Function Documentation

◆ GetPeriod()

uint32_t apollo::canbus::ch::Throttlecommand110::GetPeriod ( ) const
overridevirtual

◆ Reset()

void apollo::canbus::ch::Throttlecommand110::Reset ( )
overridevirtual

◆ set_throttle_pedal_cmd()

Throttlecommand110* apollo::canbus::ch::Throttlecommand110::set_throttle_pedal_cmd ( int  throttle_pedal_cmd)

◆ set_throttle_pedal_en_ctrl()

Throttlecommand110* apollo::canbus::ch::Throttlecommand110::set_throttle_pedal_en_ctrl ( Throttle_command_110::Throttle_pedal_en_ctrlType  throttle_pedal_en_ctrl)

◆ UpdateData()

void apollo::canbus::ch::Throttlecommand110::UpdateData ( uint8_t *  data)
overridevirtual

Member Data Documentation

◆ ID

const int32_t apollo::canbus::ch::Throttlecommand110::ID
static

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