Sorry for the late reply. Probably this issue is the reason for it:
in ODEHingeJoint.cc
void ODEHingeJoint::SetVelocity(int /*index*/, double angle)
{
this->SetParam(angle, dParamVel);
}
must be:
void ODEHingeJoint::SetVelocity(int /*index*/, double angle)
{
this->SetParam(dParamVel, angle);
}
I just added it to the Bug tracker.
... and don't forget to enable the controller.
Regards
Stefan
Am Dienstag, den 26.01.2010, 12:44 +0100 schrieb Luis Manso:
> I supposed it was something like that, but since I don't have a clue about
> physics simulation I didn't know were to look. Your proposal seems more than
> reasonable, but surprisingly it didn't fix the problem for me. It doesn't
> matter the speed I command to the robot, its bounding box keeps still.
>
> Thank you very much for your answer.
>
>
>
> Dear Luis,
> >
> > I had the same problem last week and I discovered that the automatic
> > disabling of objects in ODE (to save computation time) was the reason, why I
> > couldn't move the robot.
> > A quick hack is to switch of the dWorldSetAutoDisableFlag in ODEPhysics.cc.
> > The disabling makes sense in principle, but it is not "re-enabled" (as far
> > as I can see) as soon as the controller sends new commands.
> >
> > Regards,
> >
> > Stefan
> >
> >
> > ----- Original Nachricht ----
> > Von: Luis Manso <[email protected]>
> > An: [email protected]
> > Datum: 25.01.2010 17:01
> > Betreff: [PlayerStage-Gazebo] Position interface not working
> >
> > > Hello,
> > >
> > > I have been successfully using Gazebo rev-8335 for some time. Recently I
> > > updated to version 0.10 and the position interface doesn't move the robot
> > > anymore. I also have the same problem with the current svn version. If I
> > go
> > > back and install rev-8335 everything goes back to normal.
> > >
> > > I tried to move the robot using libgazebo both with the software I've
> > been
> > > using for months and with the example in examples/libgazebo. In order to
> > > try
> > > to find the problem I included some printf's
> > > in Differential_Position2d::UpdateChild()
> > > and Differential_Position2d::GetPositionCmd(), so I can see how the
> > example
> > > program is updating the position command. Thus, I think it is highly
> > > improbable that is a example program related problem.
> > >
> > > Does anyone know what is happening or what to do to find the bug?
> > >
> > > I've tried lots of word files with different robots.
> > >
> > > Thanks in advance
> > >
> > ----------------------------------------------------------------------------
> > > --
> > > Throughout its 18-year history, RSA Conference consistently attracts the
> > > world's best and brightest in the field, creating opportunities for
> > > Conference
> > > attendees to learn about information security's most important issues
> > > through
> > > interactions with peers, luminaries and emerging and established
> > companies.
> > > http://p.sf.net/sfu/rsaconf-dev2dev
> > > _______________________________________________
> > > Playerstage-gazebo mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > >
> >
> >
> > ------------------------------------------------------------------------------
> > The Planet: dedicated and managed hosting, cloud storage, colocation
> > Stay online with enterprise data centers and the best network in the
> > business
> > Choose flexible plans and management services without long-term contracts
> > Personal 24x7 support from experience hosting pros just a phone call away.
> > http://p.sf.net/sfu/theplanet-com
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo