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/OnOffMovement/OnOffMovement.h
- Committer:
- e2011220
- Date:
- 2021-04-14
- Revision:
- 0:ee7e9405e1c7
File content as of revision 0:ee7e9405e1c7:
#ifndef ONOFFMOVEMENT_H_
#define ONOFFMOVEMENT_H_
#include <shared/AutomaticMovement/AutomaticMovement.h>
class OnOffMovement : public AutomaticMovement
{
public:
OnOffMovement(Movement *movement);
virtual ~OnOffMovement(){}
virtual Eigen::Vector3d move_automatic(Eigen::Vector3d current_position);
void set_near_distance(Eigen::Vector3d near_distance);
void set_speed(Eigen::Vector3d speed);
private:
Eigen::Vector3d _near_distance;
Eigen::Vector3d _speed;
};
#endif