Difference between revisions of "ROS Bridge Install"
From wikidb
(→Java Script Test Page) |
(→roslaunch Script) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* [http://wiki.ros.org/rosbridge_suite rosbridge_suite] | * [http://wiki.ros.org/rosbridge_suite rosbridge_suite] | ||
* [http://wiki.ros.org/rosbridge_suite/Tutorials/RunningRosbridge Running rosbridge] | * [http://wiki.ros.org/rosbridge_suite/Tutorials/RunningRosbridge Running rosbridge] | ||
− | * [http://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality roslibjs] | + | * [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 == | ||
Line 9: | Line 10: | ||
sudo apt-get install ros-indigo-rosbridge-suite | sudo apt-get install ros-indigo-rosbridge-suite | ||
− | == | + | == Javascript Test Page == |
The following script was placed in <tt>/home/eepp/public_html</tt>. It is a simplification of the script found at | The following script was placed in <tt>/home/eepp/public_html</tt>. It is a simplification of the script found at | ||
Line 33: | Line 34: | ||
localhost/~eepp/twist_test.html | localhost/~eepp/twist_test.html | ||
+ | |||
+ | == roslaunch Script == | ||
+ | |||
+ | roslaunch floor_hugger teleop_bridge.launch | ||
+ | |||
+ | [[ROS_Bridge_RobotWebTools_Keyboard_Teleop#roslaunch_Script]] | ||
== Apache Setup == | == Apache Setup == | ||
Line 40: | Line 47: | ||
localhost/~eepp/twist_test.html | 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
Contents
References
- rosbridge_suite
- Running rosbridge
- Basic ROS Funtionality with roslibjs
- Using Javascript to control ROS via rosjs
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
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