ROS2Sonic  0.2.0
A ROS2 driver for R2Sonic MBES
Loading...
Searching...
No Matches
r2sonic_node.cpp File Reference
#include "r2sonic_node.hpp"
Include dependency graph for r2sonic_node.cpp:

Functions

template<typename T >
NS_HEAD void setupParam (T *variable, rclcpp::Node *node, std::string topic, T initial_val)
 
void setupParam (std::string *variable, rclcpp::Node *node, std::string topic, std::string initial_val)
 
template<typename T >
bool send_udp_message (packets::CmdPacket< T > message, const std::string &destination_ip, const unsigned short port)
 

Function Documentation

◆ send_udp_message()

template<typename T >
bool send_udp_message ( packets::CmdPacket< T > message,
const std::string & destination_ip,
const unsigned short port )

◆ setupParam() [1/2]

void setupParam ( std::string * variable,
rclcpp::Node * node,
std::string topic,
std::string initial_val )

◆ setupParam() [2/2]

template<typename T >
NS_HEAD void setupParam ( T * variable,
rclcpp::Node * node,
std::string topic,
T initial_val )