ROS2Sonic  0.2.0
A ROS2 driver for R2Sonic MBES
Loading...
Searching...
No Matches
r2sonic::R2SonicNode::Parameters Struct Reference

a Structure that corresponds to the parameters advertised by the R2SonicNode class. All params assoicated with this struct will have the same structure struct. Example: topics.detections member mapps to param "topics/detections" More...

#include <r2sonic_node.hpp>

Collaboration diagram for r2sonic::R2SonicNode::Parameters:

Classes

struct  Ports
 
struct  Topics
 

Public Member Functions

void init (rclcpp::Node *node)
 declares all the parameters and initialized all the stored variables within the struct
 

Public Attributes

struct r2sonic::R2SonicNode::Parameters::Topics topics
 a container for the topics.
 
struct r2sonic::R2SonicNode::Parameters::Ports ports
 a container for the ports
 
std::string sonar_ip
 the ip address to send commands to the sonar
 
std::string interface_ip
 the interface you want to listen on (0.0.0.0 to listen on all)
 
std::string tx_frame_id
 the frame ID of the acoustic center of the transmitter
 
std::string rx_frame_id
 the frame ID of the acoustic center of the receiver
 

Detailed Description

a Structure that corresponds to the parameters advertised by the R2SonicNode class. All params assoicated with this struct will have the same structure struct. Example: topics.detections member mapps to param "topics/detections"

Member Function Documentation

◆ init()

void R2SonicNode::Parameters::init ( rclcpp::Node * node)

declares all the parameters and initialized all the stored variables within the struct

Parameters
nodeA pointer or reference to the node you want to use to initialize the parameters.

Member Data Documentation

◆ interface_ip

std::string r2sonic::R2SonicNode::Parameters::interface_ip

the interface you want to listen on (0.0.0.0 to listen on all)

◆ ports

struct r2sonic::R2SonicNode::Parameters::Ports r2sonic::R2SonicNode::Parameters::ports

a container for the ports

◆ rx_frame_id

std::string r2sonic::R2SonicNode::Parameters::rx_frame_id

the frame ID of the acoustic center of the receiver

◆ sonar_ip

std::string r2sonic::R2SonicNode::Parameters::sonar_ip

the ip address to send commands to the sonar

◆ topics

struct r2sonic::R2SonicNode::Parameters::Topics r2sonic::R2SonicNode::Parameters::topics

a container for the topics.

◆ tx_frame_id

std::string r2sonic::R2SonicNode::Parameters::tx_frame_id

the frame ID of the acoustic center of the transmitter


The documentation for this struct was generated from the following files: