tu-darmstadt-ros-pkg / hector_localization

The hector_localization stack is a collection of packages, that provide the full 6DOF pose of a robot or platform.
83 stars 61 forks source link

Could not build through instructions given, used an alternate command #20

Open vineet131 opened 3 years ago

vineet131 commented 3 years ago

I'm running ROS Noetic on Ubuntu 20.04, and I couldn't build with the commands in the README. Also, my source directory is catkin_ws/src, and also i couldn't clone through the command in the README (maybe since I hadn't logged in to git, but copy pasting the link to the repo instead of the link they put, is the simple fix). So to anyone reading this with a similar problem, just replace the --source flag with --only-pkg-with-deps, invoked from your catkin_ws folder is your workspace is structured like mine

adityatandon commented 2 years ago

Thanks for the posting this update here. I had a similar issue but the information you provided helped.

For everyone building their workspace with catkin tools (using catkin build), a direct catkin build hector_localization command works. This is because the catkin tools build system builds the specified package and its associated dependencies without an explicit flag.