Skip to content

Commit

Permalink
ESC Telemetry plugin: add diagnostics support
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Feb 17, 2022
1 parent 03dfe17 commit f9f7028
Show file tree
Hide file tree
Showing 3 changed files with 326 additions and 14 deletions.
34 changes: 32 additions & 2 deletions mavros/launch/apm_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ startup_px4_usb_quirk: false

# sys_status & sys_time connection options
conn:
heartbeat_rate: 1.0 # send hertbeat rate in Hertz
heartbeat_rate: 1.0 # send heartbeat rate in Hertz
heartbeat_mav_type: "ONBOARD_CONTROLLER"
timeout: 10.0 # hertbeat timeout in seconds
timeout: 10.0 # heartbeat timeout in seconds
timesync_rate: 10.0 # TIMESYNC rate in Hertz (feature disabled if 0.0)
system_time_rate: 1.0 # send system time to FCU rate in Hertz (disabled if 0.0)

Expand Down Expand Up @@ -150,6 +150,36 @@ distance_sensor:
id: 1
orientation: PITCH_270 # only that orientation are supported by APM 3.4+

esc_telemetry:
diagnostics:
enabled: true
temp_min: #degC
nok: 1
ok: 2
volt_min: #V
nok: 14
ok: 14.5
curr_min: #A
nok: 4
ok: 5
rpm_min:
nok: 2000
ok: 3000
temp_max: #degC
nok: 90
ok: 85
volt_max: #V
nok: 17.2
ok: 16.9
curr_max: #A
nok: 10
ok: 8
rpm_max:
nok: 12000
ok: 9000
count:
min_delta: 10

# image_pub
image:
frame_id: "px4flow"
Expand Down
Loading

0 comments on commit f9f7028

Please sign in to comment.