ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
10.75k stars 17.19k forks source link

CAN2 - Failed to register CANSensor #24402

Closed Sekilsgs2 closed 1 year ago

Sekilsgs2 commented 1 year ago

When using can2 for benewake protocol (or USD1) - gives a sensor registration error -

26.07.2023 22:21:58 : Failed to register CANSensor Benewake

if using can1 - no problems DroneCAN working good for can2 but rangefinders no. Im think this is related to canSensor module

Cuav X7 pro Arducopter 4.3.5 or master image

xianglunkai commented 1 year ago

@Sekilsgs2 Perhaps you can connect a console to see the current working status or errors of all CANs

xianglunkai commented 1 year ago

Or view relevant records in the corresponding log

xianglunkai commented 1 year ago

One possible reason is that you may only have one CAN when building the system. You can use candump can1 to view the current status, if your system is Linux

Sekilsgs2 commented 1 year ago

@Sekilsgs2 Perhaps you can connect a console to see the current working status or errors of all CANs

DroneCAN working good for can2 but rangefinders with can protocol benewake or usd1 -not working.

Sekilsgs2 commented 1 year ago

https://github.com/ArduPilot/ardupilot/issues/24415