I finally found the time to put my cellsy CLOS abstraction layer to the
OpenDynamicsEngine (ODE) up on cl.net:
http://common-lisp.net/project/cells-ode/
Peter
-----
From the cells-ode project page:
Cells-ode is a CLOS abstraction layer for Thomas Atkins' cl-ode using
Ken Tilton's cells. The purpose is to treat ODE objects just like CLOS
objects with cells' data flow extensions.
cells-ode has been tested on SBCL/Linux and ACL/Windows. It does not use
implementation specific extensions, so it should be straightforward to
port to other implementations.
People
Cells-ode has been developed by Peter Hildebrandt. Thanks go to Ken
Tilton for invaluable support.
Dependencies
The dependencies are cl-ode 0.8 (asdf-install), cells 3.0 from CVS, and
cffi 0.9.2 (asdf-install) or from darcs.
Status
cells-ode is a fairly complete mapping of ODE 0.8, lacking only a few
advanced features. One of the highlights is fully transparent support
for collision detection. Among the extensions planned for the near
future are primitives for composite objects and a DSL for scene
descriptions.
Examples
In the following I will give a few usage examples taken from
test-c-ode.lisp. For example, to create a sphere object with a
corresponding mass, you might say:
(make-instance 'body :md-name :body1
:position (c-in #(0 -1 1))
:mass (c-in (make-instance 'sphere-mass :radius (c-in .5))))
;; Instead of about half a dozen ODE calls via cl-ode
Attaching a joint to body1 and body2 is straightforward, too:
(make-instance 'body :md-name :body1 :position (c-in #(10 0 .5))
:mass (make-instance 'sphere-mass :mass 30))
(make-instance 'body :md-name :body2 :position (c-in #(10.6 0 .5))
:mass (make-instance 'sphere-mass :mass .5))
(make-instance 'hinge-joint :md-name :joint
:axis #(1 0 0) :anchor #(10.5 0.5 .5)
:body-1 (obj :body1) :body-2 (obj :body2))
;; (obj :name) references objects by their md-name.
Download
You can check out the current development version from CVS:
cvs -z3 -d
····························@common-lisp.net:/project/cells-ode/cvsroot
co cells-ode
On Tue, 03 Jun 2008 16:50:36 +0200, <·················@gmail.com> wrote:
> Download
>
> You can check out the current development version from CVS:
> cvs -z3 -d
>····························@common-lisp.net:/project/cells-ode/cvsroot
> co cells-ode
Sounds interesting! But looking is a no-go
As noted on the project webpage:
cvs -z3 -d ····························@common-lisp.net:/project/cells-ode/cvsroot co cells-ode
gives:
/project/cells-ode/cvsroot: no such repository
http://common-lisp.net/cgi-bin/viewcvs.cgi/root/?cvsroot=cells-ode
404 error
--
One of the strokes of genius from McCarthy
was making lists the center of the language - kt
** Posted from http://www.teranews.com **
From: Ken Tilton
Subject: Re: Announcing cells-ode, a cells-aware CLOS interface to the OpenDynamicsEngine
Date:
Message-ID: <4845893b$0$25054$607ed4bc@cv.net>
GP lisper wrote:
> On Tue, 03 Jun 2008 16:50:36 +0200, <·················@gmail.com> wrote:
>
>>Download
>>
>>You can check out the current development version from CVS:
>>cvs -z3 -d
>>····························@common-lisp.net:/project/cells-ode/cvsroot
>>co cells-ode
>
>
> Sounds interesting! But looking is a no-go
>
> As noted on the project webpage:
> cvs -z3 -d ····························@common-lisp.net:/project/cells-ode/cvsroot co cells-ode
>
> gives:
> /project/cells-ode/cvsroot: no such repository
>
> http://common-lisp.net/cgi-bin/viewcvs.cgi/root/?cvsroot=cells-ode
> 404 error
>
>
Try: http://common-lisp.net/cgi-bin/viewcvs.cgi/?root=cells-ode
hth, kt
--
http://smuglispweeny.blogspot.com/
http://www.theoryyalgebra.com/
ECLM rant:
http://video.google.com/videoplay?docid=-1331906677993764413&hl=en
ECLM talk:
http://video.google.com/videoplay?docid=-9173722505157942928&q=&hl=en
From: Peter Hildebrandt
Subject: Re: Announcing cells-ode, a cells-aware CLOS interface to the OpenDynamicsEngine
Date:
Message-ID: <4845b235$0$90262$14726298@news.sunsite.dk>
GP lisper wrote:
> As noted on the project webpage:
> cvs -z3 -d ····························@common-lisp.net:/project/cells-ode/cvsroot co cells-ode
>
> gives:
> /project/cells-ode/cvsroot: no such repository
I have seen delays in propagating data to anonymous cvs at
common-lisp.net yesterday as well. cvs via username and ext works fine.
So I recommend using your common-lisp.net account or webcvs for now.
http://common-lisp.net/cgi-bin/viewcvs.cgi/?root=cells-ode
I will contact ·····@cl.net if the problem persists.
Peter
> http://common-lisp.net/cgi-bin/viewcvs.cgi/root/?cvsroot=cells-ode
> 404 error
>
>
From: Ken Tilton
Subject: Re: Announcing cells-ode, a cells-aware CLOS interface to the OpenDynamicsEngine
Date:
Message-ID: <4845ba01$0$25047$607ed4bc@cv.net>
Peter Hildebrandt wrote:
> GP lisper wrote:
>
>> As noted on the project webpage:
>> cvs -z3 -d
>> ····························@common-lisp.net:/project/cells-ode/cvsroot
>> co cells-ode
>>
>> gives:
>> /project/cells-ode/cvsroot: no such repository
>
>
> I have seen delays in propagating data to anonymous cvs at
> common-lisp.net yesterday as well. cvs via username and ext works fine.
>
> So I recommend using your common-lisp.net account or webcvs for now.
>
> http://common-lisp.net/cgi-bin/viewcvs.cgi/?root=cells-ode
There ya go: should be root=cells-ode, not the /cvs/root equiv shown above.
kt
--
http://smuglispweeny.blogspot.com/
http://www.theoryyalgebra.com/
ECLM rant:
http://video.google.com/videoplay?docid=-1331906677993764413&hl=en
ECLM talk:
http://video.google.com/videoplay?docid=-9173722505157942928&q=&hl=en
From: Peter Hildebrandt
Subject: Re: Announcing cells-ode, a cells-aware CLOS interface to the OpenDynamicsEngine
Date:
Message-ID: <484637f4$0$90272$14726298@news.sunsite.dk>
Peter Hildebrandt wrote:
> GP lisper wrote:
>> As noted on the project webpage:
>> cvs -z3 -d
>> ····························@common-lisp.net:/project/cells-ode/cvsroot
>> co cells-ode
>>
>> gives:
>> /project/cells-ode/cvsroot: no such repository
> I have seen delays in propagating data to anonymous cvs at
> common-lisp.net yesterday as well. cvs via username and ext works fine.
>
> So I recommend using your common-lisp.net account or webcvs for now.
> I will contact ·····@cl.net if the problem persists.
The problem with anonymous CVS appears to persist, so you can get the
latest version via WebCVS:
http://common-lisp.net/cgi-bin/viewcvs.cgi/?root=cells-ode
If you have a common-lisp.net account, you can also use CVS directly:
cvs -z3 -d
:ext:<username>@common-lisp.net:/project/<project-name>/cvsroot co <module>
Unfortunately anonymous CVS checkout appears to be broken. If you are
feeling lucky, feel free to try anyway:
cvs -z3 -d
····························@common-lisp.net:/project/cells-ode/cvsroot
co cells-ode
Thanks,
Peter