Revision: 7316 http://playerstage.svn.sourceforge.net/playerstage/?rev=7316&view=rev Author: natepak Date: 2009-02-05 23:52:42 +0000 (Thu, 05 Feb 2009)
Log Message: ----------- Initializing controllers in sensors now Modified Paths: -------------- code/gazebo/trunk/server/sensors/Sensor.cc Modified: code/gazebo/trunk/server/sensors/Sensor.cc =================================================================== --- code/gazebo/trunk/server/sensors/Sensor.cc 2009-02-05 23:52:01 UTC (rev 7315) +++ code/gazebo/trunk/server/sensors/Sensor.cc 2009-02-05 23:52:42 UTC (rev 7316) @@ -95,6 +95,9 @@ /// Initialize the sensor void Sensor::Init() { + if (this->controller) + this->controller->Init(); + this->lastUpdate = Simulator::Instance()->GetSimTime(); this->InitChild(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit