Projektarbeit Line Following Robot bei Prof. Chowanetz im WS22/23
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

control_module.cpp 463B

2 years ago
2 years ago
2 years ago
1234567891011121314151617181920212223242526272829
  1. #include "control_module.h"
  2. ControlModule::ControlModule(){
  3. }
  4. ControlModule::ControlModule(float forwardSpeed, float rotateSpeed, float moveSideSpeed)
  5. {
  6. this->forwardSpeed = forwardSpeed;
  7. this->rotateSpeed = rotateSpeed;
  8. this->moveSideSpeed = moveSideSpeed;
  9. }
  10. ControlModule::~ControlModule()
  11. {
  12. }
  13. void ControlModule::moveForward(){
  14. for(int i = 0; motors; i++){
  15. }
  16. };
  17. void ControlModule::moveSide(){
  18. }
  19. void ControlModule::rotate(){
  20. }