From: Jelle K. <jel...@sc...> - 2003-01-27 12:28:25
|
Hi, I encountered some problems with the pointto command in the latest server (9.3.0). When an agent performs the following action (pointto 10 30) this is returned by the server: (target 10 1719) instead of (target 10 30). After diving (and almost drowning :) ) in the source code I found the cause in void BodySenderPlayerV8::sendBodyData. In this method the generated state information of the arm is serialized. The head angle of the arm information, already converted and rounded into degrees in the State class (arm.h), is for the second time converted and rounded using the macro Rad2IDegRound causing the strange returned value. Is it ok to commit this change? Jelle |