Voili voilou
Dependencies: RoboClaw StepperMotor mbed
Fork of Robot2016_2-0 by
Map/Obstacles/Obstacle.cpp@11:9c70a7f4d7aa, 2016-01-05 (annotated)
- Committer:
- IceTeam
- Date:
- Tue Jan 05 15:48:25 2016 +0100
- Revision:
- 11:9c70a7f4d7aa
Ajout du fichier parent
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 |