Only released in EOL distros:
Package Summary
The nxt_ros package provides the bindings between the NXT world and the ROS world. This package will create a ROS topic for each NXT sensor, and publish the sensor's data on this topic. The package also creates a topic for each NXT motor, which allows you to command the motor from ROS. The nxt_ros bindings talk directly to the NXT brick, either over USB or over Bluetooth (note that the Bluetooth connection is currently too slow to be very useful). Binding an NXT robot to ROS only requires a single configuration file.
- Author: Wim Meeussen
- License: BSD
- Repository: foote-ros-pkg
- Source: hg https://stack-nxt.foote-ros-pkg.googlecode.com/hg
Package Summary
The nxt_ros package provides the bindings between the NXT world and the ROS world. This package will create a ROS topic for each NXT sensor, and publish the sensor's data on this topic. The package also creates a topic for each NXT motor, which allows you to command the motor from ROS. The nxt_ros bindings talk directly to the NXT brick, either over USB or over Bluetooth (note that the Bluetooth connection is currently too slow to be very useful). Binding an NXT robot to ROS only requires a single configuration file.
- Author: Wim Meeussen
- License: BSD
- Source: hg https://stack-nxt.foote-ros-pkg.googlecode.com/hg (branch: default)
Contents
ROS API
ros_nxt
nxt_ros provides the ROS interface for the nxt. A robot.yaml file (checkout this tutorial) is used to configure nxt_ros for the sensors pulled into your nxt brick.Published Topics
scan (sensor_msgs/LaserScan)- Scan data from the laser.
- Diagnostic status information.
Services
~self_test (diagnostic_msgs/SelfTest)- Starts the Hokuyo self test, which runs a series of tests on the device. The laser stops publishing scans during the test, which takes about a minute. The result of the test is in the response returned by this service. At the conclusion of the test, the laser is returned to its normal operating mode.
Parameters
Dynamically Reconfigurable Parameters
See the dynamic_reconfigure package for details on dynamically reconfigurable parameters.- The angle of the first range measurement in radians (range is [-π,π], though most devices have a smaller feasible range).
- The angle of the last range measurement in radians (range is [-π,π], though most devices have a smaller feasible range).
- Whether or not the hokuyo returns intensity values.
- The number of adjacent range measurements to cluster into a single reading; the shortest reading from the cluster is reported.
- The number of scans to skip between each measured scan.
- The port where the hokuyo device can be found.
- Whether the node should calibrate the hokuyo's time offset on startup. If true, the node will exchange of series of messages with the device in order to determine the time delay in the USB connection. This calibration step is necessary to produce accurate time stamps on scans.
- The frame in which laser scans will be returned. This frame should be at the optical center of the laser, with the x-axis along the zero degree ray, and the y-axis along the 90 degree ray.
- An offet to add to the timestamp before publication of a scan Range: -0.25 to 0.25 (New in release 1.0.1)
- Turn this on if you wish to use the UTM-30LX with an unsafe angular range. Turning this option on may cause occasional crashes or bad data. This option is a tempory workaround that will hopefully be removed in an upcoming driver version. (New in release 1.0.3)
Color Sensor Parameters
- Read only parameter indicating the smallest allowed value for ~min_ang on the currently connected device.
- Read only parameter indicating the largest allowed value for ~max_ang on the currently connected device.
- Read only parameter indicating the smallest distance that can be measured by the currently connected device.
- Read only parameter indicating the largest distance that can be measured by the currently connected device.