Skip to content
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

How should I solve this problem?:Controller failed, can't solve problem #125

Open
Wwwwjunjie opened this issue Jul 30, 2024 · 2 comments

Comments

@Wwwwjunjie
Copy link

Error (exception): inria_wbc:: Controller failed, can't solve problem. Status : 1 => Infeasible (t=0.205000) [/home/ros/tmp/inria_wbc/src/controllers/controller.cpp:312] ------ stack ------ 0# inria_wbc::Exception::Exception<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libinria_wbc.so 1# 0x00007FC6D6724BDE in libinria_wbc.so 2# inria_wbc::controllers::HumanoidPosTracker::update(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Eigen::Matrix<double, -1, -1, 0, -1, -1> > > > const&) in libinria_wbc.so 3# inria_wbc::controllers::TalosPosTracker::update(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Eigen::Matrix<double, -1, -1, 0, -1, -1> > > > const&) in libinria_wbc.so 4# inria_wbc::behaviors::humanoid::Walk::update(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Eigen::Matrix<double, -1, -1, 0, -1, -1>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Eigen::Matrix<double, -1, -1, 0, -1, -1> > > > const&) in libinria_wbc.so 5# 0x0000558703E2CAB8 in ./aubo_graphics 6# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 7# 0x0000558703E3164E in ./aubo_graphics

@jbmouret
Copy link
Member

Either your robot starts from a position outside of the constraints (joint limit constraints typically), or you need a smaller time-step.

@Wwwwjunjie
Copy link
Author

thanks a lot!!The problem has been resolved, and the cause did indeed appear in the URDF file. It is not only necessary to limit the joint angle, torque, and speed, but also to pay attention to the direction of the rotation axis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants