Difference between revisions of "ROS Bridge Install"

From wikidb
Jump to: navigation, search
(Apache Setup)
(Java Script Test Page)
Line 11: Line 11:
 
== Java Script Test Page ==
 
== Java Script Test Page ==
  
The following script was placed in <tt>/home/eepp/public_html</tt>
+
The following script was placed in <tt>/home/eepp/public_html</tt>. It is a simplification of the script found at
 +
[ttp://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality Basic ROS Javascript functionality tutorial]
  
 
[[RosBridge Twist Test Page]]
 
[[RosBridge Twist Test Page]]

Revision as of 15:32, 10 February 2016

References

Install

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

Java Script Test Page

The following script was placed in /home/eepp/public_html. It is a simplification of the script found at [ttp://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

Apache Setup

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

 localhost/~eepp/twist_test.html

Notes

  • 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.

Install

 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