Standard messages for marine radars

Update on creating a standard marine radar message

I have iterated over the format with your suggestions (Thanks all!) and collected new data. So far, everything is still working fine for my application.

Now that I finally learned how to write bag migration rules, I was able to add a few tweaks to the format and update my data.

With @lindzey and others work with related marine messages, I’d like to get radar messages ready to be added to the proper upcoming marine messages package.

So, here’s what I have so far: marine_sensor_msgs/msg at standard_proposal · rolker/marine_sensor_msgs · GitHub

I welcome your feedback!

Thanks to @peci1 for the great comments. I updated the format again and clarified some inline comments.

I’m hoping to soon have some example data to share with a few tools to help visualize it.

I welcome any further feedback!

1 Like

I haven’t checked the migration rules, but the new definitions look good to me!

It might be better for community input to create a pull request from your branch against noetic so that it is easier to comment the changes.

I actually do have a pull request!

Hi rolker, I am using this GitHub - rolker/halo_radar: ROS node to interact with Halo series marine radar. for Simrad halo Radar 20 in ROS-noetic as a publisher node. I am just wondering if there is any display type to visualize marine_sensor_msgs/RadarSector in rviz. Or we have to change the message type to available display types like PointCloud2.

Hi Hamza,

I use this node to convert to a point cloud for use with rviz: marine_radar_tracker/marine_radar_to_pointcloud.cpp at noetic · rolker/marine_radar_tracker · GitHub

Thanks to all that have contributed so far.

To go along with the new naming conventions used for marine messages, A new pull request can now be found here: Add radar message and migration rules. by rolker · Pull Request #40 · apl-ocean-engineering/marine_msgs · GitHub

Hi rolker,
When compiling this repo marine_radar_tracker/marine_radar_to_pointcloud.cpp at noetic · rolker/marine_radar_tracker · GitHub I am facing the errors about echo. I have define LaserEcho msg in marine_sensor_msg in RadarSector but I think it’s not the right way. I also do not saw any echo msg in this node GitHub - rolker/halo_radar: ROS node to interact with Halo series marine radar..

Hi Hamza,

Sorry you got cought is some out-of-sync repos as I work on this message standardaization effor.

I’m in the process of updating repositories and documentation and will report back when I’m done and have clear instructions for you.

Roland

Yeah that would be great. Also I made a little changes in halo_radar.cpp file while debugging it for my radar because after running the node it constantly saying that “No radar found”, Now I am able to change the state from ‘standby’ to 'transmit’ and under rostopic echo /radar/HaloA/data, I am able to see the angle, range and intensities.

OK, I just updated the repos and added a bit of documentation.

Now, for the changes you had to make, it seems like the size of packet you are recieving differes from when I was expecting? I wonder if that’s caused by different firmware on the radar or something similar. Which model are you using?

Hi, thanks for the update. I am using Halo 20 simrad B&G (halo pulse compression radar).
Now after cloning the updated repos I got this new error.


Did you change the struct definition? I think in the RadarDisplay::radarCallback () is not calling the correct memeber or? I am not sure.

Looks like your camp package has not been updated. Is it up to date with the default (noetic) branch from GitHub - CCOMJHC/camp: Planning software for autonomous surface and underwater vehicles.?

Hi, Yes I have updated the repos and compiled it. Now I see under rostopic echo /radar/HaloA/data (echoes instead of angle range and intensities which was before the update) I don’t know why.


But yes now I can visualize the in rviz in dsplay option pointcloud. the changes I had to made was only in marine_radar_to_pointcloud.cpp. I have changed the name of the topic “/radar/HaloA/data”.
And also a ctrl+c keyboard interrupt :wink: