From: Yuan X. <xuy...@gm...> - 2007-05-29 16:30:07
|
Hi Jan and all, > > We will only have Linux PCs (2.8GHZ, P4) in Atlanta. > Thanks for your information ;-) > > Timing problems? Sometimes the mouse movements have an effect after some > time, ie. you move the mouse, nothing happens, but some time later the > camera suddenly jerks somewhere (you usually don't want it to be). > I do a test, I logged some information in InputControl::StartCycle(). When the monitor do not respond the keyboard and mouse, the simulation runs smoothly, but can not get any other input from the SDL, except the SDLTimer. I think the reason is the SDL can not create the event in real time when the system is very busy. And the SDLTimer does not work like other SDL devices( set the callback by SDL_SetEventFilter ), so it still works. This can explain why you can see the 6 agents and server works properly if you do not change the camera. About the server crash problem while agent connecting, I think we can save the action firstly, and then in method PrePhysicsUpdateInternal realize the action. It just like the DriveEffector do. I changed the InitEffector and SingleMatInitEffector in this way, the crash problem do not happen again. However, other effectors, such like hingEffector and UniversalJointEffector, calls the ODE functions directly, they are seems OK. It is better that all the effectors save the action firstly, I think. Do you agree with me? and then I can make a new patch. > > I agree with the proposal. It makes the model more realistic. > (In addition we may use it to get rid of the fixed joint connecting the > head to the torso.) > Yeah,and maybe the vision perceptor can be placed in the head. :-) -- Best wishes! Xu Yuan School of Automation Southeast University, Nanjing, China mail: xuy...@gm... xy...@ya... web: http://xuyuan.cn.googlepages.com -------------------------------------------------- |