nicoros - FaceExpression¶
The FaceExpression class allows to manipulate the facial expression of NICO through ROS.
To start the interface run (use -h to list optional arguments):
rosrun nicoros FaceExpression.py
Exposed topics¶
The following ROS topics are exposed by the class - where $PREFIX stands for the prefix of the topics/services (Default: /nico/faceExpression/):
ROS topic name |
Message type |
Short description |
|---|---|---|
$PREFIX/sendFaceExpression |
nicomsg/s |
Sets facial expression to one of the presets.
|
$PREFIX/send_morphable_expression |
nicomsg/s |
Sets facial expression to one of the polynomial based presets.
|
$PREFIX/morph_face_expression |
msg/s |
Morphs current facial expression into the given presets. The current face has to be polynomial or wavelet based.
|
$PREFIX/send_polynomial_mouth |
msg/polynomial_mouth |
Sends parameters to create the mouth from up two n-degree polynomials.
|
$PREFIX/send_polynomial_eyebrow |
msg/polynomial_eyebrow |
Sends parameters to create the mouth from an n-degree polynomial.
|
$PREFIX/send_polynomial_face |
msg/polynomial_face |
Sends combined message to create a full polynomial based face.
|
$PREFIX/morph_polynomial_face |
msg/polynomial_face |
Morph current face into a target polynomial based face.
|
$PREFIX/send_trained_expression |
msg/s |
Sets facial expression to one of the wavelet based presets trained by a network.
|
$PREFIX/sendMouth |
nicomsg/affffa |
Sends up to two wavelets to create the mouth.
|
$PREFIX/sendEyebrow |
nicomsg/sffff |
Sends a wavelet to create one of the eybrows.
|
$PREFIX/send_wavelet_face |
msg/wavelet_face |
Sends combined message to create a full wavelet based face.
|
$PREFIX/morph_wavelet_face |
msg/wavelet_face |
Morph current face into a target wavelet based face.
|
$PREFIX/send_bitmap |
msg/bitmap_face |
Sends bitmaps to directly set the face images.
|