-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support compass readings #12
Comments
Would be nice to get compass readings from calypso. Did you make some progress here? |
Dear Simon, thank you for writing in. Others also asked about Based on my findings shared below, I think With kind regards, DetailsIt looks like 8843346 added decoding the calypso-anemometer/calypso_anemometer/model.py Lines 84 to 89 in 1cca7ad
However, I discovered that within the backlog: calypso-anemometer/doc/backlog.rst Lines 107 to 109 in 1cca7ad
This is the current code responsible for translating calypso-anemometer/calypso_anemometer/telemetry/signalk.py Lines 49 to 50 in 1cca7ad
This is the current code responsible for translating calypso-anemometer/calypso_anemometer/telemetry/nmea0183.py Lines 174 to 183 in 1cca7ad
|
In order to add more information here... Calypso UP10 FAQManufacturer information about the compass can be found at https://calypsoinstruments.com/web/content/884. Compass to NMEA0183
@UserMacUseface told us that the NMEA sentence for this is quite simple 1:
Thank you already! We will consider implementing corresponding support on the next development iteration. Footnotes |
@UserMacUseface may have discovered a problem with decoded compass/heading data. Thank you so much for the report!
Footnotes |
Ah, wow! But the device claims to be the same as before, and there is no updated documentation about it? Maybe there has been something within the release notes of the firmware update you installed recently? (#13 (comment))
The decoder implementation has been based on information from the Calypso Ultrasonic decoding cheat sheet by Fabian Tollenaar. Logging raw data would not make much sense because it is in binary format. calypso-anemometer/calypso_anemometer/model.py Lines 92 to 149 in 1cca7ad
|
I cannot seem to find any release notes from calypso instruments :/ |
On a side note: |
Regarding the "funny" readings, we discovered that all angle values should be submitted to SignalK using Radian (rad) unit, see also #14 (comment). |
Regarding "reading the compass at all", we may have missed the corresponding method to enable it. Currently, I can only find methods to set "mode" and "datarate". calypso-anemometer/calypso_anemometer/core.py Lines 203 to 213 in 4361e68
|
The improvement GH-23 finally adds that, with a corresponding |
Regarding the missing "Compass to NMEA0183" telemetry propagation (#12 (comment)), the values for Within that message, I also spotted a slot to transmit air temperature. Does it make sense to propagate the temperature measured by the Calypso into this slot, or would it be wrong, because, mounted on the top of the mast, it will most probably not what meteorologists understand as "air temperature"?
Footnotes |
Its surely a good idea to transmit all the values that the calypso generates. that way any future implementation can use it if needed. |
Thanks for clarifying. I've created GH-21 to discuss the topic of NMEA0183 sentences for non-compass related values seperately. |
Regarding the NMEA0183 talker identifier, thank you for sharing #21 (comment). On this page, I discovered another example for encoding a compass/heading value.
In our case, it would be |
Some examples of
References |
ProposalWould those example sentences be feasible?
Optionally, "heading" could additionally be emitted as
P.S.: As we can see, there is apparently no way to tell XDR sentences apart, other than looking at the name field, here |
XDR sentences can also carry multiple values -- thanks, @UserMacUseface. When combining pitch and roll, and also omitting the
As seen at 12, the order of Pitch/Roll may also be important. Footnotes |
GH-24 implements the most recent suggestions. Thank you so much for the support! |
Dear @honigwald and @UserMacUseface, we just released calypso-anemometer 0.6.0, including the corresponding improvements, and will be happy to hear back from you about its outcome on this matter. You may be able to get a reading with compass turned on, using # Get device reading(s), with compass data (roll, pitch, heading).
calypso-anemometer read --compass=on
calypso-anemometer read --compass=on --subscribe Emitting this data to both telemetry variants NMEA-0183 and SignalK, may also work well now. With kind regards, |
Unfortunately, with the recent 0.6.0 release, eCompass readings do not work yet, see GH-27. |
Is this needed?
-- UltraSonicComponent.js#L131-L134
The text was updated successfully, but these errors were encountered: