Go to the documentation of this file.
32 #ifndef SBG_ROS_SBG_DEVICE_H
33 #define SBG_ROS_SBG_DEVICE_H
41 #include <std_srvs/SetBool.h>
42 #include <std_srvs/Trigger.h>
43 #include <rtcm_msgs/Message.h>
166 bool processMagCalibration(std_srvs::Trigger::Request& ref_ros_request, std_srvs::Trigger::Response& ref_ros_response);
175 bool saveMagCalibration(std_srvs::Trigger::Request& ref_ros_request, std_srvs::Trigger::Response& ref_ros_response);
267 #endif // SBG_ROS_SBG_DEVICE_H
SbgInterface sbg_interface_
ros::NodeHandle & ref_node_
void exportMagCalibrationResults() const
static SbgErrorCode onLogReceivedCallback(SbgEComHandle *p_handle, SbgEComClass msg_class, SbgEComMsgId msg, const SbgBinaryLogData *p_log_data, void *p_user_arg)
void initDeviceForReceivingData()
static std::map< SbgEComMagCalibQuality, std::string > g_mag_calib_quality_
void displayMagCalibrationStatusResult() const
SbgEComMagCalibResults mag_calib_results_
void onLogReceived(SbgEComClass msg_class, SbgEComMsgId msg, const SbgBinaryLogData &ref_sbg_data)
ros::ServiceServer calib_save_service_
ros::Subscriber rtcm_sub_
Manage publishing of messages from logs.
bool uploadMagCalibrationToDevice()
bool saveMagCalibration(std_srvs::Trigger::Request &ref_ros_request, std_srvs::Trigger::Response &ref_ros_response)
SbgDevice(ros::NodeHandle &ref_node_handle)
uint32_t getUpdateFrequency() const
void initDeviceForMagCalibration()
enum _SbgEComClass SbgEComClass
ConfigStore config_store_
MessagePublisher message_publisher_
static std::map< SbgEComMagCalibBandwidth, std::string > g_mag_calib_bandwidth_
This file is used to parse received binary logs.
SbgEComHandle com_handle_
bool mag_calibration_ongoing_
bool mag_calibration_done_
static std::map< SbgEComMagCalibConfidence, std::string > g_mag_calib_confidence_
std::string getVersionAsString(uint32 sbg_version_enc) const
static std::map< SbgEComMagCalibMode, std::string > g_mag_calib_mode_
bool startMagCalibration()
void writeRtcmMessageToDevice(const rtcm_msgs::Message::ConstPtr &msg)
Apply configuration to the device.
enum _SbgErrorCode SbgErrorCode
Header file that defines all error codes for SBG Systems libraries.
ros::ServiceServer calib_service_
Class to handle the device configuration.
bool processMagCalibration(std_srvs::Trigger::Request &ref_ros_request, std_srvs::Trigger::Response &ref_ros_response)
sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40