34 #ifndef SBG_ROS_CONFIG_STORE_H 35 #define SBG_ROS_CONFIG_STORE_H 138 template <
typename T>
141 if (ref_node_handle.
hasParam(param_key))
144 ref_node_handle.
param<
int>(param_key, parameter, default_value);
146 return static_cast<T
>(parameter);
150 return static_cast<T
>(default_value);
173 void loadCommunicationParameters(
const ros::NodeHandle& ref_node_handle);
187 void loadImuAlignementParameters(
const ros::NodeHandle& ref_node_handle);
194 void loadAidingAssignementParameters(
const ros::NodeHandle& ref_node_handle);
201 void loadMagnetometersParameters(
const ros::NodeHandle& ref_node_handle);
222 void loadOutputFrameParameters(
const ros::NodeHandle& ref_node_handle);
240 void loadOutputTimeReference(
const ros::NodeHandle& ref_node_handle,
const std::string& ref_key);
262 bool checkConfigWithRos(
void)
const;
269 bool isInterfaceSerial(
void)
const;
276 const std::string &getUartPortName(
void)
const;
283 uint32_t getBaudRate(
void)
const;
297 bool isInterfaceUdp(
void)
const;
311 uint32_t getOutputPortAddress(
void)
const;
318 uint32_t getInputPortAddress(
void)
const;
430 const std::vector<SbgLogOutput> &getOutputModes(
void)
const;
437 bool checkRosStandardMessages(
void)
const;
445 uint32_t getReadingRateFrequency(
void)
const;
459 bool getUseEnu(
void)
const;
466 bool getOdomEnable(
void)
const;
473 bool getOdomPublishTf(
void)
const;
480 const std::string &getOdomFrameId(
void)
const;
488 const std::string &getOdomBaseFrameId(
void)
const;
496 const std::string &getOdomInitFrameId(
void)
const;
518 #endif // SBG_ROS_CONFIG_STORE_H SbgEComOutputPort m_output_port_
SbgEComSensorAlignmentInfo m_sensor_alignement_info_
SbgEComOutputMode output_mode
const std::string & getFrameId(const T &t)
uint32_t m_out_port_address_
uint32_t m_uart_baud_rate_
enum _SbgEComMagCalibMode SbgEComMagCalibMode
SbgEComGnssRejectionConf m_gnss_rejection_conf_
SbgEComMagCalibBandwidth m_mag_calib_bandwidth_
uint32_t m_in_port_address_
enum _SbgEComMagCalibBandwidth SbgEComMagCalibBandwidth
SbgEComModelInfo m_gnss_model_info_
bool m_configure_through_ros_
std::vector< SbgLogOutput > m_output_modes_
std::string m_odom_frame_id_
bool m_upd_communication_
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
SbgVector3< float > m_odometer_level_arm_
SbgEComModelInfo m_motion_profile_model_info_
SbgEComOdoRejectionConf m_odometer_rejection_conf_
bool m_serial_communication_
SbgEComOdoConf m_odometer_conf_
SbgEComMagRejectionConf m_mag_rejection_conf_
SbgVector3< float > m_sensor_lever_arm_
bool hasParam(const std::string &key) const
SbgEComMagCalibMode m_mag_calib_mode_
sbgIpAddress m_sbg_ip_address_
std::string m_odom_init_frame_id_
std::string m_uart_port_name_
std::string m_odom_base_frame_id_
enum _SbgEComOutputPort SbgEComOutputPort
SbgEComClass message_class
enum _SbgEComClass SbgEComClass
SbgEComAidingAssignConf m_aiding_assignement_conf_
T getParameter(const ros::NodeHandle &ref_node_handle, std::string param_key, int default_value) const
Handle a three components vector.
enum _SbgEComOutputMode SbgEComOutputMode
bool m_ros_standard_output_
SbgEComGnssInstallation m_gnss_installation_
SbgEComInitConditionConf m_init_condition_conf_
SbgEComModelInfo m_mag_model_info_
Main header file for the SBG Systems Enhanced Communication Library.
TimeReference m_time_reference_
uint32_t m_rate_frequency_