diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-24 11:42:23 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-24 11:42:23 +0200 |
commit | 40f6164ba6187a0160af9fe200bbd1d729e8c03b (patch) | |
tree | 84246633f40cb0c5d858168f63a5933d18006db3 /robot/mode_chrg.c | |
parent | 2e537232404bf5123bc92e7218156ec03160c68f (diff) |
added TARQ to robot and client
Diffstat (limited to 'robot/mode_chrg.c')
-rw-r--r-- | robot/mode_chrg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/robot/mode_chrg.c b/robot/mode_chrg.c index a5910f2..c41c0f7 100644 --- a/robot/mode_chrg.c +++ b/robot/mode_chrg.c @@ -4,7 +4,7 @@ #include "movement.h" #include "orangutan_shim.h" -int g_w2_charged_status; //used to detect the charging station (once) +int g_w2_charged_status; // used to detect the charging station (once) void w2_short_drive() { set_motors(50, 50); @@ -12,7 +12,7 @@ void w2_short_drive() { set_motors(0, 0); } -//charging station +// charging station void w2_home() { set_motors(0, 0); delay_ms(150); @@ -25,7 +25,7 @@ void w2_home() { delay_ms(2000); } -//crosswalk from charging station back to maze +// crosswalk from charging station back to maze void w2_charge_cross_walk() { if (g_w2_transition == 0) { set_motors(-30, 30); @@ -55,7 +55,7 @@ void w2_charge_cross_walk() { } } -//main function for charge mode +// main function for charge mode void w2_mode_chrg() { unsigned int last_proportional = 0; long integral = 0; |