|
| virtual int | close_device () |
| |
| SopasEventMessage | findFrameInReceiveBuffer () |
| |
| bool | getEmulSensor () |
| | get emulation flag (using emulation instead of "real" scanner - currently implemented for radar More...
|
| |
| int | getReplyMode () |
| |
| virtual int | init_device () |
| |
| bool | isConnected () |
| |
| int | numberOfDatagramInInputFifo () |
| |
| void | processFrame (rosTime timeStamp, SopasEventMessage &frame) |
| |
| void | readCallbackFunction (UINT8 *buffer, UINT32 &numOfBytes) |
| |
| int | reinit (rosNodePtr nh, int delay_millisec) |
| |
| void | setEmulSensor (bool _emulFlag) |
| | Set emulation flag (using emulation instead of "real" scanner - currently implemented for radar. More...
|
| |
| void | setReplyMode (int _mode) |
| |
| | SickScanCommonTcp (const std::string &hostname, const std::string &port, int &timelimit, rosNodePtr nh, SickGenericParser *parser, char cola_dialect_id) |
| |
| bool | stopScanData (bool force_immediate_shutdown=false) |
| |
| virtual | ~SickScanCommonTcp () |
| |
| int | ActivateStandBy (void) |
| |
| bool | changeIPandreboot (const std::string &IpAdress) |
| | Send a SOPAS command to the scanner that logs in the authorized client, changes the ip address and the reboots the scanner. More...
|
| |
| void | check_angle_range (SickScanConfig &conf) |
| | check angle setting in the config and adjust the min_ang to the max_ang if min_ang greater than max_ax More...
|
| |
| ExitCode | checkColaTypeAndSwitchToConfigured (bool useBinaryCmd) |
| |
| std::string | cmdSetAccessMode3 (void) |
| | Returns "sMN SetAccessMode 3 F4724744" resp. "\x02sMN SetAccessMode 3 6FD62C05\x03\0" for safety scanner. More...
|
| |
| int | convertAscii2BinaryCmd (const char *requestAscii, std::vector< unsigned char > *requestBinary) |
| | Convert ASCII-message to Binary-message. More...
|
| |
| virtual int | convertSendSOPASCommand (const std::string &sopas_ascii_request, std::vector< unsigned char > *reply, bool wait_for_reply=true) |
| | Converts a given SOPAS command from ascii to binary (in case of binary communication), sends sopas (ascii or binary) and returns the response (if wait_for_reply:=true) More...
|
| |
| std::vector< std::string > | generateExpectedAnswerString (const std::vector< unsigned char > &requestStr) |
| | Generate expected answer strings from the command string. More...
|
| |
| std::vector< std::string > | generateUnexpectedAnswerString (const std::string &requestStr) |
| |
| int | get2ndSopasResponse (std::vector< uint8_t > &sopas_response, const std::string &sopas_keyword) |
| |
| double | get_expected_frequency () const |
| |
| SickScanConfig * | getConfigPtr () |
| |
| ScannerBasicParam * | getCurrentParamPtr () |
| |
| uint64_t | getNanosecTimestampLastTcpMessageReceived (void) |
| |
| int | getProtocolType (void) |
| | get protocol type as enum More...
|
| |
| int | getReadTimeOutInMs () |
| | get timeout in milliseconds More...
|
| |
| bool | handleNAV350BinaryPositionData (const uint8_t *receiveBuffer, int receiveBufferLength, short &elevAngleX200, double &elevationAngleInRad, rosTime &recvTimeStamp, bool config_sw_pll_only_publish, double config_time_offset, SickGenericParser *parser_, int &numEchos, ros_sensor_msgs::LaserScan &msg, NAV350mNPOSData &navdata) |
| |
| virtual int | init (rosNodePtr nh) |
| | init routine of scanner More...
|
| |
| int | init_cmdTables (rosNodePtr nh) |
| | init command tables and define startup sequence More...
|
| |
| int | loopOnce (rosNodePtr nh) |
| | parsing datagram and publishing ros messages More...
|
| |
| void | messageCbNavOdomVelocity (const sick_scan_msg::NAVOdomVelocity &msg) |
| |
| int | readActiveFieldSet (int &active_field_set, std::vector< unsigned char > &sopasReply, bool useBinaryCmd=true) |
| |
| int | readFieldSetSelectionMethod (int &field_set_selection_method, std::vector< unsigned char > &sopasReply, bool useBinaryCmd=true) |
| |
| virtual bool | rebootScanner () |
| | Send a SOPAS command to the scanner that should cause a soft reset. More...
|
| |
| int | sendNAV350mNPOSGetData (void) |
| |
| int | sendSopasAndCheckAnswer (std::string request, std::vector< unsigned char > *reply, int cmdId) |
| | send command and check answer More...
|
| |
| int | sendSopasAndCheckAnswer (std::vector< unsigned char > request, std::vector< unsigned char > *reply, int cmdId) |
| | send command and check answer More...
|
| |
| int | sendSopasAorBgetAnswer (const std::string &request, std::vector< unsigned char > *reply, bool useBinaryCmd) |
| |
| bool | sendSopasRunSetAccessMode (bool useBinaryCmd) |
| |
| int | setAligmentMode (int _AligmentMode) |
| |
| int | setApplicationMode (bool _active, int _mode) |
| |
| void | setLengthAndCRCinBinarySopasRequest (std::vector< uint8_t > *requestBinary) |
| |
| int | setMeanFilter (bool _active, int _numberOfScans) |
| |
| int | setParticleFilter (bool _active, int _particleThreshold) |
| |
| void | setProtocolType (SopasProtocol cola_dialect_id) |
| | set protocol type as enum More...
|
| |
| void | setReadTimeOutInMs (int timeOutInMs) |
| | set timeout in milliseconds More...
|
| |
| | SickScanCommon (rosNodePtr nh, SickGenericParser *parser) |
| | Construction of SickScanCommon. More...
|
| |
| std::string | sopasReplyToString (const std::vector< unsigned char > &reply) |
| | Converts reply from sendSOPASCommand to string. More...
|
| |
| bool | testsetActivateStandBy () |
| |
| bool | testsetAligmentMode () |
| |
| bool | testsetApplicationMode () |
| |
| bool | testsetMeanFilter () |
| |
| bool | testsetParticleFilter () |
| |
| bool | testSettingIpAddress () |
| |
| void | update_config (sick_scan_xd::SickScanConfig &new_config, uint32_t level=0) |
| | updating configuration More...
|
| |
| int | writeActiveFieldSet (int active_field_set, std::vector< unsigned char > &sopasReply, bool useBinaryCmd=true) |
| |
| int | writeFieldSetSelectionMethod (int field_set_selection_method, std::vector< unsigned char > &sopasReply, bool useBinaryCmd=true) |
| |
| virtual | ~SickScanCommon () |
| | Destructor of SickScanCommon. More...
|
| |
|
| void | disconnectFunction () |
| |
| virtual int | get_datagram (rosNodePtr nh, rosTime &recvTimeStamp, unsigned char *receiveBuffer, int bufferSize, int *actual_length, bool isBinaryProtocol, int *numberOfRemainingFifoEntries, const std::vector< std::string > &datagram_keywords) |
| | Read a datagram from the device. More...
|
| |
| void | readCallbackFunctionOld (UINT8 *buffer, UINT32 &numOfBytes) |
| |
| virtual int | readWithTimeout (size_t timeout_ms, char *buffer, int buffer_size, int *bytes_read, const std::vector< std::string > &datagram_keywords) |
| |
| virtual int | sendSOPASCommand (const char *request, std::vector< unsigned char > *reply, int cmdLen, bool wait_for_reply=true) |
| | Send a SOPAS command to the device and print out the response to the console. More...
|
| |
| int | checkForBinaryAnswer (const std::vector< unsigned char > *reply) |
| | Check block for correct framing and starting sequence of a binary message. More...
|
| |
| unsigned long | convertBigEndianCharArrayToUnsignedLong (const unsigned char *vecArr) |
| | Convert little endian to big endian (should be replaced by swap-routine) More...
|
| |
| virtual int | init_scanner (rosNodePtr nh) |
| | initialize scanner More...
|
| |
| bool | isCompatibleDevice (const std::string identStr) const |
| | check the identification string More...
|
| |
| int | readLIDinputstate (SickScanFieldMonSingleton *fieldMon, bool useBinaryCmd) |
| |
| std::string | replyToString (const std::vector< unsigned char > &reply) |
| | Converts reply from sendSOPASCommand to string. More...
|
| |
| virtual int | stop_scanner (bool force_immediate_shutdown=false) |
| | Stops sending scan data. More...
|
| |
| bool | switchColaProtocol (bool useBinaryCmd) |
| |
Definition at line 91 of file sick_scan_common_tcp.h.