Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add collision_monitor launch file #455

Merged
merged 3 commits into from
Apr 12, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cob_bringup/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<exec_depend>cob_calibration_data</exec_depend>
<exec_depend>cob_cam3d_throttle</exec_depend>
<exec_depend>cob_camera_sensors</exec_depend>
<exec_depend>cob_collision_monitor</exec_depend>
<exec_depend>cob_collision_velocity_filter</exec_depend>
<exec_depend>cob_command_gui</exec_depend>
<exec_depend>cob_control_mode_adapter</exec_depend>
Expand Down
5 changes: 4 additions & 1 deletion cob_bringup/robots/cob4-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@
<arg name="robot" value="$(arg robot)" />
<arg name="name" value="base_laser_left" />
</include>
<include file="$(find cob_bringup)/drivers/scan_unifier.launch" >
<arg name="robot" value="$(arg robot)" />
</include>
<include file="$(find cob_bringup)/drivers/sick_flexisoft.launch" >
<arg name="robot" value="$(arg robot)" />
</include>
<include file="$(find cob_bringup)/drivers/scan_unifier.launch" >
<include file="$(find cob_bringup)/tools/collision_monitor.launch" >
<arg name="robot" value="$(arg robot)" />
</include>

Expand Down
5 changes: 4 additions & 1 deletion cob_bringup/robots/cob4-2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@
<arg name="robot" value="$(arg robot)" />
<arg name="name" value="base_laser_left" />
</include>
<include file="$(find cob_bringup)/drivers/scan_unifier.launch" >
<arg name="robot" value="$(arg robot)" />
</include>
<include file="$(find cob_bringup)/drivers/sick_flexisoft.launch" >
<arg name="robot" value="$(arg robot)" />
</include>
<include file="$(find cob_bringup)/drivers/scan_unifier.launch" >
<include file="$(find cob_bringup)/tools/collision_monitor.launch" >
<arg name="robot" value="$(arg robot)" />
</include>

Expand Down
22 changes: 22 additions & 0 deletions cob_bringup/tools/collision_monitor.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<launch>

<arg name="robot" default="$(optenv ROBOT !!NO_ROBOT_SET!!)"/>
<arg name="pkg_hardware_config" default="$(find cob_hardware_config)"/>

<arg name="load_robot_description" default="false"/>
<arg name="pkg_moveit_config" default="$(find cob_moveit_config)"/>

<!-- Load SRDF -->
<include file="$(arg pkg_moveit_config)/launch/planning_context.xml">
<arg name="load_robot_description" value="$(arg load_robot_description)" />
<arg name="robot" value="$(arg robot)" />
<arg name="config_path" value="$(arg pkg_moveit_config)/$(arg robot)/config" />
</include>

<!-- start collision monitor node -->
<node pkg="cob_collision_monitor" type="cob_collision_monitor_node" name="cob_collision_monitor_node">
<remap from="/cob_collision_monitor_node/state_is_valid" to="/safety_controller/state_is_valid"/>
</node>

</launch>