Dinusharg commited on
Commit
ec8eab4
·
1 Parent(s): afe54b4

Readme file added.

Browse files
Files changed (1) hide show
  1. README.md +178 -0
README.md CHANGED
@@ -1,3 +1,181 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ library_name: pytorch
4
+ tags:
5
+ - robotics
6
+ - point-cloud
7
+ - terrain-analysis
8
+ - autonomous-navigation
9
+ - 3d-perception
10
+ - deep-learning
11
+ - PointNet
12
  ---
13
+
14
+ # TerrainFreeSpaceNet
15
+
16
+ TerrainFreeSpaceNet is a deep learning model designed to predict **terrain free-space from 3D point cloud data**.
17
+ It enables robots to estimate terrain traversability in uneven environments using raw point cloud observations.
18
+
19
+ This model is based on a **PointNet-style neural network** that processes unordered 3D points and outputs a normalized free-space score.
20
+
21
+ ---
22
+
23
+ # Overview
24
+
25
+ Autonomous ground robots operating in outdoor environments often encounter:
26
+
27
+ - uneven terrain
28
+ - vegetation
29
+ - slopes and depressions
30
+ - irregular obstacles
31
+
32
+ Traditional geometric free-space detection methods may struggle in these environments.
33
+
34
+ TerrainFreeSpaceNet learns to **estimate terrain traversability directly from 3D point clouds**, making it suitable for:
35
+
36
+ - outdoor robotics
37
+ - off-road navigation
38
+ - agricultural robots
39
+ - exploration robots
40
+
41
+ ---
42
+
43
+ ## Model Architecture
44
+
45
+ The model uses a **PointNet-style architecture** consisting of:
46
+
47
+ 1. Shared MLP layers implemented using Conv1D
48
+ 2. Batch normalization and ReLU activation
49
+ 3. Global max pooling
50
+ 4. Fully connected regression layers
51
+ 5. Sigmoid output for normalized free-space score
52
+
53
+ Input shape:
54
+
55
+ [B, 3, N]
56
+
57
+ Where:
58
+
59
+ - `B` = batch size
60
+ - `3` = (x,y,z) coordinates
61
+ - `N` = number of sampled points
62
+
63
+ Output:
64
+
65
+ [B,1]
66
+
67
+ Free-space score in range:
68
+
69
+ - 0 → non-traversable
70
+ - 1 → highly traversable
71
+
72
+
73
+ ---
74
+
75
+ ## Input Format
76
+
77
+ The model expects **CSV point cloud input**.
78
+
79
+ Example:
80
+
81
+ x,y,z
82
+ 0.12,0.31,0.02
83
+ 0.15,0.34,0.05
84
+ 0.18,0.29,0.04
85
+
86
+
87
+ ---
88
+
89
+ ## Example Inference
90
+
91
+ Example usage using the provided inference script.
92
+
93
+ ```python
94
+ from inference import run_inference
95
+
96
+ score = run_inference("sample_input.csv", checkpoint="model.pt")
97
+
98
+ print("Free space score:", score)
99
+ ```
100
+
101
+ Example output:
102
+
103
+ ```
104
+ Free space score: 0.84
105
+ ```
106
+
107
+ ## Training
108
+
109
+ The model was trained using frame-level 3D point cloud samples.
110
+
111
+ Each frame contains:
112
+
113
+ ```
114
+ frame_id,x,y,z,free_space
115
+ ```
116
+ Where:
117
+
118
+ - `frame_id` identifies the point cloud frame
119
+
120
+ - `free_space` represents terrain traversability score
121
+
122
+ ## Applications
123
+
124
+ TerrainFreeSpaceNet can be used for:
125
+
126
+ - terrain-aware robot navigation
127
+
128
+ - autonomous ground vehicles
129
+
130
+ - off-road robotics
131
+
132
+ - agricultural robots
133
+
134
+ - exploration robots
135
+
136
+ - rough terrain mobility analysis
137
+
138
+ ## Limitations
139
+
140
+ - The model currently assumes XYZ coordinates only
141
+
142
+ - Performance depends on training dataset diversity
143
+
144
+ - Large terrain variations may require retraining
145
+
146
+ - Real-time deployment requires optimized inference
147
+
148
+ ## Related Research
149
+
150
+ This model was developed as part of research on:
151
+
152
+ **Autonomous robot navigation in uneven terrain using 3D perception**.
153
+
154
+ It is designed to integrate with the **Agoraphilic-3D Navigation Framework**.
155
+
156
+ Repository
157
+
158
+ Full project code available here:
159
+
160
+ https://github.com/dinusharg/TerrainFreeSpaceNet
161
+
162
+
163
+
164
+ ## Citation
165
+
166
+ If you use this model in research, please cite:
167
+
168
+ ```bibtex
169
+ @article{10.1007/s12555-025-0624-2,
170
+    author = {Gunathilaka, W. M. Dinusha and Kahandawa, Gayan and Ibrahim, M. Yousef and Hewawasam, H. S. and Nguyen, Linh},
171
+    title = {Agoraphilic-3D Net: A Deep Learning Method for Attractive Force Estimation in Mapless Path Planning for Unstructured Terrain},
172
+    journal = {International Journal of Control, Automation and Systems},
173
+    volume = {23},
174
+    number = {12},
175
+    pages = {3790-3802},
176
+    ISSN = {2005-4092},
177
+    DOI = {10.1007/s12555-025-0624-2},
178
+    url = {https://doi.org/10.1007/s12555-025-0624-2},
179
+    year = {2025},
180
+    type = {Journal Article}
181
+ }