We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moved from: bluerobotics/ardusub#97 Original author: @jaxxzer
The bus is hard coded, it needs to be determined at run time.
Platform [ ] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [x] Submarine
The text was updated successfully, but these errors were encountered:
The problem is the i2c bus to scan/probe is hardcoded to 1 here:
1
ardupilot/libraries/AP_TemperatureSensor/TSYS01.cpp
Line 18 in cd5c597
We can update init() with a bus number parameter, and configure the bus according to the hardware, similar to how we select GND_EXT_BUS in system.cpp.
attention @Williangalvani
Sorry, something went wrong.
https://github.com/ArduPilot/ardupilot/blob/master/ArduSub/system.cpp#L41
Successfully merging a pull request may close this issue.
Moved from: bluerobotics/ardusub#97
Original author: @jaxxzer
Feature request
The bus is hard coded, it needs to be determined at run time.
Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[x] Submarine
The text was updated successfully, but these errors were encountered: