Skip to content

Commit a2d6875

Browse files
authored
Merge pull request #51 from ISC-Project-Phoenix/redtoo_dev
Bring Phoenix up to date with main
2 parents 5cb9244 + c48eb10 commit a2d6875

7 files changed

Lines changed: 44 additions & 37 deletions

File tree

phoenix_gazebo/launch/include/hybrid_pp/hybrid_pp.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def generate_launch_description():
8181
default_value='4.0',
8282
description='Maximum speed'),
8383
DeclareLaunchArgument('min_speed',
84-
default_value='0.5',
84+
default_value='1.0',
8585
description='Minimum speed'),
8686
DeclareLaunchArgument('avoidance_radius',
8787
default_value='2.0',

phoenix_gazebo/launch/include/road_detectors/obj_detector_cv.launch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def generate_launch_description():
3333

3434
det = Node(
3535
package='obj_detector_cv',
36-
executable='obj_detector_cv',
37-
name='obj_detector_cv',
36+
executable='cv_subscriber',
37+
name='cv_subscriber',
3838
output='screen',
3939
parameters=[{
4040
'use_sim_time': use_sim_time,

phoenix_gazebo/launch/include/sensor_processor/sensor_processor.launch.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ def generate_launch_description():
3737
executable='sensor_processor',
3838
name='sensor_processor',
3939
output='screen',
40-
remappings=[
41-
('/lidar/filtered_scan', '/scan'),
42-
],
4340
parameters=[{
4441
'use_sim_time': use_sim_time
4542
}])

phoenix_gazebo/launch/sim.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def generate_launch_description():
8383
poly_plan = IncludeLaunchDescription(
8484
PythonLaunchDescriptionSource([
8585
os.path.join(pkg_phoenix_gazebo, 'launch'),
86-
'/include/polynomial_planner/polynomial_planner.launch.py'
86+
'/include/polynomial_planner/polynomial_planner_ai.launch.py'
8787
]),
8888
launch_arguments={
8989
'use_sim_time': use_sim_time,

phoenix_gazebo/webots_project/protos/Phoenix2.proto

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ EXTERNPROTO "https://raw.githubusercontent.com/cyberbotics/webots/released/proje
1212
PROTO Phoenix2 [
1313
field SFVec3f translation 0 0 0
1414
field SFRotation rotation 0 0 1 0
15-
field SFString name "Phoenix" # Is PHOENIX V2 By Derek Servin <deservin@umich.edu>
15+
field SFString name "Phoenix" # Is Phoenix2 By Derek Servin <deservin@umich.edu>
1616
field SFString controller "<extern>" # Is `Robot.controller`.
1717
field MFString controllerArgs [] # Is `Robot.controllerArgs`.
1818
field SFBool supervisor FALSE # Is `Robot.supervisor`.
@@ -145,7 +145,7 @@ PROTO Phoenix2 [
145145

146146
# Lidar
147147
Solid {
148-
translation 1.40000 0.000000 0.250000
148+
translation 1.2 -0.01 0.25 #1.40000 0.000000 0.250000
149149
children [
150150
SickS300 { enablePhysics FALSE noise 0.05 }
151151
]
@@ -191,17 +191,24 @@ PROTO Phoenix2 [
191191
]
192192
}
193193
}
194-
DEF Blackstruct Shape {
195-
appearance PBRAppearance {
196-
baseColor 0 0 0
197-
roughness 0.2
198-
metalness 0.5
199-
}
200-
geometry Mesh {
201-
url [
202-
"../../models/phoenix_elements/phoenix_3Dmodel__blackStructure.obj"
203-
]
204-
}
194+
DEF Blackstruct Transform {
195+
translation 0 0.04 0
196+
scale 1 0.9 1
197+
children [
198+
DEF Blackstruct Shape {
199+
appearance PBRAppearance {
200+
baseColor 0 0 0
201+
roughness 0.2
202+
metalness 0.5
203+
}
204+
geometry Mesh {
205+
url [
206+
"/home/derek/Phoenix_ws/src/Phoenix/phoenix_gazebo/models/phoenix_elements/phoenix_3Dmodel__blackStructure.obj"
207+
]
208+
}
209+
castShadows FALSE
210+
}
211+
]
205212
}
206213
DEF RRBumper Shape {
207214
appearance PBRAppearance {
@@ -216,18 +223,25 @@ PROTO Phoenix2 [
216223
}
217224
}
218225
Pose {
219-
translation 0 0.04 0
226+
translation 0 0.04 -0.14
220227
children [
221-
DEF FRBumper Shape {
222-
appearance PBRAppearance {
223-
roughness 1
224-
metalness 0
225-
}
226-
geometry Mesh {
227-
url [
228-
"../../models/phoenix_elements/phoenix_3Dmodel__frontBumper.obj"
229-
]
230-
}
228+
Transform {
229+
translation 0 0 0.41
230+
scale 1 0.8 0.6
231+
children [
232+
DEF FRBumper Shape {
233+
appearance PBRAppearance {
234+
roughness 1
235+
metalness 0
236+
}
237+
geometry Mesh {
238+
url [
239+
"/home/derek/Phoenix_ws/src/Phoenix/phoenix_gazebo/models/phoenix_elements/phoenix_3Dmodel__frontBumper.obj"
240+
]
241+
}
242+
castShadows FALSE
243+
}
244+
]
231245
}
232246
]
233247
translationStep 0.02

phoenix_robot/launch/common.launch.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def generate_launch_description():
6767
]),
6868
launch_arguments={
6969
'use_sim_time': use_sim_time,
70-
'config_file': PathJoinSubstitution([pkg_phoenix_robot, 'config', 'ros2_sick', 'sick_lms111.yaml'])
70+
'config_file': PathJoinSubstitution([pkg_phoenix_robot, 'config' ]) # , 'ros2_sick', 'sick_lms111.yaml'])
7171
}.items(),
7272
)
7373

@@ -156,7 +156,6 @@ def generate_launch_description():
156156
state_publishers,
157157
ekf,
158158
camera,
159-
sick,
160159
pir,
161160
pp,
162161
obj_detector_ai,

phoenix_robot/launch/include/oakd/dual_cameras.launch.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ def generate_launch_description():
1919
cameral = GroupAction(
2020
actions=[
2121
# Topic remaps
22-
SetRemap('/oakl/stereo/image_raw', '/camera/left/depth'),
23-
SetRemap('/oakl/stereo/camera_info', '/camera/left/depth/camera_info'),
24-
SetRemap('/oakl/stereo/image_raw/compressed', '/camera/left/depth/compressed'),
25-
SetRemap('/oakl/rgb/image_raw', '/camera/left/rgb'),
22+
SetRemap('/oakl/sIncludeLaunchDescriptiongb/image_raw', '/camera/left/rgb'),
2623
SetRemap('/oakl/rgb/image_raw/compressed', '/camera/left/rgb/compressed'),
2724
SetRemap('/oakl/rgb/image_raw/theora', '/camera/left/rgb/compressed/theora'),
2825
SetRemap('/oakl/rgb/camera_info', '/camera/left/rgb/camera_info'),

0 commit comments

Comments
 (0)