orte = ortedata;
}
-void act_lift(unsigned position)
+void act_lift(unsigned short int position)
{
orte->lift.pos = position;
ORTEPublicationSend(orte->publication_lift);
}
-void act_chelas(unsigned left, unsigned right)
+void act_chelas(unsigned char left, unsigned char right)
{
orte->chelas.left = left;
orte->chelas.right = right;
ORTEPublicationSend(orte->publication_chelas);
}
-void act_belts(int left, int right)
+void act_belts(unsigned char left, unsigned char right)
{
orte->belts.left = left;
orte->belts.right = right;
ORTEPublicationSend(orte->publication_belts);
}
-void act_holder(unsigned position)
+void act_holder(unsigned char position)
{
orte->holder.pos = position;
ORTEPublicationSend(orte->publication_holder);
}
-void act_pusher(unsigned position)
+void act_pusher(unsigned short int position)
{
orte->pusher.pos = position;
ORTEPublicationSend(orte->publication_pusher);
}
/* FIXME: temporary function (LPCs not ready yet) */
-void act_picker(unsigned leftchela, unsigned rightchela, unsigned leftbelt, unsigned rightbelt, unsigned timeout)
+void act_picker(unsigned char leftchela, unsigned char rightchela,
+ unsigned char leftbelt, unsigned char rightbelt,
+ unsigned char timeout)
{
orte->picker.leftchela = leftchela;
orte->picker.rightchela = rightchela;
void act_init(struct robottype_orte_data *ortedata);
-void act_lift(unsigned position);
-void act_chelas(unsigned left, unsigned right);
-void act_belts(int left, int right);
-void act_holder(unsigned position);
-void act_pusher(unsigned position);
+void act_lift(unsigned short int position);
+void act_chelas(unsigned char left, unsigned char right);
+void act_belts(unsigned char left, unsigned char right);
+void act_holder(unsigned char position);
+void act_pusher(unsigned short int position);
/* FIXME: temporary function (LPCs not ready yet) */
-void act_picker(unsigned leftchela, unsigned rightchela, unsigned leftbelt, unsigned rightbelt, unsigned timeout);
+void act_picker(unsigned char leftchela, unsigned char rightchela,
+ unsigned char leftbelt, unsigned char rightbelt,
+ unsigned char timeout);
#ifdef __cplusplus
}