Can't send message from Simulink to ROS to control Kobuki robot in gazebo

asked 2021-06-06 02:20:47 -0500

skeggsy gravatar image

I CAN NOT ATTACH IMAGES SO I HAVE PLACED THEM IN THE FOLLOWING GOOGLE DOC:

https://docs.google.com/document/d/1l...

Hi, I am trying to send velocity commands via Simulink (please find a screenshot of the model in the link above) to control a kobuki robot in gazebo. For some reason, the kobuki is not responding correctly to the velocity command being published from the Simulink model, as it takes at least 10 minutes to observe a minuscule change in the position of the robot (observed in both gazebo and the X-Y graph in Simulink).

I tried to manually move the robot using kobuki_keyop in ROS to see if it was a problem with the master connection. However, when I moved the robot using kobuki_keyop (with the approximate velocity used in Simulink model) I was able to see its change in position in the Simulink X-Y graph (and the kobuki actually moved in gazebo) which means that messages are indeed being sent between ROS and MATLAB.

The attached google doc also contains a list of rostopics and other useful bits of information.

edit retag flag offensive close merge delete

Comments

I CAN NOT ATTACH IMAGES SO I HAVE PLACED THEM IN THE FOLLOWING GOOGLE DOC:

you can now, so please avoid using external sites to host anything and make your question stand-alone by attaching the images directly here.

The attached google doc also contains a list of rostopics

Please note: do not post screenshots of terminals. That would be unnecessary (and undesirable). Anything which is basically text can be copy-pasted into your question directly.

gvdhoorn gravatar image gvdhoorn  ( 2021-06-06 06:27:32 -0500 )edit