]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/cand/eb2008/cand_eb2008.cc
Now it's possible to set the speed of laser motors.
[eurobot/public.git] / src / cand / eb2008 / cand_eb2008.cc
index 02e49d2c6072ccb4bb574ed2dc77721440c2347c..060cab392cd02755a8449ea95cd7f3466fa014fe 100644 (file)
@@ -141,7 +141,7 @@ int set_laser_cmd(struct eb2008_orte_data *orte_data)
 {
        unsigned char data[1];
 
-       data[0] = orte_data->laser_cmd.engine;
+       data[0] = orte_data->laser_cmd.speed;
        can_send(CAN_LAS_CMD, 1, data);
 
        return 0;