Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 14-05-2022, 09:50   #1
Registered User

Join Date: Jun 2018
Location: Anacortes, WA
Boat: Beneteau 38.1
Posts: 30
Radar Plugin Techical Details

Just because I find it interesting, I'm trying to figure out how my Halo20+ radar "works".


Are there any references available?


Is someone who worked on the plugin willing to answer a few questions?


I'm trying to read the code but my C++ is rusty. I can see the data coming from the radar and the code seems to be storing it in 4k "spokes" (or maybe 2k?). Is a "spoke" of data a radial line from the unit with equidistant values for whether there is a "return" at that distance?


My test program receives the data, but it seems to receive 360 spokes in about 150ms which seems way too fast if each spoke is 1 or 2 degrees, so I'm pretty sure I misunderstand that part.



Is the spoke North up, or bearing up, or something else?


Thanks in advance for any insights.


Chas Douglass
SerialHobbyist is offline   Reply With Quote
Old 16-05-2022, 08:53   #2
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,255
Re: Radar Plugin Techical Details

Chas..
First of all you may want to read a paper that was a inspiration for the Navico radar scanners plugin. Although the Halo code is not all the same the basics are there.

http://www.roboat.at/fileadmin/user_...kiEtAl2011.pdf
Hakan is offline   Reply With Quote
Old 16-05-2022, 14:04   #3
Registered User

Join Date: Jun 2018
Location: Anacortes, WA
Boat: Beneteau 38.1
Posts: 30
Re: Radar Plugin Techical Details

Thanks so much. I think I can probably figure out the differences looking at the code.


I really appreciate the response.


Chas Douglass
SerialHobbyist is offline   Reply With Quote
Old 05-06-2022, 14:28   #4
Registered User

Join Date: Jan 2010
Location: Harlingen, NL
Boat: KMY Stadtship 56
Posts: 517
Re: Radar Plugin Techical Details

Chas,

You may have already understood this from the code, but the Navico radars actually send out 2048 ‘spokes’ per rotation, and yes, your understanding of a spoke is correct. The data contains 1024 different distances, with 4 bits per distance.

The spokes are generally ‘relative to to front of the radar’, but depending on the radar type they also get sent the actual heading and this heading is then retransmitted in the spoke header. This only starts to make a difference during the time that a ship is slewing from one heading to the next; a stable heading will negate any time difference between applying a heading correction to the received spoke.
merrimac is offline   Reply With Quote
Old 05-06-2022, 17:19   #5
Registered User

Join Date: Jun 2018
Location: Anacortes, WA
Boat: Beneteau 38.1
Posts: 30
Re: Radar Plugin Techical Details

Thank you, that does help clarify.


Chas Douglass
SerialHobbyist is offline   Reply With Quote
Reply

Tags
cal, plug, plugin, radar


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Radar Overlay PlugIn bdbcat OpenCPN 900 21-09-2022 00:26
[Plugin] How to start developping a plugin thousand_sunny OpenCPN 3 29-09-2020 09:10
Br24 radar plugin - radar window disappeared Tabaqui OpenCPN 10 08-06-2018 00:12
Plugin development... How to receive chart objects in my plugin? dmartinez OpenCPN 6 04-08-2017 00:56
AIS Radar plugin wizard-merlin OpenCPN 1 04-08-2012 07:59

Advertise Here


All times are GMT -7. The time now is 11:25.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.