[ playerstage-Bugs-2999175 ] error in computation nsec part in Simulation::GO request
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2999175, was opened at 2010-05-10 07:55 Message generated for change (Tracker Item Submitted) made by barry-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=433164&aid=2999175&group_id=42445 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: gazebo Group: trunk Status: Open Resolution: None Priority: 5 Private: No Submitted By: Barry (barry-robot) Assigned to: Nathan Koenig (natepak) Summary: error in computation nsec part in Simulation::GO request Initial Comment: I'm using trunk version 8667 of gazebo through libgazebo. I think there's an error in the computation of the nsec part in SimulationRequestData::GO in server/world.cc (introduced while fixing bug 2923653): int nsec = (req->runTime - sec) * 1e9; should be: int nsec = (req->runTime - sec*1000) * 1e6; I've attached a patch that fixes it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=433164&aid=2999175&group_id=42445 ------------------------------------------------------------------------------