The code of Mingdao High School 53th anniversery school fair FRC basketball car,thanks for downloading this program.
Below are the controlling tips:
Teleoperated mode:everything runs on this mode. Enable it.
Autonomous mode:fuck it.It can't do anything. Don't enable it.
Burst mode:turn on when press button X or button Y.It just literally burst the car.
Auto front-and-back mode:automatically controls the car going front and back, the main mode of basketballing.
Controlling mode:you can control the car with the joystick in this mode, the main mode of adjusting and karting.
LeftStick--controls the speeding of the car(front and back), only detect Y axis motion.
RightStick--controls the turning of the car(right and left), only detect X axis motion.
Button A--start/stop the auto front-and-back mode, initially set false.
Button B--finish the command(don't touch), if accidently touched re-enable the teleoperate mode.
Button X--start/stop the burst mode when the auto front-and-back mode is started, only affective in controlling mode, initially set false.
Button Y--start/stop the burst mode when the controlling mode is started, only affective in controlling mode, initially set false.
Have fun!
明道中學53周年校慶園遊會FRC籃球機器人的程式,感謝您的下載。
下列是操作事項:
手動模式:所有東西都是在這個模式下運行的。請開啟它。
自動模式:不要理它。它什麼都不能做。請不要開啟它。
爆衝模式:當按下X鍵或Y鍵就會啟動。就如字面意義上讓車子爆衝。
自動前後模式:自動控制車子往前和往後,玩籃球時的主要模式。
操控模式:在這個模式下你可以用搖桿操控機器人,調整和玩卡丁車時的主要模式。
左搖桿--控制車子的速度(前和後),只會偵測Y軸向搖動。
右搖桿--控制車子的轉向(左和右),只會偵測X軸向移動。
A鍵--開始/停止自動前後模式,初始值為false。
B鍵--結束指令(不要按),如果不小心碰到了重啟手動模式。
X鍵--開始/停止自動前後模式時的爆衝模式,只在自動前後模式時有效,初始值為false。
Y鍵--開始/停止操控模式時的爆衝模式,只在操控模式時有效,初始值為false。
祝您玩得愉快!