]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
robomon: fix macros to change laser speed.
authorTran Duy Khanh <trandk1@fel.cvut.cz>
Thu, 1 May 2008 15:07:33 +0000 (17:07 +0200)
committerTran Duy Khanh <trandk1@fel.cvut.cz>
Thu, 1 May 2008 15:07:33 +0000 (17:07 +0200)
src/robomon/src2/RobomonExplorer.cpp

index 1c53b546509564d0fc667f029294b08928f92a9c..c5fec59d3b4e1e161a8516387f2ca70d0847cdaa 100644 (file)
@@ -662,9 +662,9 @@ void RobomonExplorer::setDO(int state)
 void RobomonExplorer::setLaser(int state) {
 
        if(state)
-               orte_eb2008.laser_cmd.speed = LASER_ENGINE_ON;
+               orte_eb2008.laser_cmd.speed = LASER_DRIVE_ON;
        else
-               orte_eb2008.laser_cmd.speed = LASER_ENGINE_OFF;
+               orte_eb2008.laser_cmd.speed = LASER_DRIVE_OFF;
        ORTEPublicationSend(orte_eb2008.publication_laser_cmd);
 }