ganbaru
Dependencies: omni_wheel jy901 solenoid aqm0802 camera beep kohiMD linesSnsor lpf RCJESC
Robot/robot.cpp@0:ac64597d2ef8, 2020-01-29 (annotated)
- Committer:
- piroro4560
- Date:
- Wed Jan 29 23:44:11 2020 +0000
- Revision:
- 0:ac64597d2ef8
ganbaru;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
piroro4560 | 0:ac64597d2ef8 | 1 | #include "robot.h" |
piroro4560 | 0:ac64597d2ef8 | 2 | |
piroro4560 | 0:ac64597d2ef8 | 3 | robot::robot() |
piroro4560 | 0:ac64597d2ef8 | 4 | : kohiMD, |
piroro4560 | 0:ac64597d2ef8 | 5 | : solenoid, |
piroro4560 | 0:ac64597d2ef8 | 6 | : esc, |
piroro4560 | 0:ac64597d2ef8 | 7 | : ui |
piroro4560 | 0:ac64597d2ef8 | 8 | { |
piroro4560 | 0:ac64597d2ef8 | 9 | |
piroro4560 | 0:ac64597d2ef8 | 10 | } |
piroro4560 | 0:ac64597d2ef8 | 11 | |
piroro4560 | 0:ac64597d2ef8 | 12 | void robot::chaseBall(float ball_theta, float r, ) |
piroro4560 | 0:ac64597d2ef8 | 13 | { |
piroro4560 | 0:ac64597d2ef8 | 14 | |
piroro4560 | 0:ac64597d2ef8 | 15 | } |
piroro4560 | 0:ac64597d2ef8 | 16 | |
piroro4560 | 0:ac64597d2ef8 | 17 | void robot::move2goal(float r, float goal_size, float goal_) |
piroro4560 | 0:ac64597d2ef8 | 18 | { |
piroro4560 | 0:ac64597d2ef8 | 19 | |
piroro4560 | 0:ac64597d2ef8 | 20 | } |
piroro4560 | 0:ac64597d2ef8 | 21 | |
piroro4560 | 0:ac64597d2ef8 | 22 | void robot::outLine(float r, line) |
piroro4560 | 0:ac64597d2ef8 | 23 | { |
piroro4560 | 0:ac64597d2ef8 | 24 | |
piroro4560 | 0:ac64597d2ef8 | 25 | } |
piroro4560 | 0:ac64597d2ef8 | 26 | |
piroro4560 | 0:ac64597d2ef8 | 27 | void robot::shotBall() |
piroro4560 | 0:ac64597d2ef8 | 28 | { |
piroro4560 | 0:ac64597d2ef8 | 29 | |
piroro4560 | 0:ac64597d2ef8 | 30 | } |