Retrieving the robot's linear velocity

Typically: "How do I... ", "How can I... " questions
Post Reply
Samah
Posts: 11
Joined: 13 Feb 2019, 22:00

Retrieving the robot's linear velocity

Post 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.

coppelia
Site Admin
Posts: 10361
Joined: 14 Dec 2012, 00:25

Re: Retrieving the robot's linear velocity

Post by coppelia »

Hello,

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

Cheers

Post Reply