mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-06-28 05:09:32 +00:00
test
This commit is contained in:
@ -40,8 +40,8 @@ typedef struct Current {
|
||||
Current current;
|
||||
|
||||
|
||||
extern uint8_t Vz1;
|
||||
extern uint8_t Vz2;
|
||||
extern int16_t Vz1;
|
||||
extern int16_t Vz2;
|
||||
void doShot(Shot* shot){
|
||||
SetServo(0, shot->rotationHorizontal);
|
||||
SetServo(1, shot->rotationVertical);
|
||||
@ -89,7 +89,8 @@ void startShooting(){
|
||||
void stopShooting(){
|
||||
isShooting = 0;
|
||||
isPause = 0;
|
||||
|
||||
setScrewkSpeed(0);
|
||||
setRollersSpeed(100,100);
|
||||
setPosDefault();
|
||||
Vz1 = 100;
|
||||
Vz2 = 100;
|
||||
|
Reference in New Issue
Block a user