Hello Ben, How are you handling the issue of attaching callbacks to collisions? I've only briefly thought about this, and would have initially tried using boost callbacks. However, I'm not sure if this is the best approach.
Thanks, -nate On Tue, Jun 3, 2008 at 1:33 PM, Benjamin Kloster <[EMAIL PROTECTED]> wrote: > Brett Graham schrieb: >> Is there an interface that will allow me to 'watch' for a collision is >> gazebo 0.7.0? I want to be able to record whenever a flying robot >> comes into contact with another flying robot or obstacle. Thanks for >> your help!! >> >> > I am working on something like that, but it's not done yet and I still > have to pack up some other patches for Gazebo before submitting this > contact sensor as it depends on them. If you don't want (or can't) wait, > you'll have to look at the CollisionCallback function in (I believe) > server/physics/ode/ODEPhysics.cc (or something like that, not sure about > the directory and filename) and modify it to notify your control program > when one of the colliding bodies is your robot. > > Good luck, > Ben > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
