[Pogamut-list] Credible rotation (Rotate and TurnTo command)

michal.bida pogamut-forum at diana.ms.mff.cuni.cz
Tue Jun 1 14:31:36 CEST 2010


Re: Credible rotation (Rotate and TurnTo command)

Author: michal.bida

Ok, the easist solution for you is as follows: 

To send TURNTO command do not use TurnTo class, but do it manually:

{CODE()}

int pitch = 5000; //up,down
int yaw = 0; //left, right
int roll = 0;

getAct().act(new CommandMessage() { public String toString() { return "TURNTO {Rotation " + pitch + "," + yaw + "," + roll +  "}"; } });

{CODE}

This way TurnTo command works as intended.

Best,
Michal

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=214&post_reply=1#form>





More information about the Pogamut-list mailing list