Skip to content

Commit 6c5b803

Browse files
committed
Merge branch 'master' of github.com:dash-robotics/perception
2 parents 0e7d70d + 020f9ad commit 6c5b803

File tree

113 files changed

+12038
-252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+12038
-252
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cuboid_detection/bags/*
2+
openface2_ros/rosbags/*
23

34
.vscode/
45

color_object_detection/msg/Rectangle.msg

Lines changed: 0 additions & 4 deletions
This file was deleted.

color_object_detection/src/object_detection.py

Lines changed: 0 additions & 89 deletions
This file was deleted.

cuboid_detection/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ include
144144
## Declare a C++ executable
145145
## With catkin_make all packages are built within a single CMake context
146146
## The recommended prefix ensures that target names across packages don't collide
147-
add_executable(ground_plane_segmentation src/ground_plane_segmentation.cpp)
148-
add_executable(surface_normal_estimation src/surface_normal_estimation.cpp)
149-
add_executable(iterative_closest_point src/iterative_closest_point.cpp)
150-
add_executable(bbox_filter src/bbox_filter.cpp)
147+
# add_executable(ground_plane_segmentation src/ground_plane_segmentation.cpp)
148+
# add_executable(surface_normal_estimation src/surface_normal_estimation.cpp)
149+
# add_executable(iterative_closest_point src/iterative_closest_point.cpp)
150+
# add_executable(bbox_filter src/bbox_filter.cpp)
151151

152152
## Rename C++ executable without prefix
153153
## The above recommended prefix causes long target names, the following renames the
@@ -160,7 +160,7 @@ add_executable(bbox_filter src/bbox_filter.cpp)
160160
# add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
161161

162162
## Specify libraries to link a library or executable target against
163-
target_link_libraries(ground_plane_segmentation ${catkin_LIBRARIES})
164-
target_link_libraries(surface_normal_estimation ${catkin_LIBRARIES})
165-
target_link_libraries(iterative_closest_point ${catkin_LIBRARIES})
166-
target_link_libraries(bbox_filter ${catkin_LIBRARIES})
163+
# target_link_libraries(ground_plane_segmentation ${catkin_LIBRARIES})
164+
# target_link_libraries(surface_normal_estimation ${catkin_LIBRARIES})
165+
# target_link_libraries(iterative_closest_point ${catkin_LIBRARIES})
166+
# target_link_libraries(bbox_filter ${catkin_LIBRARIES})

cuboid_detection/launch/ground_plane_segmentation.launch

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<launch>
33

4-
<!-- Play rosbag file -->
5-
<include file="$(find cuboid_detection)/launch/play_rosbag.launch">
6-
<arg name="filename" value="2019-04-09-15-43-49.bag" />
7-
</include>
8-
94
<!-- Run a VoxelGrid filter to clean NaNs and downsample the data -->
105
<node
116
pkg="cuboid_detection"

cuboid_detection/launch/iterative_closest_point.launch

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<launch>
33

4+
<!-- Play rosbag file -->
5+
<!-- <include file="$(find cuboid_detection)/launch/play_rosbag.launch">
6+
<arg name="filename" value="2019-04-09-15-43-49.bag" />
7+
</include> -->
8+
9+
<!-- Launch the depth camera -->
10+
<!-- <include file="$(find realsense2_camera)/launch/rs_camera.launch">
11+
<arg name="enable_pointcloud" value="true"/>
12+
</include> -->
13+
414
<!-- Launch Bounding Box Filter -->
515
<!-- <include file="$(find cuboid_detection)/launch/bbox_filter.launch"/> -->
616

@@ -29,6 +39,7 @@
2939
length: 0.2
3040
width: 0.1
3141
height: 0.03
42+
icp_fitness_score: 0.0004
3243
</rosparam>
3344
</node>
3445

@@ -49,4 +60,12 @@
4960
</rosparam>
5061
</node>
5162

63+
<!-- Run RVIZ -->
64+
<node
65+
type="rviz"
66+
name="rviz"
67+
pkg="rviz"
68+
args="-d $(find cuboid_detection)/perception.rviz">
69+
</node>
70+
5271
</launch>

perception.rviz renamed to cuboid_detection/perception.rviz

Lines changed: 49 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ Panels:
33
Help Height: 75
44
Name: Displays
55
Property Tree Widget:
6-
Expanded:
7-
- /Global Options1
8-
- /Status1
9-
- /Axes1
6+
Expanded: ~
107
Splitter Ratio: 0.5
11-
Tree Height: 197
8+
Tree Height: 371
129
- Class: rviz/Selection
1310
Name: Selection
1411
- Class: rviz/Tool Properties
@@ -27,7 +24,7 @@ Panels:
2724
Experimental: false
2825
Name: Time
2926
SyncMode: 0
30-
SyncSource: PointCloud2
27+
SyncSource: Raw Input PCL
3128
Visualization Manager:
3229
Class: ""
3330
Displays:
@@ -49,62 +46,20 @@ Visualization Manager:
4946
Plane Cell Count: 10
5047
Reference Frame: <Fixed Frame>
5148
Value: true
52-
- Alpha: 1
53-
Autocompute Intensity Bounds: true
54-
Autocompute Value Bounds:
55-
Max Value: 10
56-
Min Value: -10
57-
Value: true
58-
Axis: Z
59-
Channel Name: intensity
60-
Class: rviz/PointCloud2
61-
Color: 255; 255; 255
62-
Color Transformer: RGB8
63-
Decay Time: 0
64-
Enabled: true
65-
Invert Rainbow: false
66-
Max Color: 255; 255; 255
67-
Max Intensity: 4096
68-
Min Color: 0; 0; 0
69-
Min Intensity: 0
70-
Name: PointCloud2
71-
Position Transformer: XYZ
72-
Queue Size: 10
73-
Selectable: true
74-
Size (Pixels): 3
75-
Size (m): 0.00999999978
76-
Style: Points
77-
Topic: /bbox_filter/points
78-
Unreliable: false
79-
Use Fixed Frame: true
80-
Use rainbow: true
81-
Value: true
82-
- Class: rviz/Image
83-
Enabled: true
84-
Image Topic: /draw_bbox/image
85-
Max Value: 1
86-
Median window: 5
87-
Min Value: 0
88-
Name: Image
89-
Normalize Range: true
90-
Queue Size: 2
91-
Transport Hint: raw
92-
Unreliable: false
93-
Value: true
9449
- Class: rviz/Axes
9550
Enabled: true
9651
Length: 0.5
9752
Name: Axes
9853
Radius: 0.00999999978
99-
Reference Frame: estimated_cuboid_frame
54+
Reference Frame: <Fixed Frame>
10055
Value: true
10156
- Class: rviz/Image
10257
Enabled: true
103-
Image Topic: /object_detection/image_segmented
58+
Image Topic: /draw_bbox/image
10459
Max Value: 1
10560
Median window: 5
10661
Min Value: 0
107-
Name: Image
62+
Name: 3D Bounding Box Image
10863
Normalize Range: true
10964
Queue Size: 2
11065
Transport Hint: raw
@@ -128,7 +83,7 @@ Visualization Manager:
12883
Max Intensity: 4096
12984
Min Color: 0; 0; 0
13085
Min Intensity: 0
131-
Name: PointCloud2
86+
Name: Ground Truth
13287
Position Transformer: XYZ
13388
Queue Size: 10
13489
Selectable: true
@@ -158,7 +113,7 @@ Visualization Manager:
158113
Max Intensity: 4096
159114
Min Color: 0; 0; 0
160115
Min Intensity: 0
161-
Name: PointCloud2
116+
Name: ICP Registered PCL
162117
Position Transformer: XYZ
163118
Queue Size: 10
164119
Selectable: true
@@ -188,7 +143,7 @@ Visualization Manager:
188143
Max Intensity: 4096
189144
Min Color: 0; 0; 0
190145
Min Intensity: 0
191-
Name: PointCloud2
146+
Name: Bounding Box Points
192147
Position Transformer: XYZ
193148
Queue Size: 10
194149
Selectable: true
@@ -218,7 +173,7 @@ Visualization Manager:
218173
Max Intensity: 4096
219174
Min Color: 0; 0; 0
220175
Min Intensity: 0
221-
Name: PointCloud2
176+
Name: Raw Input PCL
222177
Position Transformer: XYZ
223178
Queue Size: 10
224179
Selectable: true
@@ -230,6 +185,36 @@ Visualization Manager:
230185
Use Fixed Frame: true
231186
Use rainbow: true
232187
Value: true
188+
- Alpha: 1
189+
Autocompute Intensity Bounds: true
190+
Autocompute Value Bounds:
191+
Max Value: 10
192+
Min Value: -10
193+
Value: true
194+
Axis: Z
195+
Channel Name: intensity
196+
Class: rviz/PointCloud2
197+
Color: 255; 255; 255
198+
Color Transformer: RGB8
199+
Decay Time: 0
200+
Enabled: false
201+
Invert Rainbow: false
202+
Max Color: 255; 255; 255
203+
Max Intensity: 4096
204+
Min Color: 0; 0; 0
205+
Min Intensity: 0
206+
Name: Clean Object PCL
207+
Position Transformer: XYZ
208+
Queue Size: 10
209+
Selectable: true
210+
Size (Pixels): 3
211+
Size (m): 0.00999999978
212+
Style: Points
213+
Topic: /ground_plane_segmentation/points
214+
Unreliable: false
215+
Use Fixed Frame: true
216+
Use rainbow: true
217+
Value: false
233218
Enabled: true
234219
Global Options:
235220
Background Color: 48; 48; 48
@@ -255,35 +240,35 @@ Visualization Manager:
255240
Views:
256241
Current:
257242
Class: rviz/Orbit
258-
Distance: 1.06476605
243+
Distance: 1.05901325
259244
Enable Stereo Rendering:
260245
Stereo Eye Separation: 0.0599999987
261246
Stereo Focal Distance: 1
262247
Swap Stereo Eyes: false
263248
Value: false
264249
Focal Point:
265-
X: 0.240168884
266-
Y: -0.130981699
267-
Z: 0.253967553
250+
X: 0.359921277
251+
Y: 0.0782490522
252+
Z: 0.0916151702
268253
Focal Shape Fixed Size: true
269254
Focal Shape Size: 0.0500000007
270255
Invert Z Axis: false
271256
Name: Current View
272257
Near Clip Distance: 0.00999999978
273-
Pitch: 0.395203114
258+
Pitch: 0.200203195
274259
Target Frame: <Fixed Frame>
275260
Value: Orbit (rviz)
276-
Yaw: 3.51426649
261+
Yaw: 2.90926337
277262
Saved: ~
278263
Window Geometry:
264+
3D Bounding Box Image:
265+
collapsed: false
279266
Displays:
280267
collapsed: false
281268
Height: 1056
282269
Hide Left Dock: false
283270
Hide Right Dock: true
284-
Image:
285-
collapsed: false
286-
QMainWindow State: 000000ff00000000fd00000004000000000000022200000396fc020000000afb0000001200530065006c0065006300740069006f006e00000001e10000009b0000006100fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000002800000151000000d700fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000000a0049006d006100670065010000017f000001080000001600fffffffb0000000a0049006d006100670065010000028d000001310000001600ffffff000000010000010f00000396fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073000000002800000396000000ad00fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000007410000003efc0100000002fb0000000800540069006d00650100000000000007410000030000fffffffb0000000800540069006d00650100000000000004500000000000000000000005190000039600000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
271+
QMainWindow State: 000000ff00000000fd00000004000000000000022200000396fc020000000afb0000001200530065006c0065006300740069006f006e00000001e10000009b0000006100fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c0061007900730100000028000001ff000000d700fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000002a0033004400200042006f0075006e00640069006e006700200042006f007800200049006d006100670065010000022d000001910000001600fffffffb0000000a0049006d006100670065000000028d000001310000000000000000000000010000010f00000396fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073000000002800000396000000ad00fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000007410000003efc0100000002fb0000000800540069006d00650100000000000007410000030000fffffffb0000000800540069006d00650100000000000004500000000000000000000005190000039600000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
287272
Selection:
288273
collapsed: false
289274
Time:

0 commit comments

Comments
 (0)