farmbot-arduino-firmware/src/G00Handler.h

32 lines
569 B
C++

/*
* G00Handler.h
*
* Created on: 15 maj 2014
* Author: MattLech
*/
#ifndef G00HANDLER_H_
#define G00HANDLER_H_
#include "GCodeHandler.h"
#include "Config.h"
#include "CurrentState.h"
#include "pins.h"
#include "Config.h"
#include "Movement.h"
class G00Handler : public GCodeHandler
{
public:
static G00Handler *getInstance();
int execute(Command *);
private:
G00Handler();
G00Handler(G00Handler const &);
void operator=(G00Handler const &);
long adjustStepAmount(long);
long getNumberOfSteps(double, double);
};
#endif /* G00HANDLER_H_ */