From: Brian Gerkey <gerkey@ai...> - 2004-09-01 16:21:00
On Wed, 1 Sep 2004, Xi Wang, Ph.D. wrote:
> I tried player 1.5 and got the same problem. Using playerjoy -kcv or -cv
> both give me the WARNING message "expected 25 bytes of position data,
> but received 49..." Player server hangs at "Shutting down CAN bust..."
> when playerjoy is stopped by CTRL+C.
> One more thing is that the key usage messages "Reading from keyboard
> ..." has never been displayed even if I specified "-kcv".
It looks like you're getting position3d data (49 bytes / packet) when
you should be getting position data (25 bytes / packet). I'm not sure
why that is happening. Just to check, remove the extra stuff in your
config file, to leave just one entry:
position (driver "rmpposition" canio "kvaser" max_xspeed 2000 max_yawspeed 80)
Can somebody who has Player 1.5 working with an RMP comment here?
Have you seen the problem?
One things regarding playerjoy: it's not smart enough to parse combined
command-line arguments. So '-kvc' is not the same as '-k -v -c'.
Brian P. Gerkey gerkey@...
Stanford AI Lab http://ai.stanford.edu/~gerkey
Get latest updates about Open Source Projects, Conferences and News.