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

#include <pc_bcs_202.h>

Inheritance diagram for apollo::canbus::ge3::Pcbcs202:
Inheritance graph
Collaboration diagram for apollo::canbus::ge3::Pcbcs202:
Collaboration graph

Public Member Functions

 Pcbcs202 ()
 
uint32_t GetPeriod () const override
 
void UpdateData (uint8_t *data) override
 
void Reset () override
 
Pcbcs202set_pc_brkpedreq (double pc_brkpedreq)
 
Pcbcs202set_pc_brkpedenable (Pc_bcs_202::Pc_brkpedenableType pc_brkpedenable)
 
- 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

◆ Pcbcs202()

apollo::canbus::ge3::Pcbcs202::Pcbcs202 ( )

Member Function Documentation

◆ GetPeriod()

uint32_t apollo::canbus::ge3::Pcbcs202::GetPeriod ( ) const
overridevirtual

◆ Reset()

void apollo::canbus::ge3::Pcbcs202::Reset ( )
overridevirtual

◆ set_pc_brkpedenable()

Pcbcs202* apollo::canbus::ge3::Pcbcs202::set_pc_brkpedenable ( Pc_bcs_202::Pc_brkpedenableType  pc_brkpedenable)

◆ set_pc_brkpedreq()

Pcbcs202* apollo::canbus::ge3::Pcbcs202::set_pc_brkpedreq ( double  pc_brkpedreq)

◆ UpdateData()

void apollo::canbus::ge3::Pcbcs202::UpdateData ( uint8_t *  data)
overridevirtual

Member Data Documentation

◆ ID

const int32_t apollo::canbus::ge3::Pcbcs202::ID
static

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