RoboidControl
Loading...
Searching...
No Matches
d:/PlatformIO/RoboidControl/SynchronizedMotors.h
Go to the documentation of this file.
1#pragma once
2
3#include "Motor.h"
4
5namespace Passer {
6namespace RoboidControl {
7
8class SynchronizedMotors : public Motor {
9public:
10 SynchronizedMotors(Motor *primaryMotor, Motor *secondaryMotor);
11 virtual void SetTargetSpeed(float speed) override;
12
13protected:
14 unsigned char motorCount;
16};
17
18} // namespace RoboidControl
19} // namespace Passer
20using namespace Passer::RoboidControl;
A Motor is a Thing which can move parts of the Roboid.
Definition Motor.h:12
Definition SynchronizedMotors.h:8
Motor ** motors
Definition SynchronizedMotors.h:15
unsigned char motorCount
Definition SynchronizedMotors.h:14
virtual void SetTargetSpeed(float speed) override
Set the target motor speed.
Definition SynchronizedMotors.cpp:9
Definition Accelerometer.h:7
Definition AbsoluteEncoder.h:5