-
Notifications
You must be signed in to change notification settings - Fork 164
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
Velocity control in the simulation #47
Comments
Hi @juntuck , The kortex_driver package won't work in simulation. You will have to use the kortex_gazebo package to simulate the Gen3 arm. I invite you to read the README file for the package, as it is still experimental. Currently (v2.0.0), we do not support the Kortex API services in Gazebo. The only simulation interface is via ROS Control position controllers for every actuator (JointPositionController's) or for the whole arm (JointTrajectoryController). For now, I think your best option will be to use KDL to calculate the inverse kinematics for the robot, and send increments of angular positions to every actuator via the ROS Control interface to achieve the Cartesian speeds you want. Best, |
Dear @alexvannobel , Thank you for your input on the matter. A short update: I made do by sending Twist msgs directly to the arm, without visualizing it in RVIZ.
Nevertheless, it became apparent to me that MoveIt has a feature for generating straight line Cartesian paths. The generated trajectory can be viewed with /move_group/display_planned_path topic in RVIZ, but somehow the Gen3 arm refuses to execute it. Any idea why? Best regards, |
Hi @juntuck , A couple points before addressing your MoveIt problem:
As for your MoveIt problem, can you post the console output of the kortex_driver when the error happens and also the output of your MoveIt client node? Maybe the arm rejects the trajectory because of an invalid speed, or acceleration, but we'll see it in the kortex_driver output. Best, |
Dear @alexvannobel , Thanks for the two suggestions! I took your advice and they work perfectly. :) For the MoveIt problem, I plan to tackle it again this week. I suspect it's because MoveIt does not generate enough points to satisfy the Kortex controller. Nevertheless, I will post my updates as soon as I get back into the thick of things. Best, |
Hi @juntuck , I'll close this issue for inactivity, but feel free to re-open it if it persists or to open a new issue. Best regards, |
Hello there! :)
I would like to control the Gazebo-simulated arm by sending Twist msgs to the '/my_gen3/base/send_twist_command'.
For the real robot, kortex_driver.launch starts this service. However, this launch file seems to always require a real robot running.
Is there a way to get kortex_driver working with the simulation? Or did I perhaps miss an equivalent service or topic in the simulation?
Best regards,
Jude
The text was updated successfully, but these errors were encountered: