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.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to