Skip to content
New issue

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

ESC Telemetry plugin: add diagnostics support #1705

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
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 @@ -151,6 +151,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