Skip to content

Commit

Permalink
SCRIPTS: switch bag variable to image_rect_color, add fps alias
Browse files Browse the repository at this point in the history
  • Loading branch information
kev-the-dev committed May 16, 2017
1 parent 9d612dd commit 5283a5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/bagging_variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ export BAG_ALWAYS="/odom /absodom /clock /tf /tf_static"
# Define the directory that the bags will be stored in
export BAG_DIR=~/bags

# Define the type of image to use for camera topics
export BAG_CAM_SUFFIX="image_rect_color"

# Topic variables that can be used from the bag command
export bag_front_left_cam="/camera/front/left/camera_info /camera/front/left/image_raw"
export bag_front_right_cam="/camera/front/right/camera_info /camera/front/right/image_raw"
export bag_front_left_cam="/camera/front/left/camera_info /camera/front/left/$BAG_CAM_SUFFIX"
export bag_front_right_cam="/camera/front/right/camera_info /camera/front/right/$BAG_CAM_SUFFIX"
export bag_front_cams="$bag_front_left_cam $bag_front_right_cam"
export bag_down_cam="/camera/down/left/camera_info /camera/down/left/image_raw"
export bag_down_cam="/camera/down/left/camera_info /camera/down/left/$BAG_CAM_SUFFIX"
export bag_blueview_ranges="/blueview_driver/ranges"
export bag_blueview_color="/blueview_driver/image_color"
export bag_blueview_mono="/blueview_driver/image_mono"
Expand Down
3 changes: 3 additions & 0 deletions scripts/bash_aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ alias sshsub="ssh sub8@${HOSTNAMES[0]} -Y"
# Missions
alias subm="rosrun sub8_missions run_mission"
alias subc="rosrun sub8_missions move_command"

# Cameras
alias subfps="rostopic hz $bag_front_cams $bag_down_cam"

0 comments on commit 5283a5e

Please sign in to comment.