ethz-asl / mav_trajectory_generation

Polynomial trajectory generation and optimization, especially for rotary-wing MAVs.
Apache License 2.0
549 stars 225 forks source link

wstool update fail #64

Closed jenamax closed 6 years ago

jenamax commented 6 years ago

Hello! I have a problem with installation of packages. I setup catkin workspace and followed by installation instruction. I executed following commands: cd src wstool init wstool set --git mav_trajectory_generation git@github.com:ethz-asl/mav_trajectory_generation.git -y When I go to the next step and execute wstool update I get following error:

Prepare updating git@github.com:ethz-asl/mav_trajectory_generation.git (version None) to /home/evgenii/catkin_ws/src/mav_trajectory_gene Failed to detect git presence at /home/evgenii/catkin_ws/src/mav_trajectory_generation. (d)elete and replace, (a)bort, (b)ackup and replace, (s)kip: b [mav_trajectory_generation] Fetching git@github.com:ethz-asl/mav_trajectory_generation.git (version None) to /home/evgenii/catkin_ws/src [mav_trajectory_generation] Backing up /home/evgenii/catkin_ws/src/mav_trajectory_generation to /home/evgenii/catkin_ws/src/mav_trajecto-16-27 Cloning into '/home/evgenii/catkin_ws/src/mav_trajectory_generation'... Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. Exception caught during install: Error processing 'mav_trajectory_generation' : [mav_trajectory_generation] Checkout of git@github.com:eration.git version None into /home/evgenii/catkin_ws/src/mav_trajectory_generation failed.

ERROR in config: Error processing 'mav_trajectory_generation' : [mav_trajectory_generation] Checkout of git@github.com:ethz-asl/mav_trajon None into /home/evgenii/catkin_ws/src/mav_trajectory_generation failed.

helenol commented 6 years ago

You should set up your github keys :) https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

Otherwise you can just manually check out the https versions of the repos:

cd ~/catkin_ws/src/
git clone https://github.com/ethz-asl/mav_trajectory_generation.git
git clone https://github.com/ethz-asl/nlopt.git
git clone https://github.com/ethz-asl/eigen_checks.git
git clone https://github.com/ethz-asl/eigen_catkin.git
git clone https://github.com/ethz-asl/glog_catkin.git

Hope that helps.

helenol commented 6 years ago

Fixed now with proper install instructions....