ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
10.93k stars 17.43k forks source link

Drivers for I2C board for firing analogue sonars #1455

Closed jverbeke closed 10 years ago

jverbeke commented 10 years ago

Hi,

We are trying to write our own drivers for an i2c board used for individually timed firing of analogue sonars. We kept the architecture very close to the one for the rangefinder through i2c. We have already written the following pieces:

We added the driver in:

Everything is compiling and the pixhawk boots. But still there are no values coming true. Not even a zero. Are we missing a piece?

We think there should be (somewhere) defined how the pixhawk knows what driver to use when you attach an extra element through i2c. But how and where does this happen?

We appreciate any help.

Grtz,

Jon

rmackay9 commented 10 years ago

This is really more a development question so it belongs on the drones-discuss@googlegroups.com email list instead of here. Could you repost there? thanks!