Giter Site home page Giter Site logo

Comments (6)

ahcorde avatar ahcorde commented on May 27, 2024 3

You should install ros2_control, you have two options:

  • Install sources from this repository or
  • sudo apt-get install ros-foxy-ros2-control

ros2_control is not released yet in Galatic, if you are using this version you must install ros2_control from sources.

Please ask this kind of question here: https://answers.gazebosim.org/questions/

from gazebo_ros2_control.

newcanopies avatar newcanopies commented on May 27, 2024

Thank you @ahcorde

Not sure if this a local or global issue, but for Foxy, I had to directly git clone https://github.com/ros-controls/ros2_control.git

because my apt-get is fully updated after successfully installing moveit2
but sudo apt-get install ros-foxy-ros2-control gave this error:

[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python3-xkit ubuntu-drivers-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  ros-foxy-controller-interface ros-foxy-controller-manager ros-foxy-controller-manager-msgs ros-foxy-hardware-interface
  ros-foxy-ros2-control-test-assets ros-foxy-ros2controlcli
The following NEW packages will be installed:
  ros-foxy-controller-interface ros-foxy-controller-manager ros-foxy-controller-manager-msgs ros-foxy-hardware-interface
  ros-foxy-ros2-control ros-foxy-ros2-control-test-assets ros-foxy-ros2controlcli
0 upgraded, 7 newly installed, 0 to remove and 10 not upgraded.
Need to get 1,264 kB of archives.
After this operation, 12.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y

I

Err:1 http://packages.ros.org/ros2/ubuntu focal/main amd64 ros-foxy-hardware-interface amd64 0.4.0-1focal.20210415.032844
  404  Not Found [IP: 64.50.233.100 80]
Err:2 http://packages.ros.org/ros2/ubuntu focal/main amd64 ros-foxy-controller-interface amd64 0.4.0-1focal.20210415.045005
  404  Not Found [IP: 64.50.233.100 80]
Err:3 http://packages.ros.org/ros2/ubuntu focal/main amd64 ros-foxy-controller-manager-msgs amd64 0.4.0-1focal.20210415.023245
  404  Not Found [IP: 64.50.233.100 80]
Err:4 http://packages.ros.org/ros2/ubuntu focal/main amd64 ros-foxy-controller-manager amd64 0.4.0-1focal.20210415.045203
  404  Not Found [IP: 64.50.233.100 80]
Err:5 http://packages.ros.org/ros2/ubuntu focal/main amd64 ros-foxy-ros2-control-test-assets amd64 0.4.0-1focal.20210408.165615
  404  Not Found [IP: 64.50.233.100 80]
Err:6 http://packages.ros.org/ros2/ubuntu focal/main amd64 ros-foxy-ros2controlcli amd64 0.4.0-1focal.20210415.050212
  404  Not Found [IP: 64.50.233.100 80]
Err:7 http://packages.ros.org/ros2/ubuntu focal/main amd64 ros-foxy-ros2-control amd64 0.4.0-1focal.20210415.050937
  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-foxy-hardware-interface/ros-foxy-hardware-interface_0.4.0-1focal.20210415.032844_amd64.deb  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-foxy-controller-interface/ros-foxy-controller-interface_0.4.0-1focal.20210415.045005_amd64.deb  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-foxy-controller-manager-msgs/ros-foxy-controller-manager-msgs_0.4.0-1focal.20210415.023245_amd64.deb  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-foxy-controller-manager/ros-foxy-controller-manager_0.4.0-1focal.20210415.045203_amd64.deb  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-foxy-ros2-control-test-assets/ros-foxy-ros2-control-test-assets_0.4.0-1focal.20210408.165615_amd64.deb  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-foxy-ros2controlcli/ros-foxy-ros2controlcli_0.4.0-1focal.20210415.050212_amd64.deb  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-foxy-ros2-control/ros-foxy-ros2-control_0.4.0-1focal.20210415.050937_amd64.deb  404  Not Found [IP: 64.50.233.100 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

not sure if relevant but, I am not using amd64 seen above

processor : x86_64

RMW MIDDLEWARE
middleware name : rmw_fastrtps_cpp

ROS 2 INFORMATION
distribution name : foxy
distribution type : ros2
distribution status : active
release platforms : {'ubuntu': ['focal']}

Would be great to understand why the elegant "debian" install via sudo apt-get install ros-foxy-ros2-control failed.

from gazebo_ros2_control.

newcanopies avatar newcanopies commented on May 27, 2024

same error after updating ROS2 key:
curl http://repo.ros2.org/repos.key | sudo apt-key add -

from gazebo_ros2_control.

newcanopies avatar newcanopies commented on May 27, 2024

hi @ahcorde
ros2_control is built and sourced,
but gazebo_ros2_control fails to build with same error:

CMake Error at CMakeLists.txt:6 (find_package):
  By not providing "Findcontroller_manager.cmake"

How to solve?
Thank you for your help

from gazebo_ros2_control.

ahcorde avatar ahcorde commented on May 27, 2024

Can you clarify your setup ?

  • ROS 2 version
  • packages inside the workspace

from gazebo_ros2_control.

newcanopies avatar newcanopies commented on May 27, 2024

finally solved -- with a master COLCON workspace for all ROS2 packages:
(this prompted my other Issue question)

export COLCON_WS=~/ws_ROS2
mkdir -p $COLCON_WS/src
cd $COLCON_WS/src
git clone some-ros-pkg-repo
cd $COLCON_WS/
colcon build --symlink-install --packages-select

the below original workspace tree was failing to build inside gazebo-ros2-control/:

~/ws_ROS2/
|__gazebo_ros2_control/src
|__gazebo_ros_pkgs/src
|__ros2_control/src
|__etc/src

Thanks very much again!

from gazebo_ros2_control.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.