-
Notifications
You must be signed in to change notification settings - Fork 282
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
Interfacing the MoveIt! config package to Gazebo and run my own IK code #21
Comments
I am wondering how I can make my own fk&ik code + moveit + gazebo work together? |
Hi @Shawnnn Here is the answer to your first question. If there is no plan available from home position, you may need the initial position. Or you can change the home position by re-running move it wizard.
Here is one of the tutorial to do it |
Hi @Shawnnn I think while sending trajectory to Gazebo, there may be collision occur in BW arm joints. If there is a collision, Gazebo controller will stop I think. In Fake execution, it will be ok. So in effect, the Arm in Gazebo will not reach the goal position. What you can do is, if the arm is not reaching the goal position within some time, pre-empt it and try the next goal point. Regards |
What do you mean by BW arm joints? In my case, arm in gazebo stop at first movement( the first movement is forward kinematics), it is corresponding to what you say, Gazebo controllers stop. But how to explain the unusual phenomenon in MoveIt? |
In the book, CH4, section Interfacing the MoveIt! config package to Gazebo, it creates the connection between moveit, ros_control, gazebo.
I can start motion planning in rviz like in demo mode. But the weird thing is that the start state of motion planning is always stuck in initial position, which means the arm always plans from the initial straight position, though I had update the new start state to the last goal state, in order to make motion planning consistent and gazebo update simultaneously.
What's more, I try to run my own forward + inverse kinematics code to complete the plan and execution job. But the arm just completes the first motion I code( forward kinematics) in riviz, and it crashes.
The text was updated successfully, but these errors were encountered: