SystemC processor in Gazebo/ROS?

asked 2018-02-01 07:26:59 -0600

I have to work on a drone which will be controlled by a given processor. I have a SystemC version of the processor, and I'd like to use it to simulate the control of the drone. I was wondering if this could be done in Gazebo. I am familiar with ROS, but I only used it with a raspberry PI in a robot, so I had no custom hardware in the loop.

At the same time, I don't have (yet) any experience in SystemC. According to the person who will provide me with the processor, it is a precise model, to which I provide the SW in binary, and then simulate it for how many ns I want.

So I was wondering, since after all SystemC is a set of C++ classes, would it be possible to integrate this model directly into ROS/Gazebo? So a Gazebo world with a drone in it would take as inputs the commands to the motors (or something like that) from the processor's model, and send back to the model the sensor's readings.

If any of you guys have ever done something like that, I'd be very interested to hear about it! And if not, do you think it is feasible ?

Edit: since this might require some very specific knowledge, I've asked the same question of stackoverflow (robotics) and on the ros forum.

edit retag flag offensive close merge delete