Hello, Just for kicks, could you grab the latest version of the code and try again. Your model works fine for me, so I might have fixed something.
I also just put a PTZ interface into Gazebo. The controller needs to be written, but the libgazebo and player interfaces exist. -nate On Nov 25, 2007 6:24 AM, Kristen Stubbs <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm using the SVN version of Gazebo, and I'd like to be able to pan and > tilt a camera. As far as I can tell, the camera interface doesn't > provide any way to set the camera's pose. > > - Does anyone have or know of a Gazebo 0.8-compatible PTU model and > controller that I could use? > > - I have tried to create my own PTU model (with the thought that I could > mount a camera on it later) based on the online documentation and the > pioneer model (attached). I tried to create two bodies and join them > with a hinge2 joint, but I receive the following error when trying to > display the model: > > gazebo: ../../OgreMain/include/OgreAxisAlignedBox.h:239: void > Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const > Ogre::Vector3&): Assertion `(min.x <= max.x && min.y <= max.y && min.z > <= max.z) && "The minimum corner of the box must be less than or equal > to maximum corner"' failed. > > I receive this same error even if I delete the joint and just display > the two bodies. Basically stacking two bodies on top of one another > seems not to work for me. It almost looks like the top body is trying > to fall through the lower body, or something. > > Any suggestions of how to directly set the camera pose, or how to create > a PTU, would be much appreciated. Thanks! > > Sincerely, > Kristen > > > -- > Kristen N. Stubbs > Ph.D. Candidate > Robotics Institute > Carnegie Mellon University > http://www.cs.cmu.edu/~kristen > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > Playerstage-gazebo mailing list > Playerstage-gazebo@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Playerstage-gazebo mailing list Playerstage-gazebo@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo