Namespaces | Functions
lib_utils.cpp File Reference
#include "toposens_echo_driver/lib_utils.h"
#include <ros/ros.h>
Include dependency graph for lib_utils.cpp:

Go to the source code of this file.

Namespaces

 toposens_echo_driver
 

Functions

void toposens_echo_driver::ConfigureSensorLogMessages (void(*Callback)(uint16_t Sender_u16, uint8_t *ReceivedPayload_pu8), LogLevel_t log_level)
 Sets log level with the sensor and registers callback. More...
 
void toposens_echo_driver::DeinitCanInterface ()
 
void toposens_echo_driver::DeinitUARTInterface ()
 
void toposens_echo_driver::InitCanInterface (const std::string &can_device, int data_rate=1000000)
 Inits the driver on given can_device with hard-coded data rate. More...
 
void toposens_echo_driver::InitUARTInterface (const std::string &uart_device, int data_rate=0010002)
 Inits the driver on given uart_device with hard-coded data rate. More...
 
void toposens_echo_driver::LogMsgCallback (uint16_t SenderId_u16, uint8_t *ReceivedPayload_pu8)
 Callback handling log messages from sensor. More...
 
auto toposens_echo_driver::RequestSessionData () -> Sensor_Session_t *
 Requesting single shot measurement from first sensor in known sensors array. More...
 
auto toposens_echo_driver::SetTargetSensor (uint16_t TargetSensor_u16) -> bool
 Checks if TargetSensor_u16 is known and sets current target accordingly. More...
 
void toposens_echo_driver::LogSettings ()
 Read current configuration from sensor and log to ROS console. More...
 
void toposens_echo_driver::LogKnownSensors (double log_interval=3.0)
 Get currently known sensors from driver and log to ROS console every log_interval seconds. More...
 
void toposens_echo_driver::LogVersions ()
 Read all version information (such as bootloader version, app versionetc.) from sensor and log to ROS console. More...
 
void toposens_echo_driver::LogSessionData (const Sensor_Session_t *session)
 Log given session data to ROS concole. More...
 


toposens_echo_driver
Author(s): Tobias Roth , Dennis Maier , Baris Yazici
autogenerated on Mon Feb 28 2022 23:57:42