Simulating a CAN Device with SITL in Mission Planner

Hello everyone,

I’m currently working on a SITL using Mission Planner. For serial devices, I understand that we can use a command like:

--serial2=uart:/dev/ttyS40

This is based on Andrew Tridgell’s video tutorial here: https://www.youtube.com/watch?v=jmqPJt7rnm0

However, I would like to simulate a CAN device — specifically a rangefinder. Could anyone tell me what command I should use to simulate a CAN device in SITL?

Thank you in advance!