Field-Robotics-Lab / dave

Project DAVE
Apache License 2.0
224 stars 72 forks source link

Get Source Codes | Project DAVE #257

Closed utterances-bot closed 10 months ago

utterances-bot commented 2 years ago

Get Source Codes | Project DAVE

Wiki/Tutorial Documents for Project DAVE

https://field-robotics-lab.github.io/dave.doc/contents/installation/Clone-Dave-Repositories/

Rwik2000 commented 2 years ago

I am not able to vcs import. It keeps on printing :

=== ./dave (git) ===
Skipped existing repository with different URL
=== ./dockwater (git) ===
Skipped existing directory
=== ./ds_msgs (git) ===
Skipped existing directory
=== ./ds_sim (git) ===
Skipped existing directory
=== ./eca_a9 (git) ===
Skipped existing directory
=== ./rexrov2 (git) ===
Skipped existing directory
=== ./uuv_manipulators (git) ===
Skipped existing directory
=== ./uuv_simulator (git) ===
Skipped existing directory

Can someone please help?

woensug-choi commented 2 years ago

It's basically saying that the repository is already cloned. Try removing all the repositories (dave, dockwater, ds_msgs, and etc.) in the directory and run vcs import again.

Rwik2000 commented 2 years ago

Can you change gist@github.com: to https://github.com/ in the dave_sim.repos and multibeam_sem.repos. It worked for me, I was able to clone using vsc after changing the files

snowman-maker commented 1 year ago

When I try to install Multibeam Sonar Module, I encountered a issue as following:

Errors     << nps_uw_multibeam_sonar:make /home/casia/uuv_ws/logs/nps_uw_multibeam_sonar/build.make.000.log                                                              
In file included from /home/casia/uuv_ws/src/nps_uw_multibeam_sonar/src/gazebo_multibeam_sonar_ray_based.cpp:27:
/opt/ros/noetic/include/pcl_ros/point_cloud.h: In static member function ‘static void ros::serialization::Serializer<pcl::PointCloud<PointT> >::read(Stream&, pcl::PointCloud<PointT>&)’:
/opt/ros/noetic/include/pcl_ros/point_cloud.h:231:29: error: expected primary-expression before ‘const’
  231 |               BOOST_FOREACH(const pcl::detail::FieldMapping& fm, mapping) {
      |                             ^~~~~
/opt/ros/noetic/include/pcl_ros/point_cloud.h:231:15: error: there are no arguments to ‘BOOST_FOREACH’ that depend on a template parameter, so a declaration of ‘BOOST_FOREACH’ must be available [-fpermissive]
  231 |               BOOST_FOREACH(const pcl::detail::FieldMapping& fm, mapping) {
      |               ^~~~~~~~~~~~~
/opt/ros/noetic/include/pcl_ros/point_cloud.h:231:15: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/opt/ros/noetic/include/pcl_ros/point_cloud.h:231:74: error: expected ‘;’ before ‘{’ token
  231 |               BOOST_FOREACH(const pcl::detail::FieldMapping& fm, mapping) {
      |                                                                          ^~
      |                                                                          ;
make[2]: *** [CMakeFiles/nps_multibeam_sonar_ray_ros_plugin.dir/build.make:63:CMakeFiles/nps_multibeam_sonar_ray_ros_plugin.dir/src/gazebo_multibeam_sonar_ray_based.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:707:CMakeFiles/nps_multibeam_sonar_ray_ros_plugin.dir/all] 错误 2
make: *** [Makefile:141:all] 错误 2
cd /home/casia/uuv_ws/build/nps_uw_multibeam_sonar; catkin build --get-env nps_uw_multibeam_sonar | catkin env -si  /usr/bin/make --jobserver-auth=3,4; cd -

Can someone please help?

FredrikFS-AAU commented 1 year ago

I get an error when calling the vsc import command:

Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
EEEEEEE
=== ./dave (git) ===
Path already exists and contains a different repository
=== ./dockwater (git) ===
Could not determine ref type of version: Warning: Permanently added 'github.com,140.82.121.3' (ECDSA) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
=== ./ds_msgs (git) ===
Could not determine ref type of version: git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
=== ./ds_sim (git) ===
Could not determine ref type of version: git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
=== ./eca_a9 (git) ===
Could not determine ref type of version: git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
=== ./rexrov2 (git) ===
Could not determine ref type of version: git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
=== ./uuv_manipulators (git) ===
Could not determine ref type of version: git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
=== ./uuv_simulator (git) ===
Could not determine ref type of version: git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

And when trying to build the workspace I get following error:

CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "uuv_sensor_ros_plugins" with any of the following names:

    uuv_sensor_ros_pluginsConfig.cmake
    uuv_sensor_ros_plugins-config.cmake

  Add the installation prefix of "uuv_sensor_ros_plugins" to
  CMAKE_PREFIX_PATH or set "uuv_sensor_ros_plugins_DIR" to a directory
  containing one of the above files.  If "uuv_sensor_ros_plugins" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:11 (find_package)

Can someone please help?

quarkytale commented 1 year ago

Looks like you need to setup an SSH key associated with your Github account, more details here. Since the uuv repositories weren't in the workspace, the build is giving that error. For a fresh workspace, use vcs import <path to repos file>. For an existing workspace, I usually just do vcs pull in the src folder to get the latest changes in.

Pranav-Malpure commented 1 year ago

It's basically saying that the repository is already cloned. Try removing all the repositories (dave, dockwater, ds_msgs, and etc.) in the directory and run vcs import again.

@woensug-choi Even I was getting the same error(only for the first repository - dave), when i deleted the repository(~/uuv_ws/src/dave) and ran the comand again, it said this. Can you help me with this? Or if anyone else can figure it out, feel free to reply

Screenshot 2022-12-20 at 11 29 25 AM
woensug-choi commented 1 year ago

It's basically saying that the repository is already cloned. Try removing all the repositories (dave, dockwater, ds_msgs, and etc.) in the directory and run vcs import again.

@woensug-choi Even I was getting the same error(only for the first repository - dave), when i deleted the repository(~/uuv_ws/src/dave) and ran the comand again, it said this. Can you help me with this? Or if anyone else can figure it out, feel free to reply

Screenshot 2022-12-20 at 11 29 25 AM

As the error msg says, the file does not exist. remove dave repo and re-clone. It seems the clone process waa interupted

Pranav-Malpure commented 1 year ago

Thank you for replying. I re-cloned it, but it again takes me back to the first point.

Screenshot 2022-12-20 at 11 39 06 AM
woensug-choi commented 1 year ago

Thank you for replying.

I re-cloned it, but it again takes me back to the first point.

Screenshot 2022-12-20 at 11 39 06 AM

?!. It looks like the problem is solved.

Pranav-Malpure commented 1 year ago

Oh, but it still says that "Skipped existing repository with different URL" Is that ok? I hope this doesn't give rise to problems while doing catkin_make

VitoInf commented 1 year ago

hi guys how can i resolve the problem: skipped exixsting repository with different URL?

MinBad-x commented 1 year ago

there are some problems when i do catkin_make the package. and i dont kown what should i do can solve the problem.

CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "ds_core_msgs" with any of the following names:

ds_core_msgsConfig.cmake
ds_core_msgs-config.cmake

Add the installation prefix of "ds_core_msgs" to CMAKE_PREFIX_PATH or set "ds_core_msgs_DIR" to a directory containing one of the above files. If "ds_core_msgs" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): ds-sim/CMakeLists.txt:8 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/minbad/uuv_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/minbad/uuv_ws/build/CMakeFiles/CMakeError.log".

mabelzhang commented 1 year ago

there are some problems when i do catkin_make the package. and i dont kown what should i do can solve the problem.

CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "ds_core_msgs" with any of the following names:

ds_core_msgsConfig.cmake
ds_core_msgs-config.cmake

Add the installation prefix of "ds_core_msgs" to CMAKE_PREFIX_PATH or set "ds_core_msgs_DIR" to a directory containing one of the above files. If "ds_core_msgs" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): ds-sim/CMakeLists.txt:8 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/minbad/uuv_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/minbad/uuv_ws/build/CMakeFiles/CMakeError.log".

ds_core_msgs lives here https://github.com/Field-Robotics-Lab/ds_msgs/tree/nps_dev/ds_core_msgs It should have been cloned from here when you run the vcs import command: https://github.com/Field-Robotics-Lab/dave/blob/9387f8155affbb0e79fc4901278b2959438f9e85/extras/repos/dave_sim.repos#L12 Do you have that repository cloned?

mabelzhang commented 1 year ago

hi guys how can i resolve the problem: skipped exixsting repository with different URL?

What does it print if you run git remote -v in the repository it is complaining about?

woensug-choi commented 10 months ago

Closing this as the conversation is not continuing. This issue will be back when someone leaves a comment on the dave doc 'Get Source Codes' page.