-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.h
15 lines (10 loc) · 1 KB
/
functions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "ibex.h"
#include "vibes.h"
#include "interval_tools.h"
namespace functions{
void manageCollision(std::vector<std::vector<double>>& waypoints, ibex::IntervalVector boatState, std::vector<ibex::Interval>& boatSpeed, std::vector<ibex::IntervalVector> obstacles, std::vector<std::vector<std::vector<double>>> borderList);
void pathReplanning(double& boatHead, ibex::Interval& speed, ibex::IntervalVector boatState, ibex::Interval timeInterval, std::vector<ibex::IntervalVector> obstacles, std::vector<std::vector<std::vector<double>>> borderList);
void waypointManagement(double boatHead, std::vector<ibex::Interval>& boatSpeed, ibex::IntervalVector boatState, double endTime, std::vector<std::vector<double>>& waypoints, int currentSegmentIndice);
void drawTrajectory(std::vector<std::vector<double>> waypoints, std::vector<ibex::Interval> boatSpeed, ibex::IntervalVector boatState, std::vector<ibex::IntervalVector> obstacles);
double computeHeading(ibex::Interval XspeedComponent, ibex::Interval YspeedComponent);
}