[Opensim-dev] TimerEvent to slow, do/while faster.

2012-07-16 Thread R.Gunther
I work on some project that move prims. Right now i do it with small do/while loop. thats the fastest way to move a prim smooth. But have technical some problems. If i move the prim with timer event. and i have set it to 0.01 because its anyway not seems todo much below 0.5 not sure whats the

Re: [Opensim-dev] TimerEvent to slow, do/while faster.

2012-07-17 Thread Justin Clark-Casey
If you want to increase timer resolution the current thing to do would be to change cmdHandlerThreadCycleSleepms = 100; in AsyncCommandManager.ReadConfig(). It appears that configurability was disabled almost 4 years ago for reasons unknown. The fact that it's 100 means that you can never ge

Re: [Opensim-dev] TimerEvent to slow, do/while faster.

2012-07-17 Thread R.Gunther
On 2012-07-18 01:31, Justin Clark-Casey wrote: If you want to increase timer resolution the current thing to do would be to change cmdHandlerThreadCycleSleepms = 100; Intressting, then i get the question why it seems the event " not_at_target" seems to have o restriction. with that function i

Re: [Opensim-dev] TimerEvent to slow, do/while faster.

2012-07-17 Thread Justin Clark-Casey
not_at_target is currently triggered through the main scene rather than in the aync lsl command thread. So it will fire at least every 1/11 of a second. For some reason, the target check is also performed at SceneObjectGroup.ScheduleGroupForUpdate() so it may fire even more often. Looking bri

Re: [Opensim-dev] TimerEvent to slow, do/while faster.

2012-07-18 Thread Dahlia Trimble
There's a setting which can be added to the [XEngine] section of the OpenSim.ini file: MinTimerInterval = 0.5 Note that if you have high speed timers and you do scene updates with them, you will likely overflow queues in many places and cause all sorts of problems. I seem to not have too many prob

Re: [Opensim-dev] TimerEvent to slow, do/while faster.

2012-07-18 Thread Justin Clark-Casey
Good point about MinTimerInterval - I wasn't aware of that. So timers can't be less than 500 ms unless you change that parameter, and even then you couldn't get below 100ms without starting to tweak things in code. On 18/07/12 20:02, Dahlia Trimble wrote: There's a setting which can be added

Re: [Opensim-dev] TimerEvent to slow, do/while faster.

2012-07-21 Thread Mike Higgins
So I finally got around to playing with not_at_target. As R.Gunther noted, timer is too slow and not_at_target is too fast. I tried putting a sleep(0.1) in at the start of not_at_target, but the motion was jerky. I tried putting it in at the end, still very uneven. Then I tried the scheme i