CRINSA-team2025
V1
Documentation du Club Robot INSA Rennes 2025
Chargement...
Recherche...
Aucune correspondance
Strategie.h
1
//
2
// Created by awing on 10/05/2026.
3
//
4
5
#ifndef TEAM2026_STRATEGIE_H
6
#define TEAM2026_STRATEGIE_H
7
8
#include "Elevator.h"
9
#include "Grafcet.h"
10
#include "HazelnutGripper.h"
11
#include "Logger.h"
12
#include "Odometry.h"
13
#include "Geogebra.h"
14
15
#ifndef ELEVATOR_IN_POS
16
#define ELEVATOR_IN_POS() (fabs(HazelnutGripper::Elevator::m_currentAngle - HazelnutGripper::Elevator::m_angleSetpoint) < 5)
17
#endif
18
19
namespace
cerveau {
20
inline
auto
stratLogger = Logger(
"STRATEGIE"
);
21
}
22
23
namespace
cerveau::strategie {
24
inline
Grafcet::ActionNode* yellowStartingNode = {};
25
inline
Grafcet::ActionNode* bleuStartingNode = {};
26
inline
auto
* strat =
new
Grafcet::StateMachine();
27
28
void
generateBlueStrat();
29
void
generateYellowStrat();
30
31
void
stratDeSecoursBleu();
32
void
stratDeSecoursJaune();
33
34
//checkers
35
36
37
inline
Position start = {};
38
inline
const
Position blueStart;
39
inline
const
Position yellowStart;
40
}
41
42
43
#endif
//TEAM2026_STRATEGIE_H
src
cerveau
Strategie.h
Généré par
1.13.2