robot code for summer school
Dependencies: PM2_Libary Eigen
Fork of PM2_Example_Summer_School by
Diff: Robot_Library/robot.cpp
- Revision:
- 54:b442660523df
- Parent:
- 49:7da71f479dac
- Child:
- 57:8bf0b5a70065
--- a/Robot_Library/robot.cpp Wed May 25 11:36:19 2022 +0200 +++ b/Robot_Library/robot.cpp Thu May 26 14:48:31 2022 +0200 @@ -51,6 +51,14 @@ } +Robot::~Robot() +{ + delete trajectoryPlanners[0]; + delete trajectoryPlanners[1]; + delete speedControllers[0]; + delete speedControllers[1]; +} + void Robot::Update() { controller.Update();