From: Matthias W. <mw...@gm...> - 2007-02-19 16:15:18
|
Hi John, thanks your answer! I didn't have a look at the player code, but now I think you are right. I used ARIA before, which has a position interface, and thought it would be in the p2os driver of player, too. I red in Pioneer Operations Manual, but the position interface isn't on the robot, but in the software, so I have to implement it myself and not just send a command. Have a nice day! Matze On 2/19/07, John Oliver <joh...@gm...> wrote: > > > Having looked at the p2os.cc code > ( > http://www.koders.com/cpp/fid4AE8C2CE41F77ED4CDA782F9D608D9E6D8D20126.aspx#L125 > ) > it seems that only PLAYER_POSITION_VELOCITY_MODE_REQ is supported and not > PLAYER_POSITION_POSITION_MODE_REQ. This seems to point towards the idea > that positional mode is not supported, again I would check on the player > stage forum with people familiar with the Pioneers to confirm this. > > Thanks again > > John > > > > John Oliver wrote: > > > > One thing that pops to mind is: I believe that type 2 subtype 2 means > that > > you are using the positional control method, as stated in the manual not > > all drivers will support it > > ( > http://playerstage.sourceforge.net/doc/Player-2.0.0/player/group__interface__position2d.html#ga16 > ), > > I dont know if its possible for the simulation to accept positional and > > the real robot not, unfortunatley I deal only with simulation. I would > > check on the player stage forum to see if the pioneer can accept > > positional commands, alternatively try using playerv to issue positional > > commands and if you get the same error this is likely to be the problem. > > > > Thanks > > > > John > > > > > > > > > > Matthias Wiedemann wrote: > >> > >> Hi! > >> > >> I downloaded the last version from SVN to have the setPosition Feature > >> for > >> Position2DInterface. > >> > >> When I test my program with Stage, everything works fine, and the robot > >> moves to the position, which was desired. On the other hand, when I try > >> it > >> with Player and the real robot (Pioneer 2DX), the command fails and the > >> output of player2.03 is: > >> > >> warning : Unhandled message for driver device=16777343:6665:4:0 type=2 > >> subtype=2 len=28 > >> > >> Does anybody has an idea, how I could get it working? > >> Thanks! > >> Matze > >> > >> > ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to share > >> your > >> opinions on IT & business topics through brief surveys-and earn cash > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Java-player-users mailing list > >> Jav...@li... > >> https://lists.sourceforge.net/lists/listinfo/java-player-users > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/setPosition-tf3234001.html#a9038600 > Sent from the java-player-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > |