From: kristjan.liiva1 <kri...@gm...> - 2012-05-05 11:56:14
|
Thanks for you repley Vitalijs. Incorrect data reading was the problem. I do have a another question, is there a way to detect a collision (with either a wall or an another robot)? I'm using roomba robots, so one possibility would be to use pumper interface, but in pioneer.inc (I wanted to use this as a reference), there is line "# WARNING: bumpers are not currently supported by Stage>=1.5". Another possibility would be to define a custom robot model and use sonar interfaces (with short range), but that wouldn't work on the actual roomba. Also, I didn't find anything in the Javaclient3Test.java, so is this even possible? Kristjan |