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

Reply via email to