From: Olivier R-D <o....@la...> - 2008-01-16 05:11:49
|
Toby Collett wrote: > This would be a great thing to do, there are a number of ways you could > do this. You driver would need the velocity of the motors (or at least > the vehicle) and some measurement values, here are some of the > possibilities I can see: > - Subscribe to an actarray interface that provides the velocities of > the two motors > - Subscribe to two position1d devices that provide the velocities > - Subscribe to a position 2d that provides velocity and angular > rotation and use that to accumulate the odometry. > > The geometry info can be provided as properties to the driver. Thank you for the suggestions ! I will start implementing my driver using one of the last 2 to get use to the player API. we'll see later what I come up with. I am just starting my phd so I have some time to invest .... Olivier |