Skip to content

Commit 315c2c9

Browse files
author
PercevalSA
committed
rename path finding to respect convention and fix typo
1 parent d099bb7 commit 315c2c9

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

include/PathPlanning/Path_Finding.h include/PathPlanning/PathFinding.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ using namespace Mapping;
1414
//#define Set_Timeout_PF(time) do{timeout_pf = current_time + time;}while(0)
1515
//#define TIMEOUT_PF (current_time > timeout_pf)
1616

17-
// Condition d'arrét anticipé du calcul de Path_Finding
17+
// Condition d'arrét anticipé du calcul de PathFinding
1818
//#define PATH_FINDING_STOP (TIMEOUT_PF)
19-
// Durée limite du calcul de Path_Finding en millisecond
19+
// Durée limite du calcul de PathFinding en millisecond
2020
//#define PATH_FINDING_TIME_LIMIT (10000)
2121

2222
namespace PathFinding

include/Structure.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ struct Circle{
161161
typedef uint8 t_vertexID;
162162

163163
/****************************************************************************************
164-
* Path_Finding
164+
* PathFinding
165165
****************************************************************************************/
166166
struct t_node{
167167
uint32 currentCost;

include/main.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ using namespace Printer;
1515
#include "Trajectory.h"
1616
#include "LedRGB.h"
1717

18-
#include "PathPlanning/Path_finding.h"
18+
#include "PathPlanning/PathFinding.h"
1919

2020
#ifndef ARDUINO_USB_MODE
2121
#warning /*error*/ This ESP32 SoC has no Native USB interface

src/PathPlanning/Mapping.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -534,15 +534,15 @@ void Update_Passability_Obstacle(void)
534534
//}
535535

536536
/****************************************************************************************
537-
* Set end vertex for Path_Finding
537+
* Set end vertex for PathFinding
538538
****************************************************************************************/
539539
void Set_End_Vertex(t_vertexID id)
540540
{
541541
end_vertex_ID = id;
542542
}
543543

544544
/****************************************************************************************
545-
* Get end vertex for Path_Finding
545+
* Get end vertex for PathFinding
546546
****************************************************************************************/
547547
t_vertexID Get_End_Vertex(void)
548548
{

src/PathPlanning/Path_Finding.cpp src/PathPlanning/PathFinding.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/****************************************************************************************
22
* Includes
33
****************************************************************************************/
4-
#include "PathPlanning/Path_Finding.h"
4+
#include "PathPlanning/PathFinding.h"
55

66
namespace PathFinding
77
{

0 commit comments

Comments
 (0)