Code Monkey home page Code Monkey logo

Comments (6)

carlosmccosta avatar carlosmccosta commented on June 28, 2024

Good night :)

You need to compile pcl from my fork.
Those missing files were developed by me and are not yet merged into the pcl official repository.

Please read the notes on the readme.md:
The kinetic-devel branch requires to compile PCL from source using branch master-all-pr from https://github.com/carlosmccosta/pcl (you can use this package.xml (https://gist.github.com/carlosmccosta/1ec3e3bdce419441b0b17bf9bb707552) to compile it within a catkin tools workspace).
To ensure that the same pcl libraries are used in drl and its dependencies, the following packages should also be compiled:
pcl_conversions
pcl_msgs
perception_pcl

Let me know if you need further help :)
Have a nice day :)

from dynamic_robot_localization.

cristian-frincu avatar cristian-frincu commented on June 28, 2024

Hello Carlos,
Thank you for the quick reply.
I have followed you instruction, and I have compiled pcl from your repo. The error went away.

I am now getting a different problem, when I am trying to run the localization launch file:
screen shot 2017-03-18 at 2 26 26 pm

I am running it by being navigating to ~/catkin_ws/src and running "roslaunch dynamic_robot_localization/launch/dynamic_robot_localization_system.launch"

(roscore is running in the background)

Here is a structure of my catkin_ws:
screen shot 2017-03-18 at 2 28 44 pm

Any suggestion what might be causing this error?

Thank you for your time :)

from dynamic_robot_localization.

carlosmccosta avatar carlosmccosta commented on June 28, 2024

Good night :)

This type of error happens when ros can't locate the packages in the launch file.
Check that you are sourcing the catkin_ws/devel/setup.bash
http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
If you are, then
run the command
rospack profile
And then check if you can find the main package
rospack find dynamic_robot_localization

Have a nice day :)

from dynamic_robot_localization.

cristian-frincu avatar cristian-frincu commented on June 28, 2024

Hello,
I have sourced the source.bash,
The rospack can find the package.
The errors are still there.
The only part where I deviated from the install, is that I used catkin_make_independent. This is because PCL was a plain make package.

Any suggestion?

Have a nice day :)

from dynamic_robot_localization.

carlosmccosta avatar carlosmccosta commented on June 28, 2024

Good night :)

The errors shown happen when a given binary can't be found inside a package.
Maybe the mix of catkin_make and catkin_make_isolated might be causing problems.
I am using the improved catkin build system named catkin-tools, which can compile cmake packages directly.

Try migrating your workspace from catkin to catkin-tools:
http://catkin-tools.readthedocs.io/en/latest/migration.html
http://catkin-tools.readthedocs.io/en/latest/quick_start.html

I also compiled pcl in a workspace and the remaining of the packages in another workspace (overlay) :
http://catkin-tools.readthedocs.io/en/latest/mechanics.html#workspace-chaining-extending
http://wiki.ros.org/catkin/Tutorials/workspace_overlaying

Have a nice day :)

from dynamic_robot_localization.

carlosmccosta avatar carlosmccosta commented on June 28, 2024

Good afternoon :)

For future reference, I updated the install scripts for compiling this package with either the older catkin_make_isolated or the newer catkin_tools.
Also, during the testing of the scripts I notice that when catkin_make_isolated is used, the setup.bash that needs to be sourced is different.
Namely, it is not devel/setup.bash but devel_isolated/setup.bash.
I never had this problem because I have been using catkin_tools (which supports the build of pure CMake packages).
As such, I never needed to use catkin_make_isolated to compile PCL.

I hope that the updated install scripts and readme will provide an easy way to install and use this package.

Have a nice day :)

from dynamic_robot_localization.

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.