![]() |
Robot Principal 26
Documentation du Club Robot INSA Rennes 2026
|
Contient le code principal du robot. Plus de détails...
#include <Arduino.h>#include <STM32FreeRTOS.h>#include "Wheeledbase.h"#include <My_Clock.h>#include <PrintfSupport.h>#include <Logger.h>#include "BournsACEncoder.h"#include "DCMotor.h"#include "DRV8876.h"#include "Elevator.h"#include "HazelnutGripper.h"#include "variables_globales.h"#include "LiquidCrystal.h"#include "cerveau/Automate.h"#include "ihm/ihm.h"#include "wheeledbase/wb_thread.h"#include "sensors/SensorsThread.h"
Macros | |
| #define | DEBUG 1 |
| #define | ALREADY_WARNED |
| #define | TEST_NO_FREERTOS false |
Fonctions | |
| void | SystemClock_Config (void) |
| void | setup () |
| void | loop () |
Variables | |
| Logger | main_logs = Logger("MAIN") |
| float | i =0 |
Contient le code principal du robot.
Point d'entrée du programme, contient notamment les fonctions d'initialisation (hal, freeRTOS). Une fois que tout est initialisé, lance les différents threads et passe le contrôle à FreeRTOS.