-
Notifications
You must be signed in to change notification settings - Fork 409
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
E_NOT_UP_TO_DATE error when using ChainIdSolver_RNE::CartToJnt for a real-time controller #407
Comments
Please make an example as simple as possible, which reproduces the issue. Then after each line we can print |
Apologies for the late reply. IMHO due to its dependence on things such as the JointStateController, the simplest/most practical example to attach is this version of the package, which works in a clean ROS Noetic catkin workspace (with the settings mentioned in my previous message) - in case you're interested in testing it out on your machine (with the real-time configuration, etc. that you see fit). The previously-mentioned |
Hi @smits @MatthijsBurgh
I have been trying to run the model-based real-time controller from https:/ufrgs-ece/ufrgs_wam on ROS Noetic. I am using Ubuntu 20.04.3 LTS on a Lenovo Yoga C930, and am using the 5.15.0-43-generic kernel (as opposed to the PREEMPT_RT-patched one), as the CPU load is not too high. I have configured my user limits as follows:
As far as I can see, I have not encountered any issues with setting the scheduler to
SCHED_FIFO
, or memory locking when I launch the computed torque controller withroslaunch wam_controllers computed_torque.launch
. However, when I press the play button in Gazebo, I run into the saidE_NOT_UP_TO_DATE
error.I have tried to build this version of orocos_kdl in my catkin workspace (as described in #266), but got a controller spawning error, similar to this. Thus, I have been using the kdl package installed via
apt-get liborocos-kdl-dev
.The following modifications were made to computed_torque_controller.cpp for debugging purposes:
Similar to what was done in #266, I made
nj
andns
public in/usr/include/kdl/chainidsolver_recursive_newton_euler.hpp
and modified the following lines in theupdate()
function:and got the following results :
nj = 0, ns = 3279928368
. I also checked the values ofchain.getNrOfJoints()
andchain.getNrOfSegments()
after the creation of thechain
object in theinit()
function, and gotchain.getNrOfJoints() = 7
andchain.getNrOfSegments() = 9
, as expected.The text was updated successfully, but these errors were encountered: