Page 1 of 1

Retrieving the robot's linear velocity

Posted: 08 Apr 2019, 21:56
by Samah
Hello Coppelia,

I'm using the simxgetobjectvelocity to retrieve the linear velocity of the robot, however the velocity values I'm retrieving aren't the same. They're half of what I should get.

I'm choosing a linear velocity, then converting it to an angular velocity. The values of the velocity I'm sending to the motor are the angular velocities.

Then, I'm comparing the linear velocity of the robot, (the one I chose) with the linear velocity I'm retrieving from the robot, however they're not the same values, they're half of what I should get. Even, after I wait for several seconds in case the reponse time is big.

Best regards,
Samah.

Re: Retrieving the robot's linear velocity

Posted: 09 Apr 2019, 08:29
by coppelia
Hello,

you probably making a mistake in you calculations when figuring out the desired wheel rotation velocity..

Cheers