Skip to content

Commit 6f4813d

Browse files
committed
Merge branch 'main' of github.com:dfki-ric/ugv_nav4d
2 parents 5a88197 + 59c0ffb commit 6f4813d

10 files changed

+74
-10
lines changed

CITATION.cff

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
cff-version: "1.2.0"
2+
authors:
3+
- family-names: Böckmann
4+
given-names: Arne
5+
- family-names: Machowinski
6+
given-names: Janosch
7+
- family-names: Lodhi
8+
given-names: Muhammad Haider Khan
9+
orcid: "https://orcid.org/0009-0008-1199-3489"
10+
doi: 10.5281/zenodo.14236941
11+
message: If you use this software, please cite our article in the
12+
Journal of Open Source Software.
13+
preferred-citation:
14+
authors:
15+
- family-names: Böckmann
16+
given-names: Arne
17+
- family-names: Machowinski
18+
given-names: Janosch
19+
- family-names: Lodhi
20+
given-names: Muhammad Haider Khan
21+
orcid: "https://orcid.org/0009-0008-1199-3489"
22+
date-published: 2024-12-02
23+
doi: 10.21105/joss.06983
24+
issn: 2475-9066
25+
issue: 104
26+
journal: Journal of Open Source Software
27+
publisher:
28+
name: Open Journals
29+
start: 6983
30+
title: "ugv_nav4d: Advanced Multi-Surface Navigation for Unmanned
31+
Ground Vehicles Using 4D Path Planning Techniques"
32+
type: article
33+
url: "https://joss.theoj.org/papers/10.21105/joss.06983"
34+
volume: 9
35+
title: "ugv_nav4d: Advanced Multi-Surface Navigation for Unmanned Ground
36+
Vehicles Using 4D Path Planning Techniques"

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
CI build and test:
1+
CI build (main): ![Main](https://github.com/dfki-ric/ugv_nav4d/actions/workflows/c-cpp.yml/badge.svg)
22

3-
Main: ![Main](https://github.com/dfki-ric/ugv_nav4d/actions/workflows/c-cpp.yml/badge.svg)
3+
JOSS Paper:
4+
[![DOI](https://joss.theoj.org/papers/10.21105/joss.06983/status.svg)](https://doi.org/10.21105/joss.06983)
45

56
ugv_nav4d: Advanced Multi-Surface Navigation for Unmanned Ground Vehicles Using 4D Path Planning Techniques
67
=============
@@ -97,6 +98,14 @@ The button `Create PlannerDump` can be used to save the planner's state. The cre
9798
ugv_nav4d_replay ugv4d_dump_xxxx.bin
9899
```
99100

101+
An additional GUI is provided for tuning of parameters used in the generation of motion primitives. The generated spline motion primitives are also visualized. Furthermore, the `vizkit3d::SbplSplineVisualization` plugin under `Properties` offers further options for visualizing and analyzing the splines for various start and end angles.
102+
![MotionPrimitivesGui](doc/figures/motion_primitives_gui.png)
103+
104+
Run the following executable in your terminal:
105+
```
106+
sbpl_spline_viz_bin
107+
``````
108+
100109
#### Unit Tests
101110
102111
Build the library again but this time enable the `-DTESTS_ENABLED=ON`
470 KB
Loading
-171 KB
Binary file not shown.

src/DebugDrawingDeclarations.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifdef ENABLE_DEBUG_DRAWINGS
2+
13
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
24

35
// planner debug channels
@@ -19,4 +21,6 @@ V3DD_DECLARE_DEBUG_DRAWING_CHANNEL("ugv_nav4d_check_fail_start");
1921
V3DD_DECLARE_DEBUG_DRAWING_CHANNEL("ugv_nav4d_obs_check_fail_start");
2022
V3DD_DECLARE_DEBUG_DRAWING_CHANNEL("ugv_nav4d_goalBox");
2123
V3DD_DECLARE_DEBUG_DRAWING_CHANNEL("ugv_nav4d_startBox");
22-
V3DD_DECLARE_DEBUG_DRAWING_CHANNEL("ugv_nav4d_primitives");
24+
V3DD_DECLARE_DEBUG_DRAWING_CHANNEL("ugv_nav4d_primitives");
25+
26+
#endif

src/EnvironmentXYZTheta.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44
#include <base/Pose.hpp>
55
#include <base/Spline.hpp>
66
#include <fstream>
7-
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
8-
#include <vizkit3d_debug_drawings/DebugDrawingColors.hpp>
97
#include "PathStatistic.hpp"
108
#include "Dijkstra.hpp"
119
#include <limits>
1210
#include <base-logging/Logging.hpp>
1311

12+
#ifdef ENABLE_DEBUG_DRAWINGS
13+
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
14+
#include <vizkit3d_debug_drawings/DebugDrawingColors.hpp>
15+
#endif
16+
1417
using namespace std;
1518
using namespace sbpl_spline_primitives;
1619
using trajectory_follower::SubTrajectory;

src/ObstacleMapGenerator3D.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#include "ObstacleMapGenerator3D.hpp"
2+
3+
#ifdef ENABLE_DEBUG_DRAWINGS
24
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
35
#include <vizkit3d_debug_drawings/DebugDrawingColors.hpp>
6+
#endif
47

58
using namespace maps::grid;
69

src/PathStatistic.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#include "PathStatistic.hpp"
22
#include <unordered_set>
33
#include <deque>
4+
5+
#ifdef ENABLE_DEBUG_DRAWINGS
46
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
57
#include <vizkit3d_debug_drawings/DebugDrawingColors.hpp>
8+
#endif
69

710
ugv_nav4d::PathStatistic::Stats::Stats() :
811
obstacles(0),
@@ -290,4 +293,4 @@ bool ugv_nav4d::PathStatistic::isPathFeasible(const std::vector<const traversabi
290293
return false;
291294
}
292295
return true;
293-
}
296+
}

src/Planner.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22
#include <sbpl/planners/araplanner.h>
33
#include <sbpl/utils/mdpconfig.h>
44
#include <maps/grid/MultiLevelGridMap.hpp>
5-
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
6-
#include <vizkit3d_debug_drawings/DebugDrawingColors.hpp>
75
#include <base/Eigen.hpp>
86
#include "PlannerDump.hpp"
97
#include <omp.h>
108
#include <cmath>
119
#include <base-logging/Logging.hpp>
1210
#include "Logger.hpp"
1311

12+
#ifdef ENABLE_DEBUG_DRAWINGS
13+
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
14+
#include <vizkit3d_debug_drawings/DebugDrawingColors.hpp>
15+
#endif
16+
1417
using namespace maps::grid;
1518
using trajectory_follower::SubTrajectory;
1619

src/gui/PlannerGui.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#include <thread>
1111
#include <vizkit3d/Vizkit3DWidget.hpp>
1212
#include <ugv_nav4d/PreComputedMotions.hpp>
13-
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
14-
#include <vizkit3d_debug_drawings/DebugDrawingColors.hpp>
1513
#include <boost/filesystem.hpp>
1614
#include <boost/archive/binary_iarchive.hpp>
1715
#include <pcl/io/ply_io.h>
@@ -20,6 +18,11 @@
2018
#include <pcl/common/transforms.h>
2119
#include <base-logging/Logging.hpp>
2220

21+
#ifdef ENABLE_DEBUG_DRAWINGS
22+
#include <vizkit3d_debug_drawings/DebugDrawing.hpp>
23+
#include <vizkit3d_debug_drawings/DebugDrawingColors.hpp>
24+
#endif
25+
2326
using namespace ugv_nav4d;
2427

2528
PlannerGui::PlannerGui(const std::string& dumpName): QObject()

0 commit comments

Comments
 (0)