[Pepper] Move base and control other joints at the same time

284 views
Skip to first unread message

Giovanni Claudio

unread,
Sep 12, 2016, 3:44:42 AM9/12/16
to ROS Sig Aldebaran
Hi!

I have noticed that if I send a velocity command to the base (Vx, Vy, Wz), the other joints are moving (for stability reasons?). 
I need to create a demo in which the camera is not moving with respect to the base frame while sending velocity.
So I want to block the joints to the zero position during the experiment. I tried to use the function setPosition of ALMotion 
but it has no effect. I have the same problem if I use ROS or not.

Any suggestions?

Thanks! 

Natalia Lyubova

unread,
Sep 12, 2016, 3:56:16 AM9/12/16
to ROS Sig Aldebaran
Hi Giovanni,

you can try to call  setWalkArmsEnabled through ssh on a robot:

qicli call ALMotion.setWalkArmsEnabled 0 0

Giovanni Claudio

unread,
Sep 12, 2016, 5:15:27 AM9/12/16
to ROS Sig Aldebaran
Hi Natalia,

Thank for your answer, I have already tried setWalkArmsEnabled (via proxy and using qicli). 

If I send via ROS a velocity command around Wz (topic: /cmd), Pepper moves all the other joints:





After some seconds Pepper moves also the arms:




How can I block the joints to a constant position?

Thanks for the help!

Giovanni

Sébastien Dalibard

unread,
Sep 12, 2016, 5:34:45 AM9/12/16
to ros-sig-...@googlegroups.com
Hi Giovanni,

During base moves, if not explicitely controlled, all the joints may be used to ensure stability.

You can either make the joints automatically go back to a neutral configuration with the API ALMotion.setIdlePostureEnabled() [1] or use any interpolation API [2] (setAngles, angleInterpolation, angleInterpolationBezier) to specify a given configuration.

setPosition is a cartesian control API, that is deactivated on Pepper.

Hope it helps,

Sébastien

[1] http://doc.aldebaran.com/2-4/naoqi/motion/idle-api.html#ALMotionProxy::setIdlePostureEnabled__ssCR.bCR

[2] http://doc.aldebaran.com/2-4/naoqi/motion/control-joint-api.html#control-joint-api



--
You received this message because you are subscribed to the Google Groups "ROS Sig Aldebaran" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-aldebaran+unsubscribe@googlegroups.com.
To post to this group, send email to ros-sig-aldebaran@googlegroups.com.
Visit this group at https://groups.google.com/group/ros-sig-aldebaran.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-aldebaran/099c3be5-47b3-448a-a982-359ae5ebbd6e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


This email and any attachment thereto are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient, please be advised that disclosing, copying, distributing or taking any action in reliance on the contents of this email is strictly prohibited. In such case, please immediately advise the sender, and delete all copies and attachment from your system.
This email shall not be construed and is not tantamount to an offer, an acceptance of offer, or an agreement by SoftBank Robotics Europe on any discussion or contractual document whatsoever. No employee or agent is authorized to represent or bind SoftBank Robotics Europe to third parties by email, or act on behalf of SoftBank Robotics Europe by email, without express written confirmation by SoftBank Robotics Europe’ duly authorized representatives.


Ce message électronique et éventuelles pièces jointes sont confidentiels, et exclusivement destinés à la personne ou l'entité à qui ils sont adressés.
Si vous n'êtes pas le destinataire visé, vous êtes prié de ne pas divulguer, copier, distribuer ou prendre toute décision sur la foi de ce message électronique. Merci d'en aviser immédiatement l'expéditeur et de supprimer toutes les copies et éventuelles pièces jointes de votre système.
Ce message électronique n'équivaut pas à une offre, à une acceptation d’offre, ou à un accord de SoftBank Robotics Europe sur toute discussion ou document contractuel quel qu’il soit, et ne peut être interprété comme tel. Aucun employé ou agent de SoftBank Robotics Europe n'est autorisé à représenter ou à engager la société par email, ou à agir au nom et pour le compte de la société par email, sans qu’une confirmation écrite soit donnée par le représentant légal de SoftBank Robotics Europe ou par toute autre personne ayant reçu délégation de pouvoir appropriée.

Message has been deleted

Giovanni Claudio

unread,
Sep 19, 2016, 3:51:02 AM9/19/16
to ROS Sig Aldebaran
Hi Sébastien,

Thanks for your answer. 

Sorry,  I wrote setPosition but I meant setAngles. Before, I was just sending a command to the leg joints, but it was not enough.
After I tried to send a command to all the joints, and now it is better. 

Thanks for the help!

Giovanni
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-aldeba...@googlegroups.com.
To post to this group, send email to ros-sig-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages