Giter Site home page Giter Site logo

Comments (5)

kuoshih avatar kuoshih commented on August 15, 2024 4

Hi @birchera ,

I adopt "catkin_make" instead of "catkin build."
Then, it works.
Thanks for your help!

from nbvplanner.

birchera avatar birchera commented on August 15, 2024

Hi @kuoshih, the file that should be included is this. It is used to generate the service call. Can you verify that it is there?

It is hard to tell why this would fail for you. Did you do any adaptations or is this a fresh clone?

from nbvplanner.

kuoshih avatar kuoshih commented on August 15, 2024

But, there is no header file in nbvp_srv.srv, right?

Well... my setup is as follows:

  1. mmdir catkin_ws2 and move to catkin_ws2\src
  2. git clone modules in catkin_ws2\src (https://github.com/birchera/nbvplanner )
  3. copy nbvplanner folder to catkin_ws2\src since there are folders (\include, \src, srv\ ) and files.
  4. catkin build in catkin_ws2 folder
  5. show the mentioned error messages

I also tried not to copy nbvplanner folder to catkin_ws2\src (just skip step3).
Then, the same error messages shown when building interface_nbvp_rotors.

Do you have any ideas? Thanks!

from nbvplanner.

birchera avatar birchera commented on August 15, 2024

If I understand correctly you don't need to do step 3. Packages can be located in arbitrary structures withing src folder. Not sure what happens if you copy things around. But this could well be the source of the failure.

from nbvplanner.

kuoshih avatar kuoshih commented on August 15, 2024

I followed your steps and got the same error message.
The steps are as follows:

$mkdir catkin_ws3
$cd catkin_ws3
~/catkin_ws3$ mkdir src
~/catkin_ws3$ cd src
~/catkin_ws3/src$ git clone https://github.com/ethz-asl/nbvplanner.git
~/catkin_ws3/src$ cd nbvplanner
~/catkin_ws3/src/nbvplanner$ git submodule init --
~/catkin_ws3/src/nbvplanner$ git submodule sync --recursive
~/catkin_ws3/src/nbvplanner$ git submodule update --recursive
~/catkin_ws3/src/nbvplanner$ cd ..
~/catkin_ws3/src$ apt-get install ros--octomap-*
~/catkin_ws3/src$ apt-get install python-catkin-tools
~/catkin_ws3/src$ catkin init
~/catkin_ws3/src$ catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
~/catkin_ws3/src$ catkin build
Then, I got the same error message.
Thanks!

from nbvplanner.

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.