Re: Could some body help please ?

"joseoomartin" <[email protected]> Fri, 03 Sep 2004 13:40:18 -0000
Newsgroups gmane.comp.cybernetics.webot.contest
Message-ID <[email protected]>
Hi, olivier.

Yes it looks strange, by now i have used the source code an we have
progammed the class by my self.

of curse now a do not have the problem.

so, dont worry about that, it seems that this version of the library
is unstable...

thanks...

--- In [email protected], Olivier Michel
<Olivier.Michel@c...> wrote:
> That sounds strange... Do you know exactly what makes the 
> NormalDistribution constructor ? Does it create new Threads or makes 
> other system related things ? If you have access to the source code of 
> this constructor, I would recommand you to add a few 
> System.err.println() statements to better understand where and why it 
> crashes...
> 
> -Olivier
> 
> joseoomartin wrote:
> 
> >Thanks FireManFreed, but i am sure that this library is in the
classpath, 
> >
> >The fact is that i can use every funtcion is this library but if i put
> >the instruction:
> >
> >   Probs= new NormalDistribution[11][94];
> >
> >the robot controller is aborted with out any exception
> >
> >if a do not put this instruction the the controller works well ,
> >except that when i try to assign values to the array , a null pointer
> >assignement is raised becasue i am not initiallizing the array, (of
> >course).
> >
> >So i can not initialize the array ?
> >why ?
> >
> >
> >
> >
> >--- In [email protected], "gboban" <gboban@g...> wrote:
> >  
> >
> >>My first guess would be that library you are using is jar file and
> >>    
> >>
> >is not
> >  
> >
> >>included in classpath, so controller can't use classes from this jar
> >>    
> >>
> >file
> >  
> >
> >>within webots. I don't use any additional libraries in my
controller, so
> >>probably someone who does, could provide better insight.
> >>
> >>FiremanFred
> >>
> >>
> >>----- Original Message -----
> >>From: "joseoomartin" <joseamartin@c...>
> >>To: <[email protected]>
> >>Sent: Thursday, September 02, 2004 3:52 PM
> >>Subject: [webots-contest] Could some body help please ?
> >>
> >>
> >>    
> >>
> >>>I am using the library Jsci.
> >>>
> >>>there is a class NormalDistribution.
> >>>
> >>>but if i try to initialize the size of the array, webots aborts the
> >>>robot controller with out any possibility of reading any error.
> >>>
> >>>I have proved this class outside webots and this instruction works
> >>>      
> >>>
> >well
> >  
> >
> >>>          Probs= new NormalDistribution[11][94];
> >>>
> >>>but if i write this intruction on webots, the robot controller is
> >>>aborted, and no chance of catching any expeption is possible.
> >>>
> >>>Could some body help ?...
> >>>
> >>>Thanks...
> >>>
> >>>      
> >>>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/pU_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/webots-contest/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/