#ifndef AJK_FPOINTER_H
#define AJK_FPOINTER_H
+
#ifndef NULL
#define NULL 0
#endif
+
+#include <cstdint>
+
namespace AjK {
class FPointerDummy;
#include "modules/robot/Planner.h"
#include "modules/robot/Robot.h"
#include "modules/robot/Stepper.h"
+#include "mri.h"
#include <array>
#define THEKERNEL Kernel::instance
#define EVENT(name, func) virtual void func (void*);
#include "Event.h"
#undef EVENT
- Kernel * kernel;
};
#endif
*/
+#include "StepTicker.h"
using namespace std;
#include <vector>
+
#include "libs/nuts_bolts.h"
#include "libs/Module.h"
#include "libs/Kernel.h"
-#include "StepTicker.h"
+#include "StepperMotor.h"
+
#include "system_LPC17xx.h" // mbed.h lib
#include <mri.h>
using namespace std;
#include <vector>
-#include "libs/nuts_bolts.h"
+
#include "libs/Module.h"
-#include "libs/Kernel.h"
-#include "libs/StepperMotor.h"
+
+class StepperMotor;
class StepTicker{
public:
Smoothie is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Smoothie. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "mri.h"
-#include "libs/Kernel.h"
#include "StepperMotor.h"
+
+#include "Kernel.h"
#include "MRI_Hooks.h"
// A StepperMotor represents an actual stepper motor. It is used to generate steps that move the actual motor at a given speed
#ifndef STEPPERMOTOR_H
#define STEPPERMOTOR_H
-#include "libs/Kernel.h"
#include "libs/Hook.h"
+#include "Pin.h"
class StepTicker;
+class Hook;
class StepperMotor {
public:
#include "Block.h"
#include "Planner.h"
#include "Conveyor.h"
+#include "StepperMotor.h"
#define acceleration_checksum CHECKSUM("acceleration")
#define max_jerk_checksum CHECKSUM("max_jerk")
#include "libs/Module.h"
#include "libs/Kernel.h"
+
+#include <math.h>
#include <string>
using std::string;
-#include <math.h>
+
#include "Planner.h"
#include "Conveyor.h"
#include "Robot.h"
-#include "libs/nuts_bolts.h"
-#include "libs/Pin.h"
-#include "libs/StepperMotor.h"
-#include "../communication/utils/Gcode.h"
+#include "nuts_bolts.h"
+#include "Pin.h"
+#include "StepperMotor.h"
+#include "Gcode.h"
#include "PublicDataRequest.h"
#include "arm_solutions/BaseSolution.h"
#include "arm_solutions/CartesianSolution.h"
#include <string>
using std::string;
#include "libs/Module.h"
-#include "libs/Kernel.h"
-#include "../communication/utils/Gcode.h"
-#include "arm_solutions/BaseSolution.h"
-#include "Planner.h"
-#include "libs/Pin.h"
-#include "libs/StepperMotor.h"
#include "RobotPublicAccess.h"
#define NEXT_ACTION_DEFAULT 0
#define SPINDLE_DIRECTION_CW 0
#define SPINDLE_DIRECTION_CCW 1
-
+class Gcode;
+class BaseSolution;
+class StepperMotor;
class Robot : public Module {
public:
You should have received a copy of the GNU General Public License along with Smoothie. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "Stepper.h"
+
#include "libs/Module.h"
#include "libs/Kernel.h"
-#include "Stepper.h"
#include "Planner.h"
#include "Conveyor.h"
+#include "StepperMotor.h"
+
#include <vector>
using namespace std;
+
#include "libs/nuts_bolts.h"
#include "libs/Hook.h"
+
#include <mri.h>
#ifndef STEPPER_H
#define STEPPER_H
+
#include "libs/Module.h"
-#include "libs/Kernel.h"
-#include "Planner.h"
-#include "Block.h"
+
+class Block;
+class Hook;
+class StepperMotor;
#define microseconds_per_step_pulse_checksum CHECKSUM("microseconds_per_step_pulse")
#define acceleration_ticks_per_second_checksum CHECKSUM("acceleration_ticks_per_second")
You should have received a copy of the GNU General Public License along with Smoothie. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "Extruder.h"
+
#include "libs/Module.h"
#include "libs/Kernel.h"
+
#include "modules/robot/Conveyor.h"
#include "modules/robot/Block.h"
-#include "modules/tools/extruder/Extruder.h"
+#include "StepperMotor.h"
+
#include <mri.h>
#define extruder_module_enable_checksum CHECKSUM("extruder_module_enable")
#include "Touchprobe.h"
+#include "BaseSolution.h"
+
void Touchprobe::on_module_loaded() {
// if the module is disabled -> do nothing
this->enabled = THEKERNEL->config->value( touchprobe_enable_checksum )->by_default(false)->as_bool();