Public Member Functions | Private Member Functions | Private Attributes | List of all members
cht10_seiral_func::Cht10Func Class Reference
Inheritance diagram for cht10_seiral_func::Cht10Func:
Inheritance graph
[legend]

Public Member Functions

 Cht10Func ()
 
double data_to_meters (int &data, int scale)
 
bool get_scan_data ()
 
virtual void onInit ()
 
void publish_scan (ros::Publisher *pub, double nodes, ros::Time start, std::string frame_id)
 
 ~Cht10Func ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Private Member Functions

void update ()
 

Private Attributes

int baudRate_
 
char buf [40]
 
Cht10Driver Cht10driver_
 
int countSeq
 
char data_buf [4]
 
int fd
 
std::string frame_id
 
int laser_data
 
int len
 
int rcv_cnt
 
char result_buf [BUFSIZE]
 
ros::Publisher scan_pub
 
std::string serialNumber_
 
bool shutdown_requested_
 
ros::Time start_scan_time
 
int success_flag
 
char temp_buf [BUFSIZE]
 
ecl::Thread update_thread_
 

Additional Inherited Members

- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Detailed Description

Definition at line 26 of file cht10_node.cpp.

Constructor & Destructor Documentation

cht10_seiral_func::Cht10Func::Cht10Func ( )
inline

Definition at line 31 of file cht10_node.cpp.

cht10_seiral_func::Cht10Func::~Cht10Func ( )
inline

Definition at line 33 of file cht10_node.cpp.

Member Function Documentation

double cht10_seiral_func::Cht10Func::data_to_meters ( int &  data,
int  scale 
)
inline

Definition at line 66 of file cht10_node.cpp.

bool cht10_seiral_func::Cht10Func::get_scan_data ( )
inline

Definition at line 95 of file cht10_node.cpp.

virtual void cht10_seiral_func::Cht10Func::onInit ( )
inlinevirtual

Implements nodelet::Nodelet.

Definition at line 39 of file cht10_node.cpp.

void cht10_seiral_func::Cht10Func::publish_scan ( ros::Publisher pub,
double  nodes,
ros::Time  start,
std::string  frame_id 
)
inline

Definition at line 70 of file cht10_node.cpp.

void cht10_seiral_func::Cht10Func::update ( )
inlineprivate

Definition at line 129 of file cht10_node.cpp.

Member Data Documentation

int cht10_seiral_func::Cht10Func::baudRate_
private

Definition at line 169 of file cht10_node.cpp.

char cht10_seiral_func::Cht10Func::buf[40]
private

Definition at line 159 of file cht10_node.cpp.

Cht10Driver cht10_seiral_func::Cht10Func::Cht10driver_
private

Definition at line 161 of file cht10_node.cpp.

int cht10_seiral_func::Cht10Func::countSeq
private

Definition at line 170 of file cht10_node.cpp.

char cht10_seiral_func::Cht10Func::data_buf[4]
private

Definition at line 166 of file cht10_node.cpp.

int cht10_seiral_func::Cht10Func::fd
private

Definition at line 157 of file cht10_node.cpp.

std::string cht10_seiral_func::Cht10Func::frame_id
private

Definition at line 172 of file cht10_node.cpp.

int cht10_seiral_func::Cht10Func::laser_data
private

Definition at line 165 of file cht10_node.cpp.

int cht10_seiral_func::Cht10Func::len
private

Definition at line 157 of file cht10_node.cpp.

int cht10_seiral_func::Cht10Func::rcv_cnt
private

Definition at line 157 of file cht10_node.cpp.

char cht10_seiral_func::Cht10Func::result_buf[BUFSIZE]
private

Definition at line 159 of file cht10_node.cpp.

ros::Publisher cht10_seiral_func::Cht10Func::scan_pub
private

Definition at line 164 of file cht10_node.cpp.

std::string cht10_seiral_func::Cht10Func::serialNumber_
private

Definition at line 168 of file cht10_node.cpp.

bool cht10_seiral_func::Cht10Func::shutdown_requested_
private

Definition at line 163 of file cht10_node.cpp.

ros::Time cht10_seiral_func::Cht10Func::start_scan_time
private

Definition at line 174 of file cht10_node.cpp.

int cht10_seiral_func::Cht10Func::success_flag
private

Definition at line 158 of file cht10_node.cpp.

char cht10_seiral_func::Cht10Func::temp_buf[BUFSIZE]
private

Definition at line 159 of file cht10_node.cpp.

ecl::Thread cht10_seiral_func::Cht10Func::update_thread_
private

Definition at line 162 of file cht10_node.cpp.


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


cht10_node
Author(s): Carl <1271087623@qq.comd>
autogenerated on Mon Jun 10 2019 12:48:57