Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 10-12-2017, 20:59   #1
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,631
Images: 2
K-Box Firmware - #89 IMUMonitorPage and some config settings

Every once in awhile something gets your attention for some reason, but I found this K-Box PR interesting

https://github.com/sarfata/kbox-firmware/pull/89

Quote:
Now the concept is: the values for the monitorPage are triggered by updateReceived(const SKUpdate& up)
which means the updates are coming by the interval of the imuService.
In the IMUPage would be the filter and a elapsed time thing for bringing down the values to display-frequeny.
Just thinking of: would it be better to make the display of data (at least the Voltage, Baro, IMU, may be wind and other pages) an interval task?
This would mean, that the filter would be in the IMUService (which would be there anyway if you might switch to a better IMU sensor for future KBox Hardware releases e.g. this one: https://www.adafruit.com/product/3463 which has no integrated fusion as the BNO055)
The other advantage of filtering in high frequency is to get out noise without visual time delay. (which we certainly have at low frequencies, you can see it quite a lot in openCPN!)
The Page loop would then just call an actual value for the display (completely independent from the Service-frequency.) Same for different other (low speed) outputs....
The other things:
  1. config settings will change as discussed
  2. two Service defines added.
    The aim is, that users could define their services needed for a special hardware.
    E.g. it would then be possible to comment out several services to make a logging device with a T3.2 or 3.6 + CAN without display, wifi, baro, imu
    Or just to switch off Baro and IMU if not needed and so on....
    Or with a special (less equipped and lower priced) KBox as N2k->NMEA0183 Serial/WiFi-converter.
Would you like this?

Then looked at
Adafruit Precision NXP 9-DOF Breakout Board - FXOS8700 + FXAS21002 PRODUCT ID: 3463 $14.95

and then the specs
https://learn.adafruit.com/comparing...ope-datasheets

and learned some things. It keeps moving. I used to think the MPU-9250 was good, but had no understanding or knowledge why.
rgleason is offline   Reply With Quote
Reply

Tags
monitor


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
Linux Config Loss on Power Fail lone_viper OpenCPN 14 19-08-2017 07:46
Best config for running rigging s/v Beth Deck hardware: Rigging, Sails & Hoisting 8 15-09-2015 11:43
Grib plugin for Mac - Write and Send Email Config SeattleSail OpenCPN 7 02-09-2015 06:05
Change 12v Solar Config to 24v? deepthought Electrical: Batteries, Generators & Solar 16 09-03-2013 15:05
WiFi Bullet and Linksys Router Config Meck Marine Electronics 1 17-10-2009 08:03

Advertise Here


All times are GMT -7. The time now is 03:15.


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.