Skip to content

dgossow/interactivemarkersjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

The Interactive Marker functionality has moved to ros3djs. Ros3djs includes interactive markers plus scene management, Collada loading, and more.

Original Description

InteractiveMarkers.js provides an implementation of Interactive Markers for the web based on ros.js, actionlib.js and three.js.

In order to reduce data traffic, it requires you to run a proxy node on the topic that you are subscribing to and a tf republisher.

Please also use the most recent source version of interative_markers and visualization_tutorials, as some changes are not released yet (on ROS Fuerte, use this branch).

The library is designed to be modular, lightweight and to follow the UMD convention.

Modules

  • markersthree.js: Visualizes Marker messages in three.js
  • threeinteraction.js: Mouse Interaction library for three.js
  • improxy.js: Client to an Interactive Marker proxy server via ros.js
  • imthree.js: View Interactive Markers using the above libraries
  • tfclient.js: tf implementation via actionlib.js

Usage

For example WebGL apps, see the examples directory.

To run the basic_controls example, go to the examples directory and run (in two terminals):

./simple_webserver.py

roslaunch basic_controls.launch

Then, go to http://localhost:8000/examples/basic_controls.html.