Skip to content

pratman2/usma_remote_interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usma_remote_interface

  1. Install all dependencies (assuming ROS Indigo).
  • $ sudo apt-get install ros-indigo-rosbridge-server
  • $ sudo apt-get install ros-indigo-mjpeg-server
  • $ sudo apt-get install ros-indigo-usb-cam
  1. Clone the usma_remote_interface ros package into your catkin workspace src folder.
  • $ cd ~/catkin_ws/src
  • $ git clone https://github.com/westpoint-robotics/usma_remote_interface.git usma_remote_interface
  1. Run the setup script.
  • $ cd ~/catkin_ws/src/usma_remote_interface/scripts
  • $ ./usma_remote_interface_setup.sh
  1. Edit the master.launch argument for the correct video input.
  • $ cd ~/catkin_ws/src/usma_remote_interface/launch
  • $ ls /dev/video* (to see available video devices)
  • $ vim master.launch (or your preferred editor)
  • Change the video device. Internal webcams will typically be video0, an external webcam could be video1.
  • <arg name="video_device" default="/dev/video1" />
  1. Edit the javascript config.
  • $ roscd usma_remote_interface/webpage
  • $ vim config.js (or your preferred editor)
  • Edit the file to reflect desired topics and IPs
  1. Launch master.launch.
  • $ roslaunch usma_remote_interface master.launch
  1. Check to make sure your video feed is working. Change the image topic to match the topic name.
  • $ rosrun image_view image_view image:=/usb_cam/image_raw
  1. Go to a web browser and enter in the IP address for the computer.
  • url: <ip_address_server>
  • example: localhost
  1. To set up a ROS master to connect multiple machines over the network:
  1. To run teleop from your client machine, plug-in your joystick and execute:
  • $ roslaunch teleop_twist_joy teleop.launch
  • You may need to remap twist message names

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.0%
  • HTML 4.3%
  • Other 1.7%