Comments (12)
I've updated the sample code in ./examples/...
so that all of the optional Signal K outputs (e.g. Attitude) work. This required a few changes within ./src/signalk_output.h
As well, I've tidied up some code and clarified some comments in other files, and removed the full pathnames for the include files (I sorted out the problem with my PlatformIO).
Documentation is re-generated and can be found at https://github.com/BjarneBitscrambler/SignalK-Orientation/blob/main/docs/html/index.html
I've tested the latest version 0.2.1 on my ESP32 devkit, with all optional outputs enabled, and it worked fine. If anyone has any comments or suggestions, feel free to chime in!
from signalk-orientation.
from signalk-orientation.
Thanks @mhaberler. I have just pushed a version that compiles and runs on my ESP32, using the latest SensESP. Note that I haven't tested it beyond confirming that it outputs compass headings correctly to my SK server (i.e. I haven't tested calibration functions, other data fields like accel, etc). It uses the example_main.cpp
found in this repository's examples directory. Note also that there are many commented-out sections in the example main.cpp, which I haven't yet enabled and tested.
So, if you have any feedback once you get this up-and-running on your hardware, then please let me know. I'll continue cleaning the code up at my end over the next couple weeks.
from signalk-orientation.
I think we're good to close this - really appreciated!
from signalk-orientation.
from signalk-orientation.
it's nothing urgent - fine if this is resolved eventually
from signalk-orientation.
I'm running into the same problem as @mhaberler, the code does not build with current versions of SensESP.
A few months ago, I managed to get it to build by manually installing a lot of very old dependencies, but somehow lost that folder. Any chance you'd be willing and able to get this to compile against a current SensESP version?
from signalk-orientation.
I am free starting Aug 20 for two weeks to help validate any progress
from signalk-orientation.
thanks, really appreciated! you'll have feedback from me this weekend.
from signalk-orientation.
Here's the list of changes made to get the present version (tagged V0.2.0) working with SensESP v2:
- NumericSensor() changed to FloatSensor() in multiple locations
- app.OnRepeat changed to ReactESP::app-> where periodic actions are needed
- enable() method changed to start() in the sensor class
- wrap code in namespace sensesp {}
- remove #include <RemoteDebug.h>
- lib_deps in platformio.ini calls for SignalK/SensESP @ ^2.5.0
- class MagCalValues derives from sensesp::Sensor instead of Sensor
- various #includes now specify full path "../.pio/libdeps/esp32dev/SensESP/src/sensesp/..." when previously they just started with "sensesp/..." (this is likely a platformio issue, not SensESP)
- remove d1_mini as option from platformio.ini (SensESP v2 doesn't support ESP8266)
from signalk-orientation.
can confirm that this version results in a successful build, even with the "../.pio/libdeps/esp32dev/SensESP/src/sensesp/..." replaced by just "sensesp/..."
haven't yet deployed it to the hardware on my boat for testing, will report back once that is done.
from signalk-orientation.
success building and running on a M5Core2 , values in signalK look credible
M5Stick-C build ok, some I2C issue left but that's just me
rough first cut: https://github.com/mhaberler/SignalK-Orientation.git
thanks a lot!
from signalk-orientation.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signalk-orientation.