tu-darmstadt-ros-pkg / hector_quadrotor

hector_quadrotor contains packages related to modeling, control and simulation of quadrotor UAV systems.
Other
378 stars 277 forks source link

issue in installing Hector_quadrotor on kinetic #90

Open caesar84 opened 6 years ago

caesar84 commented 6 years ago

i have installed Hector_quadrotor on kinetic couple of times and it went through but i had to uninstall Ubuntu and ROS recently . now i cant install Hector_quadrotor anymore even though i use freshly installed Ubuntu 16.04 and ROS Kinetic ( same as when it was working fine). The link i followed for installing Hector_quadrotor is from here link https://answers.ros.org/question/244776/is-it-possible-to-run-the-hector_quadrotor-demos-in-kinetic/ and now i face an error message when doing the last catkin_make from the link above. the error message is: CMake Error: Could not open file for write in copy operation /home/mastlab/catkin_ws/src/hector_quadrotor/hector_quadrotor_gazebo/urdf/quadrotor_plugins.gazebo.xacro.tmp CMake Error: : System Error: Permission denied CMake Error at hector_quadrotor/hector_quadrotor_gazebo/urdf/CMakeLists.txt:48 (configure_file): configure_file Problem configuring file -- Configuring incomplete, errors occurred! See also "/home/mastlab/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/mastlab/catkin_ws/build/CMakeFiles/CMakeError.log". Makefile:318: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed mastlab@mastlab-VirtualBox:~/catkin_ws$

re installed Ubuntu 16:04 and ROS kinetic , i encountered different problem:

mstlab@mstlab-VirtualBox:~$ cd catkin_ws/ mstlab@mstlab-VirtualBox:~/catkin_ws$ source devel/setup.sh mstlab@mstlab-VirtualBox:~/catkin_ws$ cd src mstlab@mstlab-VirtualBox:~/catkin_ws/src$ sudo ./new.sh [sudo] password for mstlab: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ros-kinetic-combined-robot-hw ros-kinetic-combined-robot-hw-tests ros-kinetic-controller-interface ros-kinetic-controller-manager ros-kinetic-controller-manager-msgs ros-kinetic-controller-manager-tests ros-kinetic-hardware-interface ros-kinetic-joint-limits-interface ros-kinetic-realtime-tools ros-kinetic-transmission-interface The following NEW packages will be installed ros-kinetic-combined-robot-hw ros-kinetic-combined-robot-hw-tests ros-kinetic-controller-interface ros-kinetic-controller-manager ros-kinetic-controller-manager-msgs ros-kinetic-controller-manager-tests ros-kinetic-hardware-interface ros-kinetic-joint-limits-interface ros-kinetic-realtime-tools ros-kinetic-ros-control ros-kinetic-transmission-interface 0 to upgrade, 11 to newly install, 0 to remove and 4 not to upgrade. Need to get 669 kB of archives. After this operation, 3,654 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-hardware-interface amd64 0.13.1-0xenial-20180326-072819-0800 [19.2 kB] Get:2 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-combined-robot-hw amd64 0.13.1-0xenial-20180326-073217-0800 [69.7 kB] Get:3 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-controller-interface amd64 0.13.1-0xenial-20180326-073231-0800 [12.3 kB] Get:4 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-controller-manager-msgs amd64 0.13.1-0xenial-20180326-074515-0800 [52.4 kB] Get:5 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-realtime-tools amd64 1.11.0-0xenial-20180222-221550-0800 [31.5 kB] Get:6 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-controller-manager amd64 0.13.1-0xenial-20180326-074950-0800 [117 kB] Get:7 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-controller-manager-tests amd64 0.13.1-0xenial-20180326-075751-0800 [89.2 kB] Get:8 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-combined-robot-hw-tests amd64 0.13.1-0xenial-20180326-080219-0800 [59.7 kB] Get:9 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-joint-limits-interface amd64 0.13.1-0xenial-20180326-073252-0800 [12.9 kB] Get:10 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-transmission-interface amd64 0.13.1-0xenial-20180326-074054-0800 [202 kB] Get:11 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-ros-control amd64 0.13.1-0xenial-20180326-080704-0800 [2,596 B] Fetched 669 kB in 1s (664 kB/s) Selecting previously unselected package ros-kinetic-hardware-interface. (Reading database ... 287097 files and directories currently installed.) Preparing to unpack .../ros-kinetic-hardware-interface_0.13.1-0xenial-20180326-072819-0800_amd64.deb ... Unpacking ros-kinetic-hardware-interface (0.13.1-0xenial-20180326-072819-0800) ... Selecting previously unselected package ros-kinetic-combined-robot-hw. Preparing to unpack .../ros-kinetic-combined-robot-hw_0.13.1-0xenial-20180326-073217-0800_amd64.deb ... Unpacking ros-kinetic-combined-robot-hw (0.13.1-0xenial-20180326-073217-0800) ... Selecting previously unselected package ros-kinetic-controller-interface. Preparing to unpack .../ros-kinetic-controller-interface_0.13.1-0xenial-20180326-073231-0800_amd64.deb ... Unpacking ros-kinetic-controller-interface (0.13.1-0xenial-20180326-073231-0800) ... Selecting previously unselected package ros-kinetic-controller-manager-msgs. Preparing to unpack .../ros-kinetic-controller-manager-msgs_0.13.1-0xenial-20180326-074515-0800_amd64.deb ... Unpacking ros-kinetic-controller-manager-msgs (0.13.1-0xenial-20180326-074515-0800) ... Selecting previously unselected package ros-kinetic-realtime-tools. Preparing to unpack .../ros-kinetic-realtime-tools_1.11.0-0xenial-20180222-221550-0800_amd64.deb ... Unpacking ros-kinetic-realtime-tools (1.11.0-0xenial-20180222-221550-0800) ... Selecting previously unselected package ros-kinetic-controller-manager. Preparing to unpack .../ros-kinetic-controller-manager_0.13.1-0xenial-20180326-074950-0800_amd64.deb ... Unpacking ros-kinetic-controller-manager (0.13.1-0xenial-20180326-074950-0800) ... Selecting previously unselected package ros-kinetic-controller-manager-tests. Preparing to unpack .../ros-kinetic-controller-manager-tests_0.13.1-0xenial-20180326-075751-0800_amd64.deb ... Unpacking ros-kinetic-controller-manager-tests (0.13.1-0xenial-20180326-075751-0800) ... Selecting previously unselected package ros-kinetic-combined-robot-hw-tests. Preparing to unpack .../ros-kinetic-combined-robot-hw-tests_0.13.1-0xenial-20180326-080219-0800_amd64.deb ... Unpacking ros-kinetic-combined-robot-hw-tests (0.13.1-0xenial-20180326-080219-0800) ... Selecting previously unselected package ros-kinetic-joint-limits-interface. Preparing to unpack .../ros-kinetic-joint-limits-interface_0.13.1-0xenial-20180326-073252-0800_amd64.deb ... Unpacking ros-kinetic-joint-limits-interface (0.13.1-0xenial-20180326-073252-0800) ... Selecting previously unselected package ros-kinetic-transmission-interface. Preparing to unpack .../ros-kinetic-transmission-interface_0.13.1-0xenial-20180326-074054-0800_amd64.deb ... Unpacking ros-kinetic-transmission-interface (0.13.1-0xenial-20180326-074054-0800) ... Selecting previously unselected package ros-kinetic-ros-control. Preparing to unpack .../ros-kinetic-ros-control_0.13.1-0xenial-20180326-080704-0800_amd64.deb ... Unpacking ros-kinetic-ros-control (0.13.1-0xenial-20180326-080704-0800) ... Setting up ros-kinetic-hardware-interface (0.13.1-0xenial-20180326-072819-0800) ... Setting up ros-kinetic-combined-robot-hw (0.13.1-0xenial-20180326-073217-0800) ... Setting up ros-kinetic-controller-interface (0.13.1-0xenial-20180326-073231-0800) ... Setting up ros-kinetic-controller-manager-msgs (0.13.1-0xenial-20180326-074515-0800) ... Setting up ros-kinetic-realtime-tools (1.11.0-0xenial-20180222-221550-0800) ... Setting up ros-kinetic-controller-manager (0.13.1-0xenial-20180326-074950-0800) ... Setting up ros-kinetic-controller-manager-tests (0.13.1-0xenial-20180326-075751-0800) ... Setting up ros-kinetic-combined-robot-hw-tests (0.13.1-0xenial-20180326-080219-0800) ... Setting up ros-kinetic-joint-limits-interface (0.13.1-0xenial-20180326-073252-0800) ... Setting up ros-kinetic-transmission-interface (0.13.1-0xenial-20180326-074054-0800) ... Setting up ros-kinetic-ros-control (0.13.1-0xenial-20180326-080704-0800) ... Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ros-kinetic-control-toolbox The following NEW packages will be installed ros-kinetic-control-toolbox ros-kinetic-gazebo-ros-control 0 to upgrade, 2 to newly install, 0 to remove and 4 not to upgrade. Need to get 237 kB of archives. After this operation, 1,070 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-control-toolbox amd64 1.16.0-0xenial-20180316-114917-0800 [100 kB] Get:2 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-gazebo-ros-control amd64 2.5.14-1xenial-20180326-075811-0800 [137 kB] Fetched 237 kB in 0s (293 kB/s) Selecting previously unselected package ros-kinetic-control-toolbox. (Reading database ... 287413 files and directories currently installed.) Preparing to unpack .../ros-kinetic-control-toolbox_1.16.0-0xenial-20180316-114917-0800_amd64.deb ... Unpacking ros-kinetic-control-toolbox (1.16.0-0xenial-20180316-114917-0800) ... Selecting previously unselected package ros-kinetic-gazebo-ros-control. Preparing to unpack .../ros-kinetic-gazebo-ros-control_2.5.14-1xenial-20180326-075811-0800_amd64.deb ... Unpacking ros-kinetic-gazebo-ros-control (2.5.14-1xenial-20180326-075811-0800) ... Setting up ros-kinetic-control-toolbox (1.16.0-0xenial-20180316-114917-0800) ... Setting up ros-kinetic-gazebo-ros-control (2.5.14-1xenial-20180326-075811-0800) ... Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ros-kinetic-unique-id ros-kinetic-uuid-msgs The following NEW packages will be installed ros-kinetic-unique-id ros-kinetic-unique-identifier ros-kinetic-uuid-msgs 0 to upgrade, 3 to newly install, 0 to remove and 4 not to upgrade. Need to get 21.9 kB of archives. After this operation, 151 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-uuid-msgs amd64 1.0.5-0xenial-20180222-205350-0800 [11.6 kB] Get:2 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-unique-id amd64 1.0.5-0xenial-20180222-222000-0800 [8,542 B] Get:3 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-unique-identifier amd64 1.0.5-0xenial-20180222-222817-0800 [1,830 B] Fetched 21.9 kB in 0s (47.4 kB/s) Selecting previously unselected package ros-kinetic-uuid-msgs. (Reading database ... 287483 files and directories currently installed.) Preparing to unpack .../ros-kinetic-uuid-msgs_1.0.5-0xenial-20180222-205350-0800_amd64.deb ... Unpacking ros-kinetic-uuid-msgs (1.0.5-0xenial-20180222-205350-0800) ... Selecting previously unselected package ros-kinetic-unique-id. Preparing to unpack .../ros-kinetic-unique-id_1.0.5-0xenial-20180222-222000-0800_amd64.deb ... Unpacking ros-kinetic-unique-id (1.0.5-0xenial-20180222-222000-0800) ... Selecting previously unselected package ros-kinetic-unique-identifier. Preparing to unpack .../ros-kinetic-unique-identifier_1.0.5-0xenial-20180222-222817-0800_amd64.deb ... Unpacking ros-kinetic-unique-identifier (1.0.5-0xenial-20180222-222817-0800) ... Setting up ros-kinetic-uuid-msgs (1.0.5-0xenial-20180222-205350-0800) ... Setting up ros-kinetic-unique-id (1.0.5-0xenial-20180222-222000-0800) ... Setting up ros-kinetic-unique-identifier (1.0.5-0xenial-20180222-222817-0800) ... Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python-pyproj ros-kinetic-geodesy ros-kinetic-geographic-msgs The following NEW packages will be installed python-pyproj ros-kinetic-geodesy ros-kinetic-geographic-info ros-kinetic-geographic-msgs 0 to upgrade, 4 to newly install, 0 to remove and 4 not to upgrade. Need to get 135 kB of archives. After this operation, 1,624 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 python-pyproj amd64 1.9.5.1-1build1 [41.0 kB] Get:2 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-geographic-msgs amd64 0.5.2-0xenial-20180222-205825-0800 [70.1 kB] Get:3 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-geodesy amd64 0.5.2-0xenial-20180316-153948-0800 [22.2 kB] Get:4 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-geographic-info amd64 0.5.2-0xenial-20180316-182347-0800 [1,784 B] Fetched 135 kB in 0s (316 kB/s) Selecting previously unselected package python-pyproj. (Reading database ... 287540 files and directories currently installed.) Preparing to unpack .../python-pyproj_1.9.5.1-1build1_amd64.deb ... Unpacking python-pyproj (1.9.5.1-1build1) ... Selecting previously unselected package ros-kinetic-geographic-msgs. Preparing to unpack .../ros-kinetic-geographic-msgs_0.5.2-0xenial-20180222-205825-0800_amd64.deb ... Unpacking ros-kinetic-geographic-msgs (0.5.2-0xenial-20180222-205825-0800) ... Selecting previously unselected package ros-kinetic-geodesy. Preparing to unpack .../ros-kinetic-geodesy_0.5.2-0xenial-20180316-153948-0800_amd64.deb ... Unpacking ros-kinetic-geodesy (0.5.2-0xenial-20180316-153948-0800) ... Selecting previously unselected package ros-kinetic-geographic-info. Preparing to unpack .../ros-kinetic-geographic-info_0.5.2-0xenial-20180316-182347-0800_amd64.deb ... Unpacking ros-kinetic-geographic-info (0.5.2-0xenial-20180316-182347-0800) ... Setting up python-pyproj (1.9.5.1-1build1) ... Setting up ros-kinetic-geographic-msgs (0.5.2-0xenial-20180222-205825-0800) ... Setting up ros-kinetic-geodesy (0.5.2-0xenial-20180316-153948-0800) ... Setting up ros-kinetic-geographic-info (0.5.2-0xenial-20180316-182347-0800) ... Reading package lists... Done Building dependency tree Reading state information... Done ros-kinetic-laser-geometry is already the newest version (1.6.4-0xenial-20180316-154822-0800). ros-kinetic-laser-geometry set to manually installed. 0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade. Reading package lists... Done Building dependency tree Reading state information... Done ros-kinetic-tf-conversions is already the newest version (1.11.9-0xenial-20180316-155440-0800). ros-kinetic-tf-conversions set to manually installed. 0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade. Reading package lists... Done Building dependency tree Reading state information... Done ros-kinetic-tf2-geometry-msgs is already the newest version (0.5.17-0xenial-20180316-130113-0800). ros-kinetic-tf2-geometry-msgs set to manually installed. 0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade. Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: evemu-tools evtest joystick libevemu3 libsdl1.2debian The following NEW packages will be installed evemu-tools evtest joystick libevemu3 libsdl1.2debian ros-kinetic-joy 0 to upgrade, 6 to newly install, 0 to remove and 4 not to upgrade. Need to get 289 kB of archives. After this operation, 1,033 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 libevemu3 amd64 2.1.0-1build1 [11.3 kB] Get:2 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 evemu-tools amd64 2.1.0-1build1 [11.2 kB] Get:3 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 libsdl1.2debian amd64 1.2.15+dfsg1-3 [168 kB] Get:4 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 evtest amd64 1:1.33-1 [13.8 kB] Get:5 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 joystick amd64 1:1.4.9-1 [39.5 kB] Get:6 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-joy amd64 1.11.0-0xenial-20180222-231938-0800 [45.2 kB] Fetched 289 kB in 0s (691 kB/s) Selecting previously unselected package libevemu3:amd64. (Reading database ... 287771 files and directories currently installed.) Preparing to unpack .../libevemu3_2.1.0-1build1_amd64.deb ... Unpacking libevemu3:amd64 (2.1.0-1build1) ... Selecting previously unselected package evemu-tools. Preparing to unpack .../evemu-tools_2.1.0-1build1_amd64.deb ... Unpacking evemu-tools (2.1.0-1build1) ... Selecting previously unselected package libsdl1.2debian:amd64. Preparing to unpack .../libsdl1.2debian_1.2.15+dfsg1-3_amd64.deb ... Unpacking libsdl1.2debian:amd64 (1.2.15+dfsg1-3) ... Selecting previously unselected package evtest. Preparing to unpack .../evtest_1%3a1.33-1_amd64.deb ... Unpacking evtest (1:1.33-1) ... Selecting previously unselected package joystick. Preparing to unpack .../joystick_1%3a1.4.9-1_amd64.deb ... Unpacking joystick (1:1.4.9-1) ... Selecting previously unselected package ros-kinetic-joy. Preparing to unpack .../ros-kinetic-joy_1.11.0-0xenial-20180222-231938-0800_amd64.deb ... Unpacking ros-kinetic-joy (1.11.0-0xenial-20180222-231938-0800) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for libc-bin (2.23-0ubuntu10) ... Setting up libevemu3:amd64 (2.1.0-1build1) ... Setting up evemu-tools (2.1.0-1build1) ... Setting up libsdl1.2debian:amd64 (1.2.15+dfsg1-3) ... Setting up evtest (1:1.33-1) ... Setting up joystick (1:1.4.9-1) ... Setting up ros-kinetic-joy (1.11.0-0xenial-20180222-231938-0800) ... Processing triggers for libc-bin (2.23-0ubuntu10) ... Cloning into 'hector_quadrotor'... remote: Counting objects: 3355, done. remote: Total 3355 (delta 0), reused 0 (delta 0), pack-reused 3355 Receiving objects: 100% (3355/3355), 832.53 KiB | 863.00 KiB/s, done. Resolving deltas: 100% (2114/2114), done. Checking connectivity... done. Cloning into 'hector_localization'... remote: Counting objects: 2773, done. remote: Total 2773 (delta 0), reused 0 (delta 0), pack-reused 2773 Receiving objects: 100% (2773/2773), 3.73 MiB | 2.43 MiB/s, done. Resolving deltas: 100% (2039/2039), done. Checking connectivity... done. Cloning into 'hector_gazebo'... remote: Counting objects: 1928, done. remote: Compressing objects: 100% (9/9), done. remote: Total 1928 (delta 6), reused 12 (delta 5), pack-reused 1912 Receiving objects: 100% (1928/1928), 2.18 MiB | 810.00 KiB/s, done. Resolving deltas: 100% (1245/1245), done. Checking connectivity... done. Cloning into 'hector_models'... remote: Counting objects: 1310, done. remote: Compressing objects: 100% (45/45), done. remote: Total 1310 (delta 43), reused 43 (delta 26), pack-reused 1239 Receiving objects: 100% (1310/1310), 888.58 KiB | 0 bytes/s, done. Resolving deltas: 100% (917/917), done. Checking connectivity... done. Cloning into 'hector_slam'... remote: Counting objects: 2147, done. remote: Total 2147 (delta 0), reused 1 (delta 0), pack-reused 2146 Receiving objects: 100% (2147/2147), 364.45 KiB | 0 bytes/s, done. Resolving deltas: 100% (1371/1371), done. Checking connectivity... done. sed: can't read hector_quadrotor/hector_quadrotor/hector_quadrotor_gazebo/urdf/CMakeLists.txt: No such file or directory sed: can't read hector_quadrotor/hector_quadrotor/hector_quadrotor_gazebo/urdf/CMakeLists.txt: No such file or directory sed: can't read hector_quadrotor/hector_quadrotor/hector_quadrotor_actions/CMakeLists.txt: No such file or directory sed: can't read hector_quadrotor/hector_quadrotor/hector_quadrotor_actions/CMakeLists.txt: No such file or directory sed: can't read hector_quadrotor/hector_quadrotor/hector_quadrotor_actions/CMakeLists.txt: No such file or directory sed: can't read hector_quadrotor/hector_quadrotor/hector_quadrotor_controllers/CMakeLists.txt: No such file or directory

I am quiet sure i am doing something wrong and will be so grateful if anyone can help