On Nov 13, 2007, at 3:58 PM, Carlos Beane wrote:
> I have a Pioneer 3 DX robot running player 2.0.3 on fedora core 5.
> I was wondering if anyone could tell me why the simpleclient.c program
> doesn't work properly ( the example program available at
> At the default setting in
> playerc_position2d_set_cmd_vel(position2d, 0, 0, 0.1, 1);
> it doesn't move. But when rotation is set to higher values (0.2, 0.3,
> etc.) it does move.
Well, 0.1 rad/sec is about 5.9 deg / sec, which is pretty slow. I'm
guessing that the resulting wheel speeds are too low for the Pioneer,
in that they fall in the speed controller's dead zone.
> Also,... it stops prematurely and the position
> information is questionable.
What do you mean?
> Also what does the state flag do?
The state is a boolean: 1 means go (i.e., try to achieve the current
position or velocity target), 0 means stop. It's more useful is some
other, higher-level position2d devices.