merge
[aversive.git] / projects / microb2010 / tests / test_board2008 / actuator.h
1 /*  
2  *  Copyright Droids Corporation (2009)
3  * 
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 2 of the License, or
7  *  (at your option) any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  *
18  *  Revision : $Id: actuator.h,v 1.2 2009-04-24 19:30:41 zer0 Exp $
19  *
20  */
21
22 void pwm_set_and_save(void *pwm, int32_t val);
23 void pickup_wheels_on(void);
24 void pickup_wheels_off(void);
25
26 void fessor_set(void *dummy, int32_t cmd);
27 void fessor_manage(void);
28 void fessor_up(void);
29 void fessor_down(void);
30 void fessor_stop(void);
31 void fessor_auto(void);
32 void fessor_init(void);
33 void fessor_autopos(void);
34 void fessor_dump_params(void);
35
36 void fessor_set_coefs(uint32_t k1, uint32_t k2);
37 void fessor_set_delays(uint32_t delay_up, uint32_t delay_down);
38 void fessor_set_pos(uint32_t pos_up, uint32_t pos_down);
39
40
41 void elevator_set(void *dummy, int32_t cmd);
42 void elevator_manage(void);
43 void elevator_up(void);
44 void elevator_down(void);
45 void elevator_stop(void);
46 void elevator_auto(void);
47 void elevator_init(void);
48 void elevator_autopos(void);
49 void elevator_dump_params(void);
50
51 void elevator_set_coefs(uint32_t k1, uint32_t k2);
52 void elevator_set_delays(uint32_t delay_up, uint32_t delay_down);
53 void elevator_set_pos(uint32_t pos_up, uint32_t pos_down);