bjarnebitscrambler / signalk-orientation Goto Github PK
View Code? Open in Web Editor NEWProvides Vessel Attitude, eCompass, Orientation, etc using SensESP, Signal K, and a 9DoF sensor.
License: BSD 3-Clause "New" or "Revised" License
Provides Vessel Attitude, eCompass, Orientation, etc using SensESP, Signal K, and a 9DoF sensor.
License: BSD 3-Clause "New" or "Revised" License
Hello Bjarne,
I've compiled your code now on an ESP32-Pico, an M5StackAtimLite module. They come in a nice form factor (incl physical button which you can use to store the calibration), and you can buy an ProtoKit to fit the sensor and a RS485 module to have a 12V input. Quite a nightmare before I got it running on PlatformIO though, but with some help on Slack, I have it operational now.
Next thing is to take a look at the calibration, which seems to be not so good, despite several actions to calibrate. I'll report back on the subject later
Noticed on ESP8266 that changing the reporting interval for the Attitude parameter did not seem to change the actual interval, even after rebooting. It stayed at the compiled-in rate. Compass heading however, did seem to change.
forked and tried to build this for esp-wrover-kit, planning to move this to an M5stack Core2
is this maintained or should I look elsewhere like https://github.com/BjarneBitscrambler/OrientationSensorFusion-ESP.git ?
could it be SensESP has diverged so much this does not build any more?
Building in release mode
Compiling .pio/build/esp-wrover-kit/src/main.cpp.o
Compiling .pio/build/esp-wrover-kit/src/orientation_sensor.cpp.o
Generating partitions .pio/build/esp-wrover-kit/partitions.bin
Compiling .pio/build/esp-wrover-kit/lib4b7/EEPROM/EEPROM.cpp.o
In file included from src/orientation_sensor.cpp:5:
src/orientation_sensor.h:13:10: fatal error: sensors/sensor.h: No such file or directory
#include "sensors/sensor.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
Compiling .pio/build/esp-wrover-kit/lib46f/WiFi/WiFi.cpp.o
Compiling .pio/build/esp-wrover-kit/lib46f/WiFi/WiFiAP.cpp.o
Compiling .pio/build/esp-wrover-kit/lib46f/WiFi/WiFiClient.cpp.o
Compiling .pio/build/esp-wrover-kit/lib46f/WiFi/WiFiGeneric.cpp.o
Compiling .pio/build/esp-wrover-kit/lib46f/WiFi/WiFiMulti.cpp.o
Compiling .pio/build/esp-wrover-kit/lib46f/WiFi/WiFiSTA.cpp.o
*** [.pio/build/esp-wrover-kit/src/orientation_sensor.cpp.o] Error 1
In file included from src/main.cpp:28:
src/orientation_sensor.h:13:10: fatal error: sensors/sensor.h: No such file or directory
#include "sensors/sensor.h"
^~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio/build/esp-wrover-kit/src/main.cpp.o] Error 1
thanks in advance
Michael
The Adafruit 3463 has been discontinued, replaced by the 4517, which uses a different IMU and magnetometer. I'm assuming the code won't work on the 4517 but wanted to check. If not, any plans to update this repo? Or are there any modules still available that work with the existing code?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.