MingshanHe / Compliant-Control-and-Application

Compliant Control: 1) admittance control algorithm 2) impedance control algorithm 3) hybrid force&position algorithm in robotic arm (Universal Robot).
https://mingshanhe.github.io/Compliant-Control-and-Application/
MIT License
301 stars 62 forks source link

在编译您的代码时中出现错误 #14

Open luding110 opened 1 year ago

luding110 commented 1 year ago

/home/lwd/ur5_ws/src/Compliant-Control-and-Application-noetic/control_algorithms/impedance/include/impedance/Impedance.h:27:10: fatal error: joint_state_msg/Jointstate.h: 没有那个文件或目录

include "joint_state_msg/Jointstate.h"

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

缺少Jointstate.h这个.h文件,我确认了一下,确实没有,请问如何解决呢

MingshanHe commented 1 year ago

Please check this link, and The workflow is also worked successfully, so I don't know why it occurs to you and not in auto compiling in the workflow.

mayeRobot commented 1 year ago

/home/lwd/ur5_ws/src/Compliant-Control-and-Application-noetic/control_algorithms/impedance/include/impedance/Impedance.h:27:10: fatal error: joint_state_msg/Jointstate.h: 没有那个文件或目录

include "joint_state_msg/Jointstate.h"

^~~~~~~~~~ 缺少Jointstate.h这个.h文件,我确认了一下,确实没有,请问如何解决呢

您好,我跟您遇到相同的问题,请问您后面是怎么解决的呢

xlzhu0317 commented 1 year ago

请问最后怎么解决的?

ZZWang21 commented 1 year ago

@xlzhu0317 @mayeRobot did you solve it? Thanks.

0nhc commented 6 months ago

This is because the there's no JointEffot.h generated when you compile for the first time. Just catkin_make again and this problem will be solved.