-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make laser scanner module-specific instead of robot-specific
- Loading branch information
Showing
39 changed files
with
255 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
<?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="name"/> | ||
<arg name="host"/> | ||
<arg name="inverted"/> | ||
<arg name="frame_id" default="$(arg name)_link"/> | ||
<arg name="scan_intervals"/> | ||
<arg name="sim" default="false"/> | ||
|
||
<!-- load parameter --> | ||
<rosparam ns="$(arg name)" command="load" file="$(arg pkg_hardware_config)/robots/$(arg robot)/config/$(arg name).yaml"/> | ||
<group ns="$(arg name)"> | ||
<rosparam command="load" file="$(arg pkg_hardware_config)/components/sick_lms1xx/sick_lms1xx.yaml"/> | ||
<rosparam param="host" subst_value="True">$(arg host)</rosparam> | ||
<rosparam param="inverted" subst_value="True">$(arg inverted)</rosparam> | ||
<rosparam param="frame_id" subst_value="True">$(arg frame_id)</rosparam> | ||
|
||
<!-- start laser driver --> | ||
<node unless="$(arg sim)" ns="$(arg name)" pkg="cob_sick_lms1xx" type="lms100" name="driver" respawn="false" output="screen"> | ||
<remap from="scan" to="scan_raw"/> | ||
</node> | ||
<!-- start laser driver --> | ||
<node unless="$(arg sim)" pkg="cob_sick_lms1xx" type="lms100" name="driver" respawn="false" output="screen"> | ||
<remap from="scan" to="scan_raw"/> | ||
</node> | ||
</group> | ||
|
||
<!-- laser filter --> | ||
<include file="$(find cob_bringup)/drivers/laser_scan_filter.launch"> | ||
<arg name="robot" value="$(arg robot)"/> | ||
<arg name="pkg_hardware_config" value="$(arg pkg_hardware_config)"/> | ||
<arg name="name" value="$(arg name)"/> | ||
<arg name="scan_intervals" value="$(arg scan_intervals)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,33 @@ | ||
<?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="name"/> | ||
<arg name="port"/> | ||
<arg name="inverted"/> | ||
<arg name="scan_id"/> | ||
<arg name="frame_id" default="$(arg name)_link"/> | ||
<arg name="scan_intervals"/> | ||
<arg name="sim" default="false"/> | ||
|
||
<!-- load parameter --> | ||
<rosparam ns="$(arg name)" command="load" file="$(arg pkg_hardware_config)/robots/$(arg robot)/config/$(arg name).yaml"/> | ||
<group ns="$(arg name)"> | ||
<rosparam command="load" file="$(arg pkg_hardware_config)/components/sick_s300/sick_s300.yaml"/> | ||
<rosparam param="port" subst_value="True">$(arg port)</rosparam> | ||
<rosparam param="inverted" subst_value="True">$(arg inverted)</rosparam> | ||
<rosparam param="scan_id" subst_value="True">$(arg scan_id)</rosparam> | ||
<rosparam param="frame_id" subst_value="True">$(arg frame_id)</rosparam> | ||
|
||
<!-- start laser driver --> | ||
<node unless="$(arg sim)" ns="$(arg name)" pkg="cob_sick_s300" type="cob_sick_s300" name="driver" respawn="false" output="screen"> | ||
<remap from="scan" to="scan_raw"/> | ||
</node> | ||
<!-- start laser driver --> | ||
<node unless="$(arg sim)" pkg="cob_sick_s300" type="cob_sick_s300" name="driver" respawn="false" output="screen"> | ||
<remap from="scan" to="scan_raw"/> | ||
</node> | ||
</group> | ||
|
||
<!-- laser filter --> | ||
<include file="$(find cob_bringup)/drivers/laser_scan_filter.launch"> | ||
<arg name="robot" value="$(arg robot)"/> | ||
<arg name="pkg_hardware_config" value="$(arg pkg_hardware_config)"/> | ||
<arg name="name" value="$(arg name)"/> | ||
<arg name="scan_intervals" value="$(arg scan_intervals)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_front"/> | ||
<arg name="port" value="/dev/ttyScanFront"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_left"/> | ||
<arg name="port" value="/dev/ttyScanLeft"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_right"/> | ||
<arg name="port" value="/dev/ttyScanRight"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="8"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_front"/> | ||
<arg name="port" value="/dev/ttyScanFront"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_left"/> | ||
<arg name="port" value="/dev/ttyScanLeft"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_right"/> | ||
<arg name="port" value="/dev/ttyScanRight"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="8"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_front"/> | ||
<arg name="port" value="/dev/ttyScanFront"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_left"/> | ||
<arg name="port" value="/dev/ttyScanLeft"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_right"/> | ||
<arg name="port" value="/dev/ttyScanRight"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="8"/> | ||
<arg name="scan_intervals" value="[[-1.5, 1.5]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_front"/> | ||
<arg name="port" value="/dev/ttyScan0"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value=" [[-2.0, 2.0]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_rear"/> | ||
<arg name="port" value="/dev/ttyScan1"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value="[[-2.0, 2.0]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_front"/> | ||
<arg name="port" value="/dev/ttyScan0"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value=" [[-2.0, 2.0]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_s300.launch"> | ||
<arg name="name" value="base_laser_rear"/> | ||
<arg name="port" value="/dev/ttyScan1"/> | ||
<arg name="inverted" value="false"/> | ||
<arg name="scan_id" value="7"/> | ||
<arg name="scan_intervals" value="[[-2.0, 2.0]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="sim" default="false"/> | ||
|
||
<include file="$(find cob_bringup)/drivers/sick_lms1xx.launch"> | ||
<arg name="name" value="base_laser_left"/> | ||
<arg name="host" value="141.3.80.116"/> | ||
<arg name="inverted" value="true"/> | ||
<arg name="scan_intervals" value="[[-2.0, 2.0]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
<include file="$(find cob_bringup)/drivers/sick_lms1xx.launch"> | ||
<arg name="name" value="base_laser_rear"/> | ||
<arg name="host" value="141.3.80.115"/> | ||
<arg name="inverted" value="true"/> | ||
<arg name="scan_intervals" value="[[-2.0, 2.0]]"/> | ||
<arg name="sim" value="$(arg sim)"/> | ||
</include> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.