• Diff for "maggie_eyelids"
Differences between revisions 4 and 5
Revision 4 as of 2015-06-11 16:58:39
Size: 1279
Editor: raul.perula
Comment:
Revision 5 as of 2015-06-11 17:10:23
Size: 1320
Editor: raul.perula
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
This device supports all the drivers implemented in the This device supports all the drivers implemented in the [[maggie_serial_comm_drivers
]] package.

Only released in EOL distros:  

maggie_devices: maggie_base | maggie_eyelids | maggie_ir_controller | maggie_labjack | maggie_motor_controller | maggie_rfid

Package Summary

eyelids node

Overview

This package provides basic functionality for controlling two servomotors working as eyelids of a robot.

Devices Supported

This device supports all the drivers implemented in the [[maggie_serial_comm_drivers ]] package.

ROS Nodes

eyelids_node

ROS node for controlling the servomotors of the eyelids.

Services

move_abs_pos (motor_controller_msgs/MoveAbsPos)
  • Service to move the eyelid to an absolute position.
move_str_pos (eyelids_msgs/MoveStrPos)
  • Service to move the eyelid to a predefined position. Options are: open, close, normal.

Parameters

~port (string)
  • Communication port name.
~side (string)
  • Eye option, left or right.

Launch File Examples

In a terminal window, start an eyelids node process running:

 $ roslaunch maggie_eyelids maggie_eyelids.launch robot:=maggie

Examples

An example of movement by string could be:

  1. Launch the node.
  2. Move by string:

 $ rosservice call /maggie/move_str_pos "open"

Wiki: maggie_eyelids (last edited 2015-06-12 09:18:31 by raul.perula)