Gazebo | Ignition | Community
Ask Your Question

daltonfury42's profile - activity

2016-02-02 14:21:15 -0500 received badge  Famous Question (source)
2016-01-21 01:39:46 -0500 received badge  Notable Question (source)
2016-01-19 07:20:41 -0500 received badge  Popular Question (source)
2016-01-13 02:18:03 -0500 received badge  Editor (source)
2016-01-13 02:16:30 -0500 asked a question My custom made DiffDrive plugin makes the vehicle flip, turn and fly away.

I am trying to simulate a small differential wheeled robot that I am using for my swarm project. It is very small, and I made a basic model of the robot. The motors are controlled from an arduino by PWM, and there are encoders to give feedback on how much the two wheels have turned. My task is to do dead reckoning.

Since the existing differential drive plugin doesnot control the motors like how the arduino does, I made a code on my own to simulate the code run in the Arduino. But when I run the code, I get unexpected results as shown in the first 15 seconds of this youtube video I have uploaded.

Here is my code, if you ever want to look. The plugin gets the pos (x,y only) of the coordinate to which the robot should move, and it will be stored in xtarget and ytarget. For now, I have simply initialized both these variables to some value in the constructor for testing purpose.

2016-01-05 13:35:05 -0500 received badge  Scholar (source)
2016-01-05 06:29:27 -0500 commented question How do I properly use the gazebo API?

Nobody can answer this simple question?

2016-01-04 02:27:01 -0500 received badge  Famous Question (source)
2016-01-04 02:27:01 -0500 received badge  Notable Question (source)
2016-01-01 00:51:39 -0500 received badge  Popular Question (source)
2015-12-29 09:04:52 -0500 asked a question How do I properly use the gazebo API?

Say I want to rotate a joint at a certain velocity. So I browse through the API reference pages and reach here.

I can't seem to find any reference to the term 'velocity'. Is it linear velocity or angular velocity? Also what is it's unit? Where do I find information about it?