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

#include <steering_command_102.h>

Inheritance diagram for apollo::canbus::devkit::Steeringcommand102:
Inheritance graph
Collaboration diagram for apollo::canbus::devkit::Steeringcommand102:
Collaboration graph

Public Member Functions

 Steeringcommand102 ()
 
uint32_t GetPeriod () const override
 
void UpdateData (uint8_t *data) override
 
void Reset () override
 
Steeringcommand102set_steer_en_ctrl (Steering_command_102::Steer_en_ctrlType steer_en_ctrl)
 
Steeringcommand102set_steer_angle_target (int steer_angle_target)
 
Steeringcommand102set_steer_angle_spd (int steer_angle_spd)
 
Steeringcommand102set_checksum_102 (int checksum_102)
 
- 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

◆ Steeringcommand102()

apollo::canbus::devkit::Steeringcommand102::Steeringcommand102 ( )

Member Function Documentation

◆ GetPeriod()

uint32_t apollo::canbus::devkit::Steeringcommand102::GetPeriod ( ) const
overridevirtual

◆ Reset()

void apollo::canbus::devkit::Steeringcommand102::Reset ( )
overridevirtual

◆ set_checksum_102()

Steeringcommand102* apollo::canbus::devkit::Steeringcommand102::set_checksum_102 ( int  checksum_102)

◆ set_steer_angle_spd()

Steeringcommand102* apollo::canbus::devkit::Steeringcommand102::set_steer_angle_spd ( int  steer_angle_spd)

◆ set_steer_angle_target()

Steeringcommand102* apollo::canbus::devkit::Steeringcommand102::set_steer_angle_target ( int  steer_angle_target)

◆ set_steer_en_ctrl()

Steeringcommand102* apollo::canbus::devkit::Steeringcommand102::set_steer_en_ctrl ( Steering_command_102::Steer_en_ctrlType  steer_en_ctrl)

◆ UpdateData()

void apollo::canbus::devkit::Steeringcommand102::UpdateData ( uint8_t *  data)
overridevirtual

Member Data Documentation

◆ ID

const int32_t apollo::canbus::devkit::Steeringcommand102::ID
static

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