bluerobotics / navigator-rs

Navigator library for the Rust language
https://docs.bluerobotics.com/navigator-rs/doc/navigator_rs/
MIT License
2 stars 6 forks source link

Add support to detected sensors #42

Open patrickelectric opened 1 year ago

patrickelectric commented 1 year ago

Add automatic detection for Bar30 and Bar100

RaulTrombin commented 1 year ago

@patrickelectric @ES-Alexander Will we add then to navigator-rs or can create a separate crate project? Can we add these components to parts list?

ES-Alexander commented 1 year ago

How well does rust deal with dynamic libraries?

I feel like ideally they would be optional components since the sensors don’t come built in, and we already have libraries for them elsewhere that are maintained independently. If it’s not hard for a user to choose with/without the extra sensor libraries then that would be best, but if that would be challenging then we might need to do a monolithic crate with everything in it 🤷‍♂️

patrickelectric commented 1 year ago

Adding support for such sensors is not a big deal, we can just add in navigator-rs.

RaulTrombin commented 6 months ago

I don't see how it'll work. Will it detect a device address on the I2C bus? The devices need their own crates/examples beforehand.