Open hamishwillee opened 6 years ago
@dagar Need your advice on this :-)
Additional notes/discussion: http://discuss.px4.io/t/how-to-write-a-driver-code-for-external-devices-i2c-messages-from-arduino-to-pixhawk/5011
The full picture of where we think we're headed for driver unification and simplification is TBD, but there's still more than enough detail we can fill in for now that won't change all that much.
@davids5 fyi
Awesome. Anything you gentlemen can provide to answer the above would be useful.
Driver doc moved in https://github.com/PX4/Devguide/pull/389
https://github.com/PX4/Devguide/pull/390 does minimal updates to remove suggestion users should port to DriverFramework and provide minimal "how to get started"
Sensor drivers (and perhaps drivers in general) should include params as part of their definition. See https://github.com/PX4/Firmware/pull/8869/files This is something to mention in driver guide.
At the moment our guidance is just wrong - "use the DriverFramework" (apparently there is a plan to instead plan to get the existing NuttX drivers working on other platforms?)
The update plan would be to update https://dev.px4.io/en/middleware/drivers.html
Then we'd add some general guidance:
In addition, I want to cross link to other docs when/if more targetted information can be provided. Eg.. https://dev.px4.io/en/sensor_bus/i2c.html