FireFly 2012 v3: later version of May 2012
From Electronics\Hexapod\Arduino sketches 2011-2012\hexapodV3 (backup 2012-07-09).
This commit is contained in:
1 parent
f690f307c1
commit
0911543c03
14 files changed
+27
-78
No files matched your search
@@ -1,4 +1,5 @@
|
||||
// Converter.cpp
|
||||
// V3.0
|
||||
|
||||
#include "Converter.h"
|
||||
|
||||
@@ -67,7 +68,3 @@ void Converter::Convert(Data *DataLine)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Converter.h
|
||||
// V3.0
|
||||
|
||||
#ifndef CONVERTER_H
|
||||
#define CONVERTER_H
|
||||
|
||||
@@ -61,10 +61,3 @@ struct Data
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
//Def.h
|
||||
//Define some Hard Coded Variables
|
||||
// Def.h
|
||||
// Define some Hard Coded Variables
|
||||
// V3.0
|
||||
|
||||
//DEBUG CODES
|
||||
//#define DEBUGC
|
||||
//#define DEBUGIK
|
||||
//#define DEBUGS
|
||||
//#define DEBUGC // Converter
|
||||
//#define DEBUGIK // InverseKinemetics
|
||||
//#define DEBUGS // Servos
|
||||
//#define DEBUGHS // ServosHead
|
||||
//#define DEBUGW
|
||||
//#define Freeze
|
||||
//#define DEBUGW // Watchdog
|
||||
//#define Freeze // Protect all the servos
|
||||
|
||||
//InverseKinemetics VARIABLES
|
||||
#define l2 15
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "InverseKinemetics.h"
|
||||
// V3.0
|
||||
|
||||
//Variables
|
||||
boolean error;
|
||||
@@ -147,12 +148,3 @@ void InverseKinemetics::IK(Data *DataLine)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// InverseKinemetics.h
|
||||
// V3.0
|
||||
|
||||
#ifndef inverseKinemetics_H
|
||||
#define inverseKinemetics_H
|
||||
@@ -20,8 +21,3 @@ public:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
//SerD.h
|
||||
// SerD.h
|
||||
// V3.0
|
||||
|
||||
#ifndef SERD
|
||||
#define SERD
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Servos.cpp
|
||||
// V3.0
|
||||
|
||||
#include "Servos.h"
|
||||
|
||||
@@ -102,11 +103,3 @@ void Servos::Send(Data *DataLine)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Servos.h
|
||||
// V3.0
|
||||
|
||||
#ifndef SERVOS_H
|
||||
#define SERVOS_H
|
||||
@@ -18,9 +19,3 @@ public:
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//Ultrasone.cpp
|
||||
// V3.0
|
||||
|
||||
#include "Ultrasone.h"
|
||||
|
||||
@@ -48,7 +49,11 @@ void Ultrasone::GetRadar(Data *DataLine)
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
[Vector]
|
||||
X = Distance / Cos( CurrentPosition * pi2rad );
|
||||
Y = Distance / sin( CurrentPosition / pi2rad );
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
//Ultrasone.h
|
||||
// V3.0
|
||||
|
||||
#ifndef ULTRASONE_H
|
||||
#define ULTRASONE_H
|
||||
@@ -36,7 +37,3 @@ public:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Watchdog.cpp
|
||||
/ V3.0
|
||||
|
||||
#include "Watchdog.h"
|
||||
|
||||
@@ -35,5 +36,3 @@ void Watchdog::CheckTime(Data *DataLine)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Watchdog.h
|
||||
/ V3.0
|
||||
|
||||
#ifndef WATCHDOG_H
|
||||
#define WATCHDOG_H
|
||||
@@ -17,8 +18,3 @@ public:
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Hexapod FireFly
|
||||
// V3.0
|
||||
|
||||
#include "hexapod.h"
|
||||
#include "Data.h"
|
||||
@@ -190,23 +191,4 @@ void loop()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user