fzi-forschungszentrum-informatik / cartesian_controllers

A set of Cartesian controllers for the ROS1 and ROS2-control framework.
BSD 3-Clause "New" or "Revised" License
397 stars 119 forks source link

A setup problem with ROS1-Noetic #207

Closed clowz1 closed 1 month ago

clowz1 commented 3 months ago

When I run the rosdep command “rosdep install --from-paths ./ --ignore-src -y”, it shows the error that:

ERROR: the following packages/stacks could not have their rosdep keys resolvedto system dependences:XXXXXXX Cannot locate rosdep defintion for [ament_cmake]

I searched this error on the website, it means that I didn't install ament_cmake, but I can't install it with command, please tell me how to solve it, my ros version is noetic, thanks.

gavanderhoorn commented 3 months ago

ament_cmake is a package used in ROS 2.

Can you make sure you checked out the ros1 branch of this repository?

clowz1 commented 3 months ago

Yes,I am sure that I did the command from the ROS1 branch and run these two command “git clone @.***:fzi-forschungszentrum-informatik/cartesian_controllers.git rosdep install --from-paths ./ --ignore-src -y”

。。 @.***

 

------------------ 原始邮件 ------------------ 发件人: "fzi-forschungszentrum-informatik/cartesian_controllers" @.>; 发送时间: 2024年8月21日(星期三) 下午4:40 @.>; @.**@.>; 主题: Re: [fzi-forschungszentrum-informatik/cartesian_controllers] A setup problem with ROS1-Noetic (Issue #207)

ament_cmake is a package used in ROS 2.

Can you make sure you checked out the ros1 branch of this repository?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

gavanderhoorn commented 3 months ago

What's the output of git rev-parse HEAD? Run it in your clone of this repository.

clowz1 commented 3 months ago

dc803377752bcbc175004a54985ef011ec4a952

。。 @.***

 

------------------ 原始邮件 ------------------ 发件人: "fzi-forschungszentrum-informatik/cartesian_controllers" @.>; 发送时间: 2024年8月21日(星期三) 下午4:49 @.>; @.**@.>; 主题: Re: [fzi-forschungszentrum-informatik/cartesian_controllers] A setup problem with ROS1-Noetic (Issue #207)

What's the output of git rev-parse HEAD? Run it in your clone of this repository.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

gavanderhoorn commented 3 months ago

That's HEAD on the ros2 branch: https://github.com/fzi-forschungszentrum-informatik/cartesian_controllers/commit/dc803377752bcbc175004a549485ef011ec4a952.

You need to git checkout ros1. Then try again.

clowz1 commented 3 months ago

Thanks for the reply. I understand what this problem means.

 

------------------ 原始邮件 ------------------ 发件人: "fzi-forschungszentrum-informatik/cartesian_controllers" @.>; 发送时间: 2024年8月21日(星期三) 下午5:02 @.>; @.**@.>; 主题: Re: [fzi-forschungszentrum-informatik/cartesian_controllers] A setup problem with ROS1-Noetic (Issue #207)

That's HEAD on the ros2 branch: dc80337.

You need to git checkout ros1. Then try again.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

stefanscherzinger commented 1 month ago

Thanks @gavanderhoorn for taking care. @clowz1 Please re-open if still unclear.