Skip to content

Commit 62a95a8

Browse files
committed
dronecan: esc: change UAVCAN_ESC_IFACE to 2 to default to only outputting on CAN2
1 parent 3a734bc commit 62a95a8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/en/dronecan/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ PX4 DroneCAN parameters:
270270

271271
[DroneCAN ESCs and servos](../dronecan/escs.md) require the [motor order and servo outputs](../config/actuators.md) to be configured.
272272

273+
Select the CAN interface you want to output the ESC data on. By default CAN2 is selected. [UAVCAN_ESC_IFACE](../advanced_config/parameter_reference.md#UAVCAN_ESC_IFACE)
274+
273275
## QGC CANNODE Parameter Configuration
274276

275277
QGroundControl can inspect and modify parameters belonging to CAN devices attached to the flight controller, provided the device are connected to the flight controller before QGC is started.
@@ -307,7 +309,7 @@ If successful, the firmware binary will be removed from the root directory and t
307309

308310
**Q**: The motors aren't spinning when armed.
309311

310-
**A**: Make sure `UAVCAN_ENABLE` is set to `3` to enable DroneCAN ESC output.
312+
**A**: Make sure `UAVCAN_ENABLE` is set to `3` to enable DroneCAN ESC output. Make sure `UAVCAN_ESC_IFACE` is set to the interface you're using.
311313

312314
---
313315

src/drivers/uavcan/module.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ parameters:
2020
5: CAN6
2121
6: CAN7
2222
7: CAN8
23-
default: 255
23+
default: 2
2424
min: 1
2525
max: 255
2626
reboot_required: true

0 commit comments

Comments
 (0)