Size: 3565
Comment:
|
Size: 4440
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
name=Motor desc=ROS API for the NXT motor pub{ 0.name= ~joint_state 0.type= sensor_msgs/JointState 0.desc= The current effort, position, and velocity of the servo motors. } sub{ } param { 0.name= ~nxt_robot/type 0.default= None 0.type= string 0.desc= The type should be set to "motor". 1.name= ~nxt_robot/port 1.default=None 1.type= string 1.desc= This should be one of the brick ports: PORT_A, PORT_B or PORT_C. 2.name= ~nxt_robot/desired_frequency 2.default=None 2.type= double 2.desc= The desired update frequency for the actuator and sensor. 3.name= ~nxt_robot/name 3.default=None 3.type= string 3.desc= The topic name for the sensor data. 4.name= ~nxt_robot/frame_id 4.default=None 4.type= string 4.desc= The frame that the sensor data is published in. } } }}} {{attachment:motor.jpg||width="200"}} {{{ #!clearsilver CS/NodeAPI node.0 { |
|
Line 20: | Line 63: |
0.desc= The type should be set to !UltrasonicSensor. | 0.desc= The type should be set to "ultrasonic". |
Line 60: | Line 103: |
0.desc= The type should be set to !TouchSensor. | 0.desc= The type should be set to "touch". |
Line 100: | Line 143: |
0.desc= The type should be set to !ColorSensor. | 0.desc= The type should be set to "color". |
Line 139: | Line 182: |
0.desc= The type should be set to !GyroSensor. | 0.desc= The type should be set to "gyro". |
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
Motor
ROS API for the NXT motorPublished Topics
~joint_state (sensor_msgs/JointState)- The current effort, position, and velocity of the servo motors.
Parameters
~nxt_robot/type (string, default: None)- The type should be set to "motor".
- This should be one of the brick ports: PORT_A, PORT_B or PORT_C.
- The desired update frequency for the actuator and sensor.
- The topic name for the sensor data.
- The frame that the sensor data is published in.
Ultrasonic Sensor
ROS API for the ultrasonic sensorPublished Topics
~<name> (nxt_msgs/Range)Parameters
~nxt_robot/type (string, default: None)- The type should be set to "ultrasonic".
- This should be one of the brick ports: PORT_1, PORT_2, PORT_3, or PORT_4.
- The desired update frequency for the sensor.
- The topic name for the sensor data.
- The frame that the sensor data is published in.
Touch Sensor
ROS API for the touch sensorPublished Topics
~<name> (nxt_msgs/Contact)- The state of the touch sensor (touching or not).
Parameters
~nxt_robot/type (string, default: None)- The type should be set to "touch".
- This should be one of the brick ports: PORT_1, PORT_2, PORT_3, or PORT_4.
- The desired update frequency for the sensor.
- The topic name for the sensor data.
- The frame that the sensor data is published in.
Color Sensor
ROS API for the color sensorPublished Topics
~<name> (nxt_msgs/Color)- Color value measured from the color sensor.
Parameters
~nxt_robot/type (string, default: None)- The type should be set to "color".
- This should be one of the brick ports: PORT_1, PORT_2, PORT_3, or PORT_4.
- The desired update frequency for the sensor.
- The topic name for the sensor data.
- The frame that the sensor data is published in.
Gyro Sensor
ROS API for the gyro sensorPublished Topics
~<name> (sensor_msgs/Imu)- Rotation rate data from the gyro sensor.
Parameters
~nxt_robot/type (string, default: None)- The type should be set to "gyro".
- This should be one of the brick ports: PORT_1, PORT_2, PORT_3, or PORT_4.
- The desired update frequency for the sensor.
- The topic name for the sensor data.
- The frame that the sensor data is published in.