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

#include <ads_light_horn_command_310.h>

Inheritance diagram for apollo::canbus::neolix_edu::Adslighthorncommand310:
Inheritance graph
Collaboration diagram for apollo::canbus::neolix_edu::Adslighthorncommand310:
Collaboration graph

Public Member Functions

 Adslighthorncommand310 ()
 
uint32_t GetPeriod () const override
 
void UpdateData (uint8_t *data) override
 
void Reset () override
 
Adslighthorncommand310set_turn_right_light_command (bool turn_right_light_command)
 
Adslighthorncommand310set_turn_left_light_command (bool turn_left_light_command)
 
Adslighthorncommand310set_horn_command (bool horn_command)
 
Adslighthorncommand310set_beam_command (int beam_command)
 
Adslighthorncommand310set_auto_drivercmd_alivecounter (int auto_drivercmd_alivecounter)
 
Adslighthorncommand310set_auto_drivercmd_checksum (int auto_drivercmd_checksum)
 
- 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

◆ Adslighthorncommand310()

apollo::canbus::neolix_edu::Adslighthorncommand310::Adslighthorncommand310 ( )

Member Function Documentation

◆ GetPeriod()

uint32_t apollo::canbus::neolix_edu::Adslighthorncommand310::GetPeriod ( ) const
overridevirtual

◆ Reset()

void apollo::canbus::neolix_edu::Adslighthorncommand310::Reset ( )
overridevirtual

◆ set_auto_drivercmd_alivecounter()

Adslighthorncommand310* apollo::canbus::neolix_edu::Adslighthorncommand310::set_auto_drivercmd_alivecounter ( int  auto_drivercmd_alivecounter)

◆ set_auto_drivercmd_checksum()

Adslighthorncommand310* apollo::canbus::neolix_edu::Adslighthorncommand310::set_auto_drivercmd_checksum ( int  auto_drivercmd_checksum)

◆ set_beam_command()

Adslighthorncommand310* apollo::canbus::neolix_edu::Adslighthorncommand310::set_beam_command ( int  beam_command)

◆ set_horn_command()

Adslighthorncommand310* apollo::canbus::neolix_edu::Adslighthorncommand310::set_horn_command ( bool  horn_command)

◆ set_turn_left_light_command()

Adslighthorncommand310* apollo::canbus::neolix_edu::Adslighthorncommand310::set_turn_left_light_command ( bool  turn_left_light_command)

◆ set_turn_right_light_command()

Adslighthorncommand310* apollo::canbus::neolix_edu::Adslighthorncommand310::set_turn_right_light_command ( bool  turn_right_light_command)

◆ UpdateData()

void apollo::canbus::neolix_edu::Adslighthorncommand310::UpdateData ( uint8_t *  data)
overridevirtual

Member Data Documentation

◆ ID

const int32_t apollo::canbus::neolix_edu::Adslighthorncommand310::ID
static

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