git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix kickstand
[aversive.git]
/
projects
/
microb2010
/
cobboard
/
shovel.c
diff --git
a/projects/microb2010/cobboard/shovel.c
b/projects/microb2010/cobboard/shovel.c
index
71139ab
..
42f734c
100644
(file)
--- a/
projects/microb2010/cobboard/shovel.c
+++ b/
projects/microb2010/cobboard/shovel.c
@@
-1,6
+1,6
@@
-/*
+/*
* Copyright Droids Corporation (2010)
* Copyright Droids Corporation (2010)
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@
-46,6
+46,7
@@
#define SHOVEL_DOWN 100
#define SHOVEL_MID 4500
#define SHOVEL_UP 11000
#define SHOVEL_DOWN 100
#define SHOVEL_MID 4500
#define SHOVEL_UP 11000
+#define SHOVEL_KICKSTAND 12800
static int32_t shovel_k1 = 1000;
static int32_t shovel_k2 = 20;
static int32_t shovel_k1 = 1000;
static int32_t shovel_k2 = 20;
@@
-146,7
+147,7
@@
void shovel_kickstand(void)
{
quadramp_set_1st_order_vars(&cobboard.shovel.qr, 200, 200);
quadramp_set_2nd_order_vars(&cobboard.shovel.qr, 10, 10);
{
quadramp_set_1st_order_vars(&cobboard.shovel.qr, 200, 200);
quadramp_set_2nd_order_vars(&cobboard.shovel.qr, 10, 10);
- cs_set_consign(&cobboard.shovel.cs, SHOVEL_
UP
);
+ cs_set_consign(&cobboard.shovel.cs, SHOVEL_
KICKSTAND
);
}
uint8_t shovel_is_up(void)
}
uint8_t shovel_is_up(void)