How to send rpm by json to SITL?

Hello everyone, I’m still doing simulation, and at the moment the question arises, how can I send rpm from the physical environment to ardupilot?
I’m specifically interested in whether ardupilot SITL has built-in functionality for accepting RPM data from JSON or something else? Or should I develop it myself?

@rhys, maybe you know?

@VasilkovskiiVS, I’ve used the DroneCAN interfaces to send additional sensor data from Gazebo: Sending Gazebo sensor data to ArduPilot using DroneCAN

Yea, I saw it, but I need to send by json, because Unity3D hasn’t got DroneCan lib(

That article outlines why I think the JSON interface is the wrong mechanism for returning sensor data to SITL.

Gazebo doesn’t support DroneCAN either, but there is a message bus for data and that’s all that is required. If native plugins (C++) for Unity are an option, then there is a C++ DroneCAN lib.

Okey, thank you, I will try.