Skip to content

Commit ff62906

Browse files
authored
Merge pull request #158 from BCLab-UNM/hotfix_camera_calibration_path
Changed direct pathing to relative pathing
2 parents bbbf63a + 4f1df38 commit ff62906

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

misc/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Run()
114114
#ssh and run script from rover --WORKS
115115
gnome-terminal --tab -x bash -c "echo -n -e '\033]0;$roverIP\007';
116116
ssh -t swarmie@$roverIP 'echo 'Running $roverIP';
117-
cd SwarmBaseCode-ROS/misc;
117+
cd $dirName/misc;
118118
./rover_onboard_node_launch.sh $hostName;
119119
exit 1;
120120
exit 1;

misc/rover_onboard_node_launch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ nohup > logs/$HOSTNAME"_transform_log.txt" rosrun tf static_transform_publisher
5757
echo "rosrun video_stream_opencv"
5858

5959
#nohup rosrun video_stream_opencv video_stream __name:=$HOSTNAME\_CAMERA _video_stream_provider:=/dev/video0 /camera:=/$HOSTNAME/camera/image _camera_info_url:=file://${HOME}/SwarmBaseCode-ROS/camera_info head_camera.yaml _width:=320 _height:=240 &
60-
nohup > logs/$HOSTNAME"_USBCAM_log.txt" rosrun usb_cam usb_cam_node __name:=$HOSTNAME\_CAMERA /$HOSTNAME\_CAMERA/image_raw:=/$HOSTNAME/camera/image _camera_info_url:=file://$HOME/SwarmBaseCode-ROS/camera_info/head_camera.yaml _image_width:=320 _image_height:=240 &
61-
60+
nohup > logs/$HOSTNAME"_USBCAM_log.txt" rosrun usb_cam usb_cam_node __name:=$HOSTNAME\_CAMERA /$HOSTNAME\_CAMERA/image_raw:=/$HOSTNAME/camera/image _camera_info_url:=file://$(realpath ..)/camera_info/head_camera.yaml _image_width:=320 _image_height:=240 &
61+
echo $(realpath ..)/camera_info/head_camera.yaml
6262
# deprecated; we are replacing the usb cam with opencv cam
6363
# mage_raw:=/$HOSTNAME/camera/image _camera_info_url:=file://${HOME}/rover_workspace/camera_info/head_camera.yaml _image_width:=320 _image_height:=240 &
6464

0 commit comments

Comments
 (0)