Subversion Repositories shark

Rev

Rev 1306 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1284 giacomo 1
/*
2
 * Project: S.Ha.R.K.
3
 *
4
 * Coordinators: Giorgio Buttazzo <giorgio@sssup.it>
5
 *
6
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
7
 *
8
 * http://www.sssup.it
9
 * http://retis.sssup.it
10
 * http://shark.sssup.it
11
 */
12
 
13
/*
14
 * Copyright (C) 2000 Paolo Gai
15
 *
16
 * This program is free software; you can redistribute it and/or modify
17
 * it under the terms of the GNU General Public License as published by
18
 * the Free Software Foundation; either version 2 of the License, or
19
 * (at your option) any later version.
20
 *
21
 * This program is distributed in the hope that it will be useful,
22
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
 * GNU General Public License for more details.
25
 *
26
 * You should have received a copy of the GNU General Public License
27
 * along with this program; if not, write to the Free Software
28
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29
 *
30
 */
31
 
32
#include "kernel/kern.h"
33
#include "drivers/keyb.h"
34
 
35
#include "servo.h"
36
 
1329 giacomo 37
void set_leg_position(double px, double py, double pz);
38
 
1284 giacomo 39
int main () {
40
 
41
  char ch;
42
 
1329 giacomo 43
  set_leg_position(10.0,0.0,0.0);
1284 giacomo 44
 
45
  ch = keyb_getch(BLOCK);
46
 
1329 giacomo 47
  set_leg_position(10.0,0.0,10.0);
48
 
1284 giacomo 49
  ch = keyb_getch(BLOCK);
50
 
1329 giacomo 51
  set_leg_position(10.0,0.0,-10.0);
52
 
1284 giacomo 53
  ch = keyb_getch(BLOCK);
54
 
55
  return 0;
56
 
57
}
58