softbankrobotics-research / qibullet

Bullet simulation for SoftBank Robotics robots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

joint_trajectory action for the ROS wrapper

AmelieLegeleux opened this issue · comments

Hi,
I'm trying to use the code I have written with real robot with QiBullet. With QiBullet, I cannot use /joint_trajectory action like I did with real robot (with the same ros package /naoqi_driver). I can move the robot with /joint_angles but not with /joint_trajectory. Why?
Thank you for your help!

Hi,
It's normal because it's not linked in the qibullet ros_wrapper. The ros_wrapper contained the basic topics linked as the /joint_angles topic (see _jointAnglesCallback in ros_wrapper.py). If you want, you can implement the function to link /joint_trajectory and request a PR.

Ok, thank you for you answer. I have used /joint_angles but now I prefer to use the action joint_trajectory to define the entire movement. When there are a lot of positions for a single movement, the movement is more smooth with an action (avoiding publishing multiple positions) espacially with real robot.