Hello, Thanks for the fix. Your change has been put back to Gazebo SVN.
-nate On Thu, Jun 4, 2009 at 4:19 AM, adeline<ad_paiem...@yahoo.fr> wrote: > > Hi, > > I am working with Gazebo SVN and Player 2.1 and I found a problem with the > SimulationInterface in Gazebo: > > SimulationInterface.cc, in ProcessMessage() where the > PLAYER_SIMULATION_REQ_GET_PROPERTY message is processed, > SimulationData::simTime, SimulationData::pauseTime and > SimulationData::realTime are copied as double (memcpy(req->value, > &this->iface->data->simTime, sizeof(double));) but they are float. This > results in player getting bad values for them. > > Defining them as double in gazebo.h solved my problem, but maybe there was a > good reason for them being defined as float? > > Adeline > -- > View this message in context: > http://www.nabble.com/Bug-with-SimulationData-and-SimulationInterface-tp23867988p23867988.html > Sent from the playerstage-gazebo mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Playerstage-gazebo mailing list > Playerstage-gazebo@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Playerstage-gazebo mailing list Playerstage-gazebo@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo