platisd / smartcar_shield

A versatile and easy to use vehicle platform for hobby-grade projects
http://plat.is/smartcar
MIT License
75 stars 45 forks source link

BNO055? #63

Closed samuk closed 2 years ago

samuk commented 2 years ago

Description

Add support for https://github.com/adafruit/Adafruit_BNO055

Various open hardware boards are available: https://www.smart-prototyping.com/Zio-9DOF-IMU-BNO055.html https://www.adafruit.com/product/4646

If I post you one would you have a go at getting it working?

Definition of Done

platisd commented 2 years ago

I'm afraid I can't promise I will have the time for this in the near future so my suggestion is to give it a go yourself first. Specifically, if you make it adhere to the HeadingSensor interface then it's very easy integrating it with the rest of the stack. Looking at this example the z is what I believe you should need to expose as "the heading", assuming some reasonable sensor placement on the vehicle.

I will be very happy to assist where I can. Don't know if this will be supported as a standard part of the Smartcar library, but it could definitely be an add-on type of thing.

samuk commented 2 years ago

OK thanks