Apollo 10.0
自动驾驶开放平台
|
#include <neolix_edu_controller.h>
Public 成员函数 | |
virtual | ~Neolix_eduController () |
::apollo::common::ErrorCode | Init (const VehicleParameter ¶ms, CanSender<::apollo::canbus::Neolix_edu > *const can_sender, MessageManager<::apollo::canbus::Neolix_edu > *const message_manager) override |
bool | Start () override |
start the vehicle controller. | |
void | Stop () override |
stop the vehicle controller. | |
Chassis | chassis () override |
calculate and return the chassis. | |
void | AddSendMessage () override |
add the sender message. | |
FRIEND_TEST (Neolix_eduControllerTest, SetDrivingMode) | |
for test | |
FRIEND_TEST (Neolix_eduControllerTest, Status) | |
FRIEND_TEST (Neolix_eduControllerTest, UpdateDrivingMode) | |
![]() | |
virtual | ~VehicleController ()=default |
virtual common::ErrorCode | Init (const VehicleParameter ¶ms, CanSender< ::apollo::canbus::Neolix_edu > *const can_sender, MessageManager< ::apollo::canbus::Neolix_edu > *const message_manager)=0 |
initialize the vehicle controller. | |
virtual common::ErrorCode | Update (const control::ControlCommand &command) |
update the vehicle controller. | |
virtual common::ErrorCode | Update (const external_command::ChassisCommand &command) |
virtual common::ErrorCode | SetDrivingMode (const Chassis::DrivingMode &driving_mode) |
set vehicle to appointed driving mode. | |
virtual bool | CheckChassisCommunicationError () |
virtual ::apollo::canbus::Neolix_edu | GetNewRecvChassisDetail () |
virtual ::apollo::canbus::Neolix_edu | GetNewSenderChassisDetail () |
virtual Chassis::DrivingMode | driving_mode () |
额外继承的成员函数 | |
![]() | |
virtual void | set_driving_mode (const Chassis::DrivingMode &driving_mode) |
![]() | |
common::VehicleSignal | last_chassis_command_ |
common::VehicleSignal | last_control_command_ |
canbus::VehicleParameter | params_ |
common::VehicleParam | vehicle_params_ |
CanSender< ::apollo::canbus::Neolix_edu > * | can_sender_ |
CanReceiver< ::apollo::canbus::Neolix_edu > * | can_receiver_ |
MessageManager< ::apollo::canbus::Neolix_edu > * | message_manager_ |
bool | is_initialized_ |
Chassis::DrivingMode | driving_mode_ |
bool | is_reset_ |
std::mutex | mode_mutex_ |
uint32_t | lost_chassis_reveive_detail_count_ |
bool | is_need_count_ |
size_t | sender_data_size_previous_ |
int64_t | start_time_ |
bool | is_chassis_communication_error_ |
在文件 neolix_edu_controller.h 第 39 行定义.
|
virtual |
在文件 neolix_edu_controller.cc 第 128 行定义.
|
overridevirtual |
add the sender message.
重载 apollo::canbus::VehicleController<::apollo::canbus::Neolix_edu > .
在文件 neolix_edu_controller.cc 第 44 行定义.
|
overridevirtual |
calculate and return the chassis.
实现了 apollo::canbus::VehicleController<::apollo::canbus::Neolix_edu >.
在文件 neolix_edu_controller.cc 第 154 行定义.
apollo::canbus::neolix_edu::Neolix_eduController::FRIEND_TEST | ( | Neolix_eduControllerTest | , |
SetDrivingMode | |||
) |
for test
apollo::canbus::neolix_edu::Neolix_eduController::FRIEND_TEST | ( | Neolix_eduControllerTest | , |
Status | |||
) |
apollo::canbus::neolix_edu::Neolix_eduController::FRIEND_TEST | ( | Neolix_eduControllerTest | , |
UpdateDrivingMode | |||
) |
|
override |
在文件 neolix_edu_controller.cc 第 53 行定义.
|
overridevirtual |
start the vehicle controller.
实现了 apollo::canbus::VehicleController<::apollo::canbus::Neolix_edu >.
在文件 neolix_edu_controller.cc 第 130 行定义.
|
overridevirtual |
stop the vehicle controller.
实现了 apollo::canbus::VehicleController<::apollo::canbus::Neolix_edu >.
在文件 neolix_edu_controller.cc 第 141 行定义.