Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%include "../../hardware/boards/navigator.params"
%include "../../hardware/tmp119.params"
%include "../base.params"
%include "../heavy.params"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
%include "../../hardware/boards/navigator.params"
%include "../../hardware/tmp119.params"
%include "../base.params"
%include "../standard.params"

Expand Down
5 changes: 5 additions & 0 deletions params/ardupilot/ArduSub/hardware/tmp119.params
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TEMP2_TYPE: 10, // TMP TMP119
TEMP2_BUS: 6, // i2c-6
TEMP2_SRC: 3, // Battery index
TEMP2_SRC_ID: 1, // Battery 1
Comment on lines +3 to +4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is maybe not great default behaviour? I believe it should show up in SCALED_PRESSURE3 already (like the normal Celsius would), so this is only useful for people who are using both at once (which we can hopefully handle more nicely by implementing a dedicated TEMPERATURE MAVLink message, and if someone asks in the meantime we can tell them how to do the 'other source override' approach).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the idea here is we are trying to find the most plug and play way for people to use Celsius 2 without needing to dig into their ardupilot config settings (which is needed if you want it to show up under SCALED_PRESSURE3)

But Willian can comment better on this

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the idea here is we are trying to find the most plug and play way for people to use Celsius 2 without needing to dig into their ardupilot config settings (which is needed if you want it to show up under SCALED_PRESSURE3)

correct. we were wondering if scaled_pressure3 would use the first useful temperature, but it is actually hardcoded to TEMP1, so we need this...

TEMP_LOG: 1, // log all temperature instances to binlogs
Loading