ROS2Sonic  0.2.0
A ROS2 driver for R2Sonic MBES
Loading...
Searching...
No Matches
r2sonic::conversions Namespace Reference

Classes

class  Aid02RawAiAssembler
 

Functions

void h02Header (std_msgs::msg::Header *header, const sections::H0 &h0_pkt)
 
void h02PingInfo (marine_acoustic_msgs::msg::PingInfo *ping_info_msg, const sections::H0 &h0_pkt)
 converts an r2sonic::packets::I0 to a marine_acoustic_msgs::msg::PingInfo message
 
void bth02SonarDetections (marine_acoustic_msgs::msg::SonarDetections *detections_msg, const packets::BTH0 &bth0_pkt)
 converts r2sonic::packets::BTH0 to marine_acoustic_msgs::msg::SonarDetections
 
void packet2RawPacket (r2sonic_interfaces::msg::RawPacket *raw_packet_msg, const packets::Packet *pkt)
 Populates a r2sonic_interfaces::msg::RawPacket with relavent data from packets::Packet.
 

Function Documentation

◆ bth02SonarDetections()

void r2sonic::conversions::bth02SonarDetections ( marine_acoustic_msgs::msg::SonarDetections * detections_msg,
const packets::BTH0 & bth0_pkt )

converts r2sonic::packets::BTH0 to marine_acoustic_msgs::msg::SonarDetections

Parameters
detections_msg[output] The message to populate with the bth0 information
bth0_pkt[input]

◆ h02Header()

void r2sonic::conversions::h02Header ( std_msgs::msg::Header * header,
const sections::H0 & h0_pkt )

◆ h02PingInfo()

void r2sonic::conversions::h02PingInfo ( marine_acoustic_msgs::msg::PingInfo * ping_info_msg,
const sections::H0 & h0_pkt )

converts an r2sonic::packets::I0 to a marine_acoustic_msgs::msg::PingInfo message

Parameters
ping_info_msg[output] the message to populate with the h0_msg
h0_pkt[input]

◆ packet2RawPacket()

void r2sonic::conversions::packet2RawPacket ( r2sonic_interfaces::msg::RawPacket * raw_packet_msg,
const packets::Packet * pkt )

Populates a r2sonic_interfaces::msg::RawPacket with relavent data from packets::Packet.

Parameters
raw_packet_msg[output]
pkt[input]