#include <sick_scan_services.h>
|
bool | sendSopasAndCheckAnswer (const std::string &sopasCmd, std::vector< unsigned char > &sopasReplyBin, std::string &sopasReplyString) |
|
Definition at line 53 of file sick_scan_services.h.
◆ SickScanServices()
◆ ~SickScanServices()
sick_scan::SickScanServices::~SickScanServices |
( |
| ) |
|
|
virtual |
◆ sendSopasAndCheckAnswer()
bool sick_scan::SickScanServices::sendSopasAndCheckAnswer |
( |
const std::string & |
sopasCmd, |
|
|
std::vector< unsigned char > & |
sopasReplyBin, |
|
|
std::string & |
sopasReplyString |
|
) |
| |
|
protected |
Sends a sopas command and returns the lidar reply.
- Parameters
-
[in] | sopasCmd | sopas command to send, f.e. "sEN ECRChangeArr 1" |
[out] | sopasReplyBin | response from lidar incl. start/stop byte |
[out] | sopasReplyString | sopasReplyBin converted to string |
- Returns
- true on success, false in case of errors.
Definition at line 65 of file sick_scan_services.cpp.
◆ serviceCbColaMsg()
bool sick_scan::SickScanServices::serviceCbColaMsg |
( |
sick_scan::ColaMsgSrv::Request & |
service_request, |
|
|
sick_scan::ColaMsgSrv::Response & |
service_response |
|
) |
| |
Callback for service ColaMsg (ColaMsg, send a cola message to lidar).
- Parameters
-
[in] | service_request | ros service request to lidar |
[out] | service_response | service response from lidar |
- Returns
- true on success, false in case of errors.
Definition at line 105 of file sick_scan_services.cpp.
◆ serviceCbECRChangeArr()
bool sick_scan::SickScanServices::serviceCbECRChangeArr |
( |
sick_scan::ECRChangeArrSrv::Request & |
service_request, |
|
|
sick_scan::ECRChangeArrSrv::Response & |
service_response |
|
) |
| |
Callback for service messages (ECRChangeArr, Request status change of monitoring fields on event). Sends a cola telegram "sEN ECRChangeArr {0|1}" and receives the response from the lidar device.
- Parameters
-
[in] | service_request | ros service request to lidar |
[out] | service_response | service response from lidar |
- Returns
- true on success, false in case of errors.
Definition at line 131 of file sick_scan_services.cpp.
◆ serviceCbLIDoutputstate()
bool sick_scan::SickScanServices::serviceCbLIDoutputstate |
( |
sick_scan::LIDoutputstateSrv::Request & |
service_request, |
|
|
sick_scan::LIDoutputstateSrv::Response & |
service_response |
|
) |
| |
Callback for service messages (LIDoutputstate, Request status change of monitoring fields on event). Sends a cola telegram "sEN LIDoutputstate {0|1}" and receives the response from the lidar device.
- Parameters
-
[in] | service_request | ros service request to lidar |
[out] | service_response | service response from lidar |
- Returns
- true on success, false in case of errors.
Definition at line 156 of file sick_scan_services.cpp.
◆ m_cola_binary
bool sick_scan::SickScanServices::m_cola_binary |
|
protected |
◆ m_common_tcp
◆ m_srv_server_ColaMsg
◆ m_srv_server_ECRChangeArr
◆ m_srv_server_LIDoutputstate
The documentation for this class was generated from the following files: