Skip to content

Commit

Permalink
release CDR 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesToparr committed May 30, 2022
1 parent 5bbb859 commit d7d0eb4
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 666 deletions.
3 changes: 1 addition & 2 deletions include/Actuators.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

#include <Arduino.h>
#include <Servo.h>
#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>


#define GROUND 0
#define DISPENSER 1
Expand Down
4 changes: 4 additions & 0 deletions include/IHM.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Switch 4 : Index 3 : Robot
**********/
#include <Arduino.h>
#include <U8g2lib.h>

#define LOADING_SOUND 0001
#define UP_SOUND 0002
Expand Down Expand Up @@ -100,4 +101,7 @@ namespace IHM{
void playSound (int soundfile);
void switchSound (bool state);
}

extern U8G2_SSD1309_128X64_NONAME2_F_4W_HW_SPI
_u8g2;
}
8 changes: 0 additions & 8 deletions include/Joke.h

This file was deleted.

16 changes: 15 additions & 1 deletion include/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace Settings{
SECONDARY = 0,
ABSOLUTE = true,

IHM = true,
IHM = true, //FALSE for primary
YELLOW = true,
PURPLE = false;

Expand Down Expand Up @@ -71,6 +71,19 @@ namespace Settings{

}

#ifdef JOKE
namespace Calibration{
const CalibrationProfile Primary = {
{ 1.0f, 1.0f, 1.0f }, //Holonomic : ABC
{ 0.5f, -0.5f, -0.5f } //Cartesian : XYROT
};

const CalibrationProfile Secondary = {
{ 1.0f, 1.0f, 1.0f }, //Holonomic : ABC
{ 1.17f, -1.17f, -1.0525f } //Cartesian : XYROT
};
}
#else
namespace Calibration{
const CalibrationProfile Primary = {
{ 1.0f, 1.0f, 1.0f }, //Holonomic : ABC
Expand All @@ -82,6 +95,7 @@ namespace Settings{
{ 1.17f, -1.17f, -1.0525f } //Cartesian : XYROT
};
}
#endif
}


Expand Down
4 changes: 0 additions & 4 deletions include/Strategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,5 @@ namespace Strategy{
void probeElement();

//----- ALIGNMENT STRATEGIES -----

void alignTurn(float angleFrom, float angleTo);

//----- STRATEGIE DANSE -----
void batonDanse();
}
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ board = teensy35
framework = arduino
lib_deps =
FastCRC
olikraus/U8g2 @ 2.32.15
olikraus/U8g2 @ 2.28.8
luni64/TeensyStep@^2.1
dfrobot/DFRobotDFPlayerMini@^1.0.5
featherfly/SoftwareSerial@^1.0
Expand Down
Loading

0 comments on commit d7d0eb4

Please sign in to comment.