File tree Expand file tree Collapse file tree
Launchers/pick_place_harmonic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ def generate_launch_description():
305305
306306 print (">>> LAUNCH: move_node configurado" )
307307
308- return LaunchDescription ([
308+ """ return LaunchDescription([
309309 SetParameter(name="use_sim_time", value=True),
310310
311311 set_gz_plugin_path,
@@ -367,4 +367,37 @@ def generate_launch_description():
367367 ],
368368 )
369369 ),
370+ ])"""
371+
372+ return LaunchDescription ([
373+ SetParameter (name = "use_sim_time" , value = True ),
374+
375+ set_gz_plugin_path ,
376+ set_ld_library_path ,
377+ gz ,
378+ robot_state_publisher ,
379+ static_tf ,
380+ clock_bridge ,
381+
382+ # Spawn robot
383+ TimerAction (period = 5.0 , actions = [spawn_robot ]),
384+
385+ # Controllers
386+ TimerAction (period = 8.0 , actions = [joint_state_broadcaster ]),
387+ TimerAction (period = 10.0 , actions = [joint_trajectory_controller ]),
388+ TimerAction (period = 12.0 , actions = [gripper_controller ]),
389+
390+ # MoveIt
391+ TimerAction (period = 18.0 , actions = [move_group ]),
392+
393+ # Execution nodes
394+ TimerAction (
395+ period = 22.0 ,
396+ actions = [
397+ ExecuteProcess (cmd = ["echo" , ">>> launching execution nodes" ]),
398+ move_node ,
399+ robmove_node ,
400+ robpose_node
401+ ],
402+ ),
370403 ])
You can’t perform that action at this time.
0 commit comments