Difference between revisions of "ROS Bridge Install"

From wikidb
Jump to: navigation, search
(Created page with "== References == Chapter 13: Rrosbridge: Building a Web GUI for your Robot. ROS By Example, Volume 2: Packages and Programs for Advanced Robot Behaviors version 1.02 for Hydr...")
 
(roslaunch Script)
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== References ==
 
== References ==
  
Chapter 13: Rrosbridge: Building a Web GUI for your Robot. ROS By Example, Volume 2: Packages and Programs for Advanced Robot Behaviors version 1.02 for Hydro by R. Patrick Goebel, Lulu, July 2014.
+
* [http://wiki.ros.org/rosbridge_suite rosbridge_suite]
 +
* [http://wiki.ros.org/rosbridge_suite/Tutorials/RunningRosbridge Running rosbridge]
 +
* [http://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality Basic ROS Funtionality with roslibjs]
 +
* [http://library.isr.ist.utl.pt/docs/roswiki/rosbridge(2f)Tutorials(2f)Using(20)Javascript(20)to(20)control(20)ROS(20)via(20)rosjs.html Using Javascript to control ROS via rosjs]
  
 
== Install ==
 
== Install ==
  
 
   sudo apt-get install ros-indigo-rosbridge-suite
 
   sudo apt-get install ros-indigo-rosbridge-suite
  sudo apt-get install ros-indigo-robot-pose-publisher
+
 
   sudo apt-get install ros-indigo-tf2-web-republisher
+
== Javascript Test Page ==
 +
 
 +
The following script was placed in <tt>/home/eepp/public_html</tt>. It is a simplification of the script found at
 +
[http://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality Basic ROS Javascript functionality tutorial]
 +
 
 +
[[RosBridge Twist Test Page]]
 +
 
 +
== Run ==
 +
 
 +
In first terminal.
 +
 
 +
   roscore
 +
 
 +
In second terminal.
 +
 
 +
  rosrun phidgets motor_control_hc
 +
 
 +
In third terminal.
 +
 
 +
  roslaunch rosbridge_server rosbridge_websocket.launch
 +
 
 +
In browser
 +
 
 +
  localhost/~eepp/twist_test.html
 +
 
 +
== roslaunch Script ==
 +
 
 +
  roslaunch floor_hugger teleop_bridge.launch
 +
 
 +
[[ROS_Bridge_RobotWebTools_Keyboard_Teleop#roslaunch_Script]]
 +
 
 +
== Apache Setup ==
 +
 
 +
See notes on [[NUC_Web]] to set up home page on ~eepp. Browse to:
 +
 
 +
  localhost/~eepp/twist_test.html
 +
 
 +
== Robot Web Tools ==
 +
 
 +
* [http://robotwebtools.org/tools.html tools]
 +
 
 +
==== ROSLIBJS ====
 +
 
 +
* [http://wiki.ros.org/roslibjs/ ROS wiki]
 +
* [http://robotwebtools.org/jsdoc/roslibjs/current/ Documentation]
 +
* [http://wiki.ros.org/roslibjs/Tutorials Tutorials]
 +
 
 +
To get examples
 +
  git clone https://github.com/RobotWebTools/roslibjs

Latest revision as of 10:49, 2 March 2016

References

Install

 sudo apt-get install ros-indigo-rosbridge-suite

Javascript Test Page

The following script was placed in /home/eepp/public_html. It is a simplification of the script found at Basic ROS Javascript functionality tutorial

RosBridge Twist Test Page

Run

In first terminal.

 roscore

In second terminal.

 rosrun phidgets motor_control_hc

In third terminal.

 roslaunch rosbridge_server rosbridge_websocket.launch

In browser

 localhost/~eepp/twist_test.html

roslaunch Script

 roslaunch floor_hugger teleop_bridge.launch

ROS_Bridge_RobotWebTools_Keyboard_Teleop#roslaunch_Script

Apache Setup

See notes on NUC_Web to set up home page on ~eepp. Browse to:

 localhost/~eepp/twist_test.html

Robot Web Tools

ROSLIBJS

To get examples

 git clone https://github.com/RobotWebTools/roslibjs