Comments (6)
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.
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.
same error after updating ROS2 key:
curl http://repo.ros2.org/repos.key | sudo apt-key add -
from gazebo_ros2_control.
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.
Can you clarify your setup ?
- ROS 2 version
- packages inside the workspace
from gazebo_ros2_control.
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)
- Force Torque data stored in imu vector HOT 2
- Passive joints are broken HOT 4
- Unexpected behavior when using passive joints in closed-loop kinematic chains HOT 2
- FT sensors possible bug HOT 1
- Kinematic chains with passive joints don't work with position interface HOT 1
- Could use remote gazebo possible? HOT 2
- Humble 4.4 update broke joints HOT 9
- Add noise and latency to the joints feedback HOT 1
- ERROR: "struct hardware_interface::HardwareInfo’} has no member named ‘hardware_plugin_name" HOT 5
- Robot still saggs if interfaces are not claimed
- Issue running example script in Harmonic
- Loading controller failed,Exception thrown during init stage with message: expected [string] got [string_array] HOT 7
- Errors after launching demos: controller manager issue? HOT 7
- How can solve this problem? HOT 3
- How to set the Effort while using JointGroupVelocityController in Gazebo HOT 3
- No rule to make target needed by 'libgazebo_ros2_control.so' HOT 2
- How do I handle this issue? HOT 2
- Parser Error Couldn't parse parameter override rule - loading tricycle_controller from ros2_control HOT 20
- Do mimic joints on gazebo_ros2_control work for grippers with one part interacting with the rest? (1 to 5 Gripper)
- Error in destruction of rcl subscription handle: Failed to delete datareader HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gazebo_ros2_control.