Open P1terQ opened 1 year ago
I am experiencing the same issue. Have you resolved it?
I also get another error which may have caused this.
The error: terminate called after throwing an instance of 'std::invalid_argument' what(): The index of the parent joint is not valid.
My guess is the invalid parent joint causes the other 6 joints to not be called downstream?
Do let me know if you all have other insights!
Ok i solved the issue, the issue is that the Pinocchio library uses the versions 3.0.0 or 3.1.0. This update causes a lot of issues in the links especially the urdf. The solution is to downgrade and install the Pinocchio 2.6.19 version (since the z1_controller folder was last updated in 1 August 2023 and Pinocchio 2.6.19 came out in 19 June 2023 while Pinocchio 2.6.20 came out in 9 August 2023) from the Pinocchio official github and the MoveIt in simulation and onboard real Z1 robot should work well.
Hope this helps anyone who faces the same issue! :)
I highly suggest that the owner of the repo update the README file to indicate the Pinocchio library versions required so that people do not waste time being stuck on this issue.
I am experiencing the same issue. Have you resolved it?
Have you tried downloading the correct Pinocchio library version as mentioned above?
yes, i tried it twice,but it can not work.
Ok i solved the issue by your method!!! Using the pinocchio 2.6.19, i can set a goal in rviz and click the button Plan & Execute. The motion planning visualization in rviz moved, and at the sametime the model in gazebo moved. thanks a lot!thank you Hotsburp!!!!
No problem, glad it worked!
I want to control z1 in gazebo. The problem is: After running
roslaunch z1_bringup sim_arm.launch UnitreeGripperYN:=true rviz:=true
, i set a goal in rviz and click the buttonPlan & Execute
. The motion planning visualization in rviz moved, but neither the model in rviz and in gazebo moved. And 3 errors pop up in the terminal:It seems that no controller was loaded.
I follow the instruction in setup.md and everything works fine.