X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2Fstrat_base.h;h=efc9af451f8df62c4abb8abace50aa55797ab874;hp=908a2f6191309b4900c02b10b4a6244c61e72f21;hb=HEAD;hpb=e442b9c066de9b55eef70fdf9993fc3f6b8259e8 diff --git a/projects/microb2010/mainboard/strat_base.h b/projects/microb2010/mainboard/strat_base.h index 908a2f6..efc9af4 100644 --- a/projects/microb2010/mainboard/strat_base.h +++ b/projects/microb2010/mainboard/strat_base.h @@ -45,7 +45,7 @@ void strat_hardstop(void); #define DO_NOT_SET_POS -1000 /* Reset position. If arg == DO_NOT_SET_POS, don't update value for * it. */ -void strat_reset_pos(int16_t x, int16_t y, int16_t a); +void strat_reset_pos(int16_t x, int16_t y, double a); /* decrease gain on angle PID, and go forward until we reach the * border. */ @@ -67,6 +67,7 @@ uint8_t strat_obstacle(void); void strat_set_speed(uint16_t d, uint16_t a); void strat_get_speed(uint16_t *d, uint16_t *a); void strat_set_acc(double d, double a); +void strat_get_acc(double *d, double *a); /* when user type ctrl-c we can interrupt traj */ void interrupt_traj(void);