]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/robofsm/actuators.c
actlib, robottypes.{idl,ortegen}, can_ids.h: hokuyo pitch added
[eurobot/public.git] / src / robofsm / actuators.c
index 5e341ce778ecae2e4f3c49a027b3d617ebb1c040..a54d500dbfd38fa726786d3c2eb0a0f67f2cfe87 100644 (file)
@@ -52,3 +52,9 @@ void act_pusher(unsigned short int position)
        ORTEPublicationSend(orte->publication_pusher);
 }
 
+void act_hokuyo(unsigned char angle)
+{
+       orte->hokuyo_pitch.angle = angle;
+       ORTEPublicationSend(orte->publication_hokuyo_pitch);
+}
+