Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add fading/ resetting leds services #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kochigami
Copy link
Contributor

@kochigami kochigami commented Feb 8, 2018

API ref: http://doc.aldebaran.com/2-5/naoqi/sensors/alleds-api.html#alleds-api
name list ref: "Groups, Short Names and Names" in
http://doc.aldebaran.com/2-5/naoqi/sensors/alleds.html#alleds

old pull-request: ros-naoqi/naoqi_bridge#84

I confirmed this with:

  • Pepper (NAOqi 2.5.5.5) + ROS indigo
  • Pepper (NAOqi 2.5.5.5) + ROS kinetic
  • NAO (NAOqi 2.1.4) + ROS indigo
  • NAO (NAOqi 2.1.4) + ROS kinetic

@kochigami
Copy link
Contributor Author

I confirmed these services worked with four conditions above:
example:

eye color of a robot changes to red:

rosservice call /naoqi_driver/fade_leds "fade_rgb:
  led_name: 'FaceLeds'
  color:
    r: 1.0
    g: 0.0
    b: 0.0
    a: 0.0
  fade_duration:
    secs: 1
    nsecs: 0" 

eye color of a robot changes to default color:

rosservice call /naoqi_driver/reset_leds "data: 'FaceLeds'" 
success: True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant