Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::control::LatLonControllerSubmodule Class Referencefinal

#include <lat_lon_controller_submodule.h>

Inheritance diagram for apollo::control::LatLonControllerSubmodule:
Inheritance graph
Collaboration diagram for apollo::control::LatLonControllerSubmodule:
Collaboration graph

Public Member Functions

 LatLonControllerSubmodule ()
 Construct a new PID+LQR ControllerSubmodule object. More...
 
 ~LatLonControllerSubmodule ()
 Destructor. More...
 
std::string Name () const
 Get name of the node. More...
 
bool Init () override
 Initialize the node. More...
 
bool Proc (const std::shared_ptr< Preprocessor > &preprocessor_status) override
 generate control command More...
 
- Public Member Functions inherited from apollo::cyber::Component< Preprocessor >
 Component ()
 
 ~Component () override
 
bool Initialize (const ComponentConfig &config) override
 init the component by protobuf object. More...
 
bool Process (const std::shared_ptr< Preprocessor > &msg0, const std::shared_ptr< NullType > &msg1, const std::shared_ptr< NullType > &msg2, const std::shared_ptr< NullType > &msg3)
 
- Public Member Functions inherited from apollo::cyber::ComponentBase
virtual ~ComponentBase ()
 
virtual bool Initialize (const TimerComponentConfig &config)
 
virtual void Shutdown ()
 
template<typename T >
bool GetProtoConfig (T *config) const
 

Additional Inherited Members

- Public Types inherited from apollo::cyber::ComponentBase
template<typename M >
using Reader = cyber::Reader< M >
 
- Protected Member Functions inherited from apollo::cyber::ComponentBase
virtual void Clear ()
 
const std::string & ConfigFilePath () const
 
void LoadConfigFiles (const ComponentConfig &config)
 
void LoadConfigFiles (const TimerComponentConfig &config)
 
- Protected Attributes inherited from apollo::cyber::ComponentBase
std::atomic< bool > is_shutdown_ = {false}
 
std::shared_ptr< Nodenode_ = nullptr
 
std::string config_file_path_ = ""
 
std::vector< std::shared_ptr< ReaderBase > > readers_
 

Constructor & Destructor Documentation

◆ LatLonControllerSubmodule()

apollo::control::LatLonControllerSubmodule::LatLonControllerSubmodule ( )

Construct a new PID+LQR ControllerSubmodule object.

◆ ~LatLonControllerSubmodule()

apollo::control::LatLonControllerSubmodule::~LatLonControllerSubmodule ( )

Destructor.

Member Function Documentation

◆ Init()

bool apollo::control::LatLonControllerSubmodule::Init ( )
overridevirtual

Initialize the node.

Returns
If initialized

Implements apollo::cyber::ComponentBase.

◆ Name()

std::string apollo::control::LatLonControllerSubmodule::Name ( ) const

Get name of the node.

Returns
Name of the node

◆ Proc()

bool apollo::control::LatLonControllerSubmodule::Proc ( const std::shared_ptr< Preprocessor > &  preprocessor_status)
override

generate control command

Returns
true control command is successfully generated
false fail to generate control command

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