ROS /
ROSAccessorsThere are 5 accessors so far to interface with ROS: This publishes to a pre-established ROS topic through a web socket and rosbridge. This subscribes to a ROS topic through a web socket and rosbridge. This publishes waypoints to the Scarab ground robot. This controls the movement of a Scarab robot using the arrow keys. 'U' moves forward, 'L' rotates left, 'R' rotates right and 'D' returns to origin. This accessor does not do any publishing or subscribing. It should take inputs from RosSubscriber (subscribed to '/pose') to subscribe to current pose information and output waypoints to ScarabGoalPublisher. The ScarabHueController accessor turns on the Hue light closest to the Scarab. It takes in Scarab's pose and a lightMap in JSON form. The lightMap is a JSON object of the available Hue lights and their positions. If you have Ptolemy installed, there is a main demo file of the ROS accessors with the Ptolemy host at $PTII/org/terraswarm/ros/demo/Ros/Ros.xml These have recently been added, so if you don't see it, cd $PTII svn update See Also |