#include <sick_tim_common.h>
|
static std::string | replyToString (const std::vector< unsigned char > &reply) |
| Converts reply from sendSOPASCommand to string. More...
|
|
Definition at line 63 of file sick_tim_common.h.
◆ SickTimCommon()
◆ ~SickTimCommon()
sick_tim::SickTimCommon::~SickTimCommon |
( |
| ) |
|
|
virtual |
◆ check_angle_range()
void sick_tim::SickTimCommon::check_angle_range |
( |
SickTimConfig & |
conf | ) |
|
◆ close_device()
virtual int sick_tim::SickTimCommon::close_device |
( |
| ) |
|
|
protectedpure virtual |
◆ get_datagram()
virtual int sick_tim::SickTimCommon::get_datagram |
( |
unsigned char * |
receiveBuffer, |
|
|
int |
bufferSize, |
|
|
int * |
actual_length |
|
) |
| |
|
protectedpure virtual |
◆ get_expected_frequency()
double sick_tim::SickTimCommon::get_expected_frequency |
( |
| ) |
const |
|
inline |
◆ init()
int sick_tim::SickTimCommon::init |
( |
| ) |
|
|
virtual |
◆ init_device()
virtual int sick_tim::SickTimCommon::init_device |
( |
| ) |
|
|
protectedpure virtual |
◆ init_scanner()
int sick_tim::SickTimCommon::init_scanner |
( |
| ) |
|
|
protectedvirtual |
◆ isCompatibleDevice()
bool sick_tim::SickTimCommon::isCompatibleDevice |
( |
const std::string |
identStr | ) |
const |
|
protected |
◆ loopOnce()
int sick_tim::SickTimCommon::loopOnce |
( |
| ) |
|
|
virtual |
◆ rebootScanner()
bool sick_tim::SickTimCommon::rebootScanner |
( |
| ) |
|
|
virtual |
Send a SOPAS command to the scanner that should cause a soft reset.
- Returns
- true if reboot command was accepted, false otherwise
Definition at line 89 of file sick_tim_common.cpp.
◆ replyToString()
std::string sick_tim::SickTimCommon::replyToString |
( |
const std::vector< unsigned char > & |
reply | ) |
|
|
staticprotected |
Converts reply from sendSOPASCommand to string.
- Parameters
-
[in] | reply | reply from sendSOPASCommand |
- Returns
- reply as string with special characters stripped out
Definition at line 257 of file sick_tim_common.cpp.
◆ sendSOPASCommand()
virtual int sick_tim::SickTimCommon::sendSOPASCommand |
( |
const char * |
request, |
|
|
std::vector< unsigned char > * |
reply |
|
) |
| |
|
protectedpure virtual |
◆ stop_scanner()
int sick_tim::SickTimCommon::stop_scanner |
( |
| ) |
|
|
protectedvirtual |
◆ update_config()
void sick_tim::SickTimCommon::update_config |
( |
sick_tim::SickTimConfig & |
new_config, |
|
|
uint32_t |
level = 0 |
|
) |
| |
◆ config_
SickTimConfig sick_tim::SickTimCommon::config_ |
|
protected |
◆ datagram_pub_
◆ diagnosticPub_
◆ diagnostics_
◆ dynamic_reconfigure_server_
dynamic_reconfigure::Server<sick_tim::SickTimConfig> sick_tim::SickTimCommon::dynamic_reconfigure_server_ |
|
private |
◆ expectedFrequency_
double sick_tim::SickTimCommon::expectedFrequency_ |
|
protected |
◆ nh_
◆ parser_
◆ pub_
◆ publish_datagram_
bool sick_tim::SickTimCommon::publish_datagram_ |
|
protected |
The documentation for this class was generated from the following files: