Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
shared/Diff2/Diff2.h
- Committer:
- e2011220
- Date:
- 2021-04-14
- Revision:
- 0:ee7e9405e1c7
File content as of revision 0:ee7e9405e1c7:
#ifndef DIFF2_H_
#define DIFF2_H_
#include <shared/Movement/Movement.h>
#include <shared/Wheel/Wheel.h>
class Diff2 : public Movement
{
public:
enum
{
L,
R,
NUM
};
Diff2(MD *md[NUM]);
Diff2(MD *md_L, MD *md_R);
Diff2(Wheel *wheel[NUM]);
virtual void move(double x, double y, double yaw);
private:
Wheel *wheel[NUM];
};
#endif