Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Map/Obstacles/Obstacle.cpp@45:b53ae54062c6, 2016-04-13 (annotated)
- Committer:
- sype
- Date:
- Wed Apr 13 12:47:47 2016 +0000
- Revision:
- 45:b53ae54062c6
- Parent:
- 11:9c70a7f4d7aa
Impl?mentation des dispositifs finie
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
IceTeam | 11:9c70a7f4d7aa | 1 | #include "Obstacle.h" |
IceTeam | 11:9c70a7f4d7aa | 2 | |
IceTeam | 11:9c70a7f4d7aa | 3 | Obstacle::Obstacle(float robotRadius, int id) |
IceTeam | 11:9c70a7f4d7aa | 4 | { |
IceTeam | 11:9c70a7f4d7aa | 5 | this->robotRadius = robotRadius; |
IceTeam | 11:9c70a7f4d7aa | 6 | this->id = id; |
IceTeam | 11:9c70a7f4d7aa | 7 | this->active = true; |
IceTeam | 11:9c70a7f4d7aa | 8 | bigShape = true; |
IceTeam | 11:9c70a7f4d7aa | 9 | smoothBigShape = false; |
IceTeam | 11:9c70a7f4d7aa | 10 | } |
IceTeam | 11:9c70a7f4d7aa | 11 | |
IceTeam | 11:9c70a7f4d7aa | 12 | Obstacle::~Obstacle() |
IceTeam | 11:9c70a7f4d7aa | 13 | { |
IceTeam | 11:9c70a7f4d7aa | 14 | |
IceTeam | 11:9c70a7f4d7aa | 15 | } |
IceTeam | 11:9c70a7f4d7aa | 16 |