Skip to content

Instantly share code, notes, and snippets.

@bikz05
Last active October 7, 2015 01:18
Show Gist options
  • Save bikz05/3d4917331611f59827bf to your computer and use it in GitHub Desktop.
Save bikz05/3d4917331611f59827bf to your computer and use it in GitHub Desktop.
ROS Assignment

ROS Commands

roscore
# Export this to set the variables to capture form webcam
export GSCAM_CONFIG="v4l2src device=/dev/video0 ! video/x-raw-rgb,framerate=30/1 ! ffmpegcolorspace"
# run gscam to get input from webcam and publish to /camera/image_raw topic
rosrun gscam gscam
# Open a new node to display the webcam output
rosrun image_view image_view image:=/camera/image_raw

Packages to be used

Important Threads

ssh notes

roscore

## On my computer
sudo apt-get install openssh-server
add <ip> <hostname> to /etc/hosts
ssh <username>@<ip-address>
export ROS_IP=`hostname -I`
export ROS_MASTER_URI=http://<usernam>eubu:11311
ifconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment