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

#include <ads_shifter_115.h>

Inheritance diagram for apollo::canbus::wey::Adsshifter115:
Inheritance graph
Collaboration diagram for apollo::canbus::wey::Adsshifter115:
Collaboration graph

Public Member Functions

 Adsshifter115 ()
 
uint32_t GetPeriod () const override
 
void UpdateData (uint8_t *data) override
 
void Reset () override
 
Adsshifter115set_ads_shiftmode (Ads_shifter_115::Ads_shiftmodeType ads_shiftmode)
 
Adsshifter115set_ads_targetgear (Ads_shifter_115::Ads_targetgearType ads_targetgear)
 
- 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

◆ Adsshifter115()

apollo::canbus::wey::Adsshifter115::Adsshifter115 ( )

Member Function Documentation

◆ GetPeriod()

uint32_t apollo::canbus::wey::Adsshifter115::GetPeriod ( ) const
overridevirtual

◆ Reset()

void apollo::canbus::wey::Adsshifter115::Reset ( )
overridevirtual

◆ set_ads_shiftmode()

Adsshifter115* apollo::canbus::wey::Adsshifter115::set_ads_shiftmode ( Ads_shifter_115::Ads_shiftmodeType  ads_shiftmode)

◆ set_ads_targetgear()

Adsshifter115* apollo::canbus::wey::Adsshifter115::set_ads_targetgear ( Ads_shifter_115::Ads_targetgearType  ads_targetgear)

◆ UpdateData()

void apollo::canbus::wey::Adsshifter115::UpdateData ( uint8_t *  data)
overridevirtual

Member Data Documentation

◆ ID

const int32_t apollo::canbus::wey::Adsshifter115::ID
static

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