[ODE] problem in Calling dsSimulationLoop in loop

Kuldip kuldip at cse.iitk.ac.in
Sat Jan 1 17:43:22 MST 2005


Thanks Tim,

But by calling dsSImulation in a loop doesn't open multiple windows. It 
opens a window and then closes and opens a new one and closes it  and so 
on...

Actully I am using ODE for Evolutionary robotics so to view the gait of the 
robot in between the evolution I need to call the dsSimulation in a loop.

Can you throw soem more light  on the same?

Thnaks & Regards
~Kuldip
-------------
"Don't unplug me from Matrix... Atleast I can dream..."

Kuldip Patel
M.Tech CSE, IIT Kanpur


----- Original Message ----- 
From: "Tim Rightnour" <root at garbled.net>
To: "Kuldip" <kuldip at cse.iitk.ac.in>
Cc: <ode at q12.org>
Sent: Friday, December 31, 2004 9:03 PM
Subject: RE: [ODE] problem in Calling dsSimulationLoop in loop


>
> On 28-Dec-2004 Kuldip wrote:
>> I am calling dsSimulationLoop from a for loop but when the number of 
>> calls
>> exceeds 232. It throws follwoing error.
>
> I think dsSimulationLoop creates a new Xwindow ID each time it is called. 
> You
> are probably creating 232 new windows, and then:
>
>> Xlib: Connection to "localhost:10.0" refused by server
>> Xlib: Maximum number of clients reached
>
> You hit the server max.  If you look at the examples, they only call
> dsSimulationLoop once from main.
>
> ---
> Tim Rightnour <root at garbled.net>
> NetBSD: Free multi-architecture OS http://www.netbsd.org/
> Genecys: Open Source 3D MMORPG: http://www.genecys.org/ 



More information about the ODE mailing list