Files
ardupilot/libraries/AP_CANManager
Peter BarkerandClaude Sonnet 4.6 66517ee75a AP_CANManager: SLCAN: use AP_Common hex decode functions
Replace the local hex2nibble/hex2nibble_error static helpers and their
dependency on char_to_hex with AP_Common's hex_char_to_nibble,
hex_charpairs_to_uint8s, and hex_chars_to_uint32.

Also populate f.id directly from hex_chars_to_uint32 in
handle_FrameDataStd and handle_FrameRTRStd, removing the intermediate
id stack variable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 17:34:28 +10:00
..
…

Testing And Debugging

Testing under SITL

A wide range of DroneCAN peripherals are supported in the SITL simulation system. The simplest way of starting a DroneCAN enabled simulated vehicle is to use sim_vehicle.py.

For a quadplane use: sim_vehicle.py with the option -f quadplane-can

For a quadcopter use: sim_vehicle.py with the option -f quad-can