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

The problem in the cartesian_inverse_dynamics_controller.cpp #1

Open
TFLQW opened this issue Jan 4, 2020 · 1 comment
Open

The problem in the cartesian_inverse_dynamics_controller.cpp #1

TFLQW opened this issue Jan 4, 2020 · 1 comment

Comments

@TFLQW
Copy link

TFLQW commented Jan 4, 2020

when I catkin_make the package after I have download the external packages (by the way the package (gravity-compensation, qb-interface-node) were not found).
It pull out this problem :
/home/tiboy/catkin_ws3/src/lwr_force_position_controllers/src/cartesian_inverse_dynamics_controller.cpp: In member function ‘virtual bool lwr_controllers::CartesianInverseDynamicsController::init(hardware_interface::EffortJointInterface*, ros::NodeHandle&)’:
/home/tiboy/catkin_ws3/src/lwr_force_position_controllers/src/cartesian_inverse_dynamics_controller.cpp:49:5: error: ‘kdl_tree_’ was not declared in this scope
kdl_tree_.getChain(root_name, "lwr_4_link", im_link4_chain_);
^
/home/tiboy/catkin_ws3/src/lwr_force_position_controllers/src/cartesian_inverse_dynamics_controller.cpp: In member function ‘void lwr_controllers::CartesianInverseDynamicsController::update_fri_inertia_matrix(Eigen::MatrixXd&)’:
/home/tiboy/catkin_ws3/src/lwr_force_position_controllers/src/cartesian_inverse_dynamics_controller.cpp:124:15: error: ‘inertia_matrix_handles_’ was not declared in this scope
fri_B(i,j) = inertia_matrix_handles_[i * n_joints + j].getPosition();
^
/home/tiboy/catkin_ws3/src/lwr_force_position_controllers/src/cartesian_position_controller.cpp: In member function ‘void lwr_controllers::CartesianPositionController::update_fri_inertia_matrix(Eigen::MatrixXd&)’:
/home/tiboy/catkin_ws3/src/lwr_force_position_controllers/src/cartesian_position_controller.cpp:166:15: error: ‘inertia_matrix_handles_’ was not declared in this scope
fri_B(i,j) = inertia_matrix_handles_[i * n_joints + j].getPosition();

Can you help me to solve this?

@WELLBEINGLWB
Copy link

Hi, have you solved the problems?

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