-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9b6050
commit e4f5262
Showing
5 changed files
with
98 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0"?> | ||
|
||
<robot name="elp_standalone" xmlns:xacro="http://ros.org/wiki/xacro"> | ||
<!-- include the elp_stereo_camera macro --> | ||
<xacro:include filename="$(find elp_stereo_synchronized_ros_pkg)/description/elp_stereo_camera.urdf.xacro"/> | ||
|
||
<!-- use the elp_stereo_camera macro to create a camera with name "elp" --> | ||
<elp_stereo_camera name="elp"/> | ||
</robot> |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
|
||
<launch> | ||
<arg name="CAMERA_NAME" default="elp" /> | ||
|
||
<arg name="sync_split_node" default="split_sync_image_node" /> | ||
|
||
<!-- start camera --> | ||
<include file="$(find elp_stereo_synchronized_ros_pkg)/launch/elp_stereo_camera.launch"> | ||
<arg name="CAMERA_NAME" value="$(arg CAMERA_NAME)" /> | ||
</include> | ||
|
||
<!-- start calibration --> | ||
<node pkg="camera_calibration" type="cameracalibrator.py" name="cameracalibrator" args=" --size 8x6 --square 0.025 --approximate=0.3 left:=/$(arg CAMERA_NAME)/$(arg sync_split_node)/left/image_raw right:=/$(arg CAMERA_NAME)/$(arg sync_split_node)/right/image_raw left_camera:=/$(arg CAMERA_NAME)/$(arg sync_split_node)/left right_camera:=/$(arg CAMERA_NAME)/$(arg sync_split_node)/right" required="true"> | ||
</node> | ||
</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,12 @@ | ||
<?xml version="1.0"?> | ||
|
||
<launch> | ||
<!-- start publishing transforms --> | ||
<param name="robot_description" command="$(find xacro)/xacro '$(find elp_stereo_synchronized_ros_pkg)/description/elp_standalone.urdf.xacro'" /> | ||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" /> | ||
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" /> | ||
|
||
<!-- start rviz with custom vcg --> | ||
<node pkg="rviz" type="rviz" name="rviz" args="-d $(find elp_stereo_synchronized_ros_pkg)/extra/elp_stereo_camera.rviz" required="true"> | ||
</node> | ||
</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