From: BenW2 <voi...@go...> - 2009-12-11 13:19:34
|
Hi, Just encountering this problem now, did you find a solution? Im trying to force a cast in the code, but with no luck so far. Thanks Kamil Muszyński wrote: > > Hi, > > just to inform - after last change in data type of SimTime in simulation, > audio controller (Audio.cc, line 160) won't compile because of incorrect > types in assignment... > > Regards, > > KM > -- View this message in context: http://old.nabble.com/Audio-module-issue-%28svn---rev-8443%29-tp26533643p26744144.html Sent from the playerstage-gazebo mailing list archive at Nabble.com. |
From: BenW2 <voi...@go...> - 2009-12-11 13:57:46
|
Worked it out.... pretty simple really once you find the right files change line 160 from this: this->audioIface->data->head.time = Simulator::Instance()->GetSimTime(); to this: this->audioIface->data->head.time = Simulator::Instance()->GetSimTime().Double(); BenW2 wrote: > > Hi, > > Just encountering this problem now, did you find a solution? Im trying to > force a cast in the code, but with no luck so far. > > Thanks > > > Kamil Muszyński wrote: >> >> Hi, >> >> just to inform - after last change in data type of SimTime in simulation, >> audio controller (Audio.cc, line 160) won't compile because of incorrect >> types in assignment... >> >> Regards, >> >> KM >> > > -- View this message in context: http://old.nabble.com/Audio-module-issue-%28svn---rev-8443%29-tp26533643p26744710.html Sent from the playerstage-gazebo mailing list archive at Nabble.com. |