Only released in EOL distros:
Package Summary
A driver for the Schunk(formerly Amtec) pan-tilt unit. Provides a library, ROS wrapper, test program and ROS node for sweeping the unit.
- Author: Charles DuHadway and Benjamin Pitzer
- License: BSD
- Repository: bosch-ros-pkg
- Source: svn http://svn.code.sf.net/p/bosch-ros-pkg/code/tags/stacks/bosch_drivers/bosch_drivers-0.3.0
Package Summary
A driver for the Schunk(formerly Amtec) pan-tilt unit. Provides a library, ROS wrapper, test program and ROS node for sweeping the unit.
- Author: Charles DuHadway, Benjamin Pitzer (Maintained by Benjamin Pitzer)
- License: BSD
- Source: svn http://svn.code.sf.net/p/bosch-ros-pkg/code/branches/electric/stacks/bosch_drivers
Package Summary
A driver for the Schunk(formerly Amtec) pan-tilt unit. Provides a library, ROS wrapper, test program and ROS node for sweeping the unit.
- Author: Charles DuHadway, Benjamin Pitzer (Maintained by Benjamin Pitzer)
- License: BSD
- Source: svn http://svn.code.sf.net/p/bosch-ros-pkg/code/trunk/stacks/bosch_drivers
Package Summary
A driver for the Schunk(formerly Amtec) pan-tilt unit. Provides a library, ROS wrapper, test program and ROS node for sweeping the unit.
- Author: Charles DuHadway, Benjamin Pitzer (Maintained by Benjamin Pitzer)
- License: BSD
- Source: svn http://svn.code.sf.net/p/bosch-ros-pkg/code/trunk/stacks/bosch_drivers
Nodes
amtec_node
The Amtec node interfaces with the Schunk (formerly Amtec) pan tilt unit. It provides services to control the motion of the unit, publishes status messages and publishes transforms.
Parameters
Motion Parameters
~<name>/pan_min_pos (double, default: -3.5)
- Minimum allowed pan position (in radians)
- Maximum allowed pan position (in radians)
- Maximum allowed pan velocity (in radians/sec)
- Maximum allowed pan acceleration (in radians/sec/sec)
- Maximum allowed pan current
- c0 gain for pan axis
- Damping gain for pan axis
- a0 gain for pan axis
~<name>/tilt_min_pos (double, default: -3.5)
- Minimum allowed tilt position (in radians)
- Maximum allowed tilt position (in radians)
- Maximum allowed tilt velocity (in radians/sec)
- Maximum allowed tilt acceleration (in radians/sec/sec)
- Maximum allowed tilt current
- c0 gain for tilt axis
- Damping gain for tilt axis
- a0 gain for tilt axis
- Use hardware break to hold tilt axis position
Unit ID Parameters
~<name>/pan_id (integer, default: 14)
- Id of pan axis
- Id of tilt axis
Frame Parameters
~<name>/parent_frame (string, default: "head_link")
- The frame id of the unit's parent frame
- The frame id for the unit itself
Connection Parameters
~<name>/port (string, default: "/dev/ttyUSB2")
- The device connected to the unit
- Parity of serial connection. Possible values are "N", "E" and "O"
- Baud rate of serial connection
- stop bits
- enable hardware flow control
- enable software flow control
Published Topics
~<name>/pan_state (amtec/AmtecState)- The pan state
- The tilt state
Services
~<name>/get_status (amtec/GetStatus)- Get the current position and velocity of unit
- Halt unit
- Home unit
- Set desired position
- Home unit
- Set desired acceleration to use when executing motion commands
- Set desired velocity to use when executing position commands
- Begin a sinusoidal sweeping pattern of the pan axis
- Begin a sinusoidal sweeping pattern of the tilt axis
sweep_amtec
Sweeps pan axis of amtec using trapezoidal motion profiles instead of the sinusoidal motion profiles provided by amtec_node directly. Uses the services provided by amtec_node.
Parameters
~<name>/pan_start (double, default: -0.6)- Starting position of sweep pattern (in radians).
- Ending position of sweep pattern (in radians)
- Maximum velocity to use in motion profile (in radians/sec)
- Acceleration to use in motion profile (in radians/sec/sec)
test_amtec
A node that will attempt to establish a connection to an amtec unit, reset it, home it and then exit. the device and baud_rate should be specified on the command line. Uses libamtec directly, it doesn't go through amtec_node.