I’m new using ROS and I have an issue while trying to use my navio2 (RPI3) with the ROS toolbox of Matlab.
My goal is to get the IMU information of the navio2 in my simulink workspace.
What is working :
I am connected to the navio2 with matlab
I can create publisher and subscribers in matlab and see them active in my navio workspace
(using ‘rostopic info /mavros/imu/data’)
I started to stream the IMU infos and can access to them in the navio2 workspace (using the echo command)
What is not working :
I can’t access to the imu informations in the matlab workspace
When i try to ping the node, i got no response in any direction (matlab to navio and vice versa)
when i ping the matlab node in the matlab workspace i got a response…
Now that this point is fixed i finally get the IMU data directly in matlab, by subscribing to the /mavros/imu/data node, what is very powerfull. Happy so far.
This brings me to another question :
What node has to be used to control the PWM’s, and how ? I guess I only have to publish on a node like mavros/rcout and send some data ? Can you please help me on that.