Skip to content

Commit

Permalink
install update
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowerst-0416 authored Dec 1, 2022
1 parent 5f782f7 commit a405872
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 5 additions & 4 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ echo 'echo 0 > /sys/module/usbcore/parameters/usbfs_memory_mb' | sudo tee -a /et
# if file /etc/rc.local does not exist
printf '%s\n' '#!/bin/bash' 'echo 0 > /sys/module/usbcore/parameters/usbfs_memory_mb' | sudo tee /etc/rc.local; sudo chmod +x /etc/rc.local

mkdir $HOME/Calibration_ws/intrinsic
mkdir $HOME/Calibration_ws/intrinsic_rect
mkdir $HOME/Calibration_ws/laser_calib
mkdir $HOME/Calibration_ws/src/UR_arm_camera_calibration/multi_calibration/intrinsic
mkdir $HOME/Calibration_ws/src/UR_arm_camera_calibration/multi_calibration/intrinsic_rect
mkdir $HOME/Calibration_ws/src/UR_arm_camera_calibration/multi_calibration/laser

cp $HOME/Calibration_ws/src/UR_arm_camera_calibration/multi_calibration/cfg/laser_calib.yaml $HOME/Calibration_ws/src/UR_arm_camera_calibration/multi_calibration/laser/laser_calib.yaml

cp $HOME/Calibration_ws/src/UR_arm_camera_calibration/multi_calibration/cfg/laser_calib.yaml $HOME/Calibration_ws/laser_calib/laser_calib.yaml
10 changes: 9 additions & 1 deletion multi_calibration/launch/auto_calibration.launch
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<launch>
<arg name="directory" default="$(dirname)/.."/>
<!-- <arg name="directory" default="$(dirname)/.."/> -->


<arg name="camera_intrinsic" default="0"/>

Expand All @@ -9,6 +10,7 @@
<arg name="laser_cam" default="0"/>

<group if="$(eval arg('camera_intrinsic') == 1)">
<arg name="directory" default="$(find multi_calibration)/intrinsic"/>
<node name="trajectory_planner_node" pkg="multi_calibration" type="trajectory_planner_node" output="screen" args = "0"/>
<node name="image_saving_node" pkg="multi_calibration" type="image_saving_node" output="screen" args="$(arg directory)"/>
<rosparam file="$(dirname)/../cfg/trajectory_planner.yaml"/>
Expand All @@ -18,6 +20,7 @@
</group>

<group if="$(eval arg('camera_rect_intrinsic') == 1)">
<arg name="directory" default="$(find multi_calibration)/intrinsic_rect"/>
<node name="trajectory_planner_node" pkg="multi_calibration" type="trajectory_planner_node" output="screen" args = "0)"/>
<node name="image_saving_node" pkg="multi_calibration" type="image_saving_node" output="screen" args="$(arg directory)"/>
<node name="image_rect_node" pkg="multi_calibration" type="image_rect_node" output="screen" args="$(find multi_calibration)/cfg/ximea_80_calib.yaml" />
Expand All @@ -35,7 +38,12 @@
</group>

<group if="$(eval arg('laser_cam') == 1)">
<arg name="directory" default="$(find multi_calibration)/laser"/>
<node name="trajectory_planner_node" pkg="multi_calibration" type="trajectory_planner_node" output="screen" args = "0"/>
<node name="image_saving_node" pkg="multi_calibration" type="image_saving_node" output="screen" args="$(arg directory)"/>
<node name="image_rect_node" pkg="multi_calibration" type="image_rect_node" output="screen" args="$(find multi_calibration)/cfg/ximea_80_calib.yaml" />
<rosparam file="$(dirname)/../cfg/trajectory_planner.yaml"/>
<rosparam file="$(dirname)/../cfg/calib_params.yaml"/>
<rosparam>
cameraTopic: "/blaser_cam/image_rect_color"
</rosparam>
Expand Down

0 comments on commit a405872

Please sign in to comment.