The wheels of my two-wheeled robot is revoluting around the robot instead of rotating. Can anyone spot any error in it?
Video Link: https://youtu.be/8pk-6AY4br0
I made a 2 wheel robot in urdf and simulating using ROS in gazebo. https://youtu.be/8pk-6AY4br0 is the video of the robot. Can anyone help what's wrong in this? and how can I correct the wheel movement? using ROS Melodic and gazebo 9 using differential drive package to drive the robot. Thanks in advance.
See my wheel code below C:\fakepath\Screenshot from 2020-02-18 15-21-06.png
See my differential drive controller code C:\fakepath\Screenshot from 2020-02-18 15-22-57.png