Public Member Functions | Private Attributes | List of all members
xiaoqiang_driver::DiffDriverController Class Reference

#include <DiffDriverController.h>

Public Member Functions

 DiffDriverController ()
 
 DiffDriverController (double max_speed_, std::string cmd_topic_, StatusPublisher *xq_status_, CallbackAsyncSerial *cmd_serial_)
 
void imuCalibration (const std_msgs::Bool &calFlag)
 
void run ()
 
void sendcmd (const geometry_msgs::Twist &command)
 
void setStatusPtr (StatusPublisher &status)
 
void updateBarDetectFlag (const std_msgs::Bool &DetectFlag)
 
void updateMoveFlag (const std_msgs::Bool &moveFlag)
 

Private Attributes

CallbackAsyncSerialcmd_serial
 
std::string cmd_topic
 
double max_wheelspeed
 
boost::mutex mMutex
 
bool MoveFlag
 
StatusPublisherxq_status
 

Detailed Description

Definition at line 38 of file DiffDriverController.h.

Constructor & Destructor Documentation

xiaoqiang_driver::DiffDriverController::DiffDriverController ( )

Definition at line 34 of file DiffDriverController.cpp.

xiaoqiang_driver::DiffDriverController::DiffDriverController ( double  max_speed_,
std::string  cmd_topic_,
StatusPublisher xq_status_,
CallbackAsyncSerial cmd_serial_ 
)

Definition at line 43 of file DiffDriverController.cpp.

Member Function Documentation

void xiaoqiang_driver::DiffDriverController::imuCalibration ( const std_msgs::Bool &  calFlag)

Definition at line 67 of file DiffDriverController.cpp.

void xiaoqiang_driver::DiffDriverController::run ( )

Definition at line 53 of file DiffDriverController.cpp.

void xiaoqiang_driver::DiffDriverController::sendcmd ( const geometry_msgs::Twist &  command)

Definition at line 100 of file DiffDriverController.cpp.

void xiaoqiang_driver::DiffDriverController::setStatusPtr ( StatusPublisher status)
void xiaoqiang_driver::DiffDriverController::updateBarDetectFlag ( const std_msgs::Bool &  DetectFlag)

Definition at line 79 of file DiffDriverController.cpp.

void xiaoqiang_driver::DiffDriverController::updateMoveFlag ( const std_msgs::Bool &  moveFlag)

Definition at line 62 of file DiffDriverController.cpp.

Member Data Documentation

CallbackAsyncSerial* xiaoqiang_driver::DiffDriverController::cmd_serial
private

Definition at line 55 of file DiffDriverController.h.

std::string xiaoqiang_driver::DiffDriverController::cmd_topic
private

Definition at line 53 of file DiffDriverController.h.

double xiaoqiang_driver::DiffDriverController::max_wheelspeed
private

Definition at line 52 of file DiffDriverController.h.

boost::mutex xiaoqiang_driver::DiffDriverController::mMutex
private

Definition at line 56 of file DiffDriverController.h.

bool xiaoqiang_driver::DiffDriverController::MoveFlag
private

Definition at line 57 of file DiffDriverController.h.

StatusPublisher* xiaoqiang_driver::DiffDriverController::xq_status
private

Definition at line 54 of file DiffDriverController.h.


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


xiaoqiang_driver
Author(s): Xie fusheng
autogenerated on Mon Jun 10 2019 15:53:12