hdl_people_tracking icon indicating copy to clipboard operation
hdl_people_tracking copied to clipboard

Failed to find package hdl_localization

Open ikunjin opened this issue 5 years ago • 2 comments

Hi,@koide3,

When I run " roslaunch hdl_people_tracking hdl_people_tracking.launch ",the following error occurs.

... logging to /home/jintaiyu/.ros/log/9cdcaf3c-f88f-11e8-b306-000ec6a10ce2/roslaunch-jintaiyu-MIIX-510-12ISK-7362.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last): File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/init.py", line 307, in main p.start() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start self._start_infrastructure() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 217, in _start_infrastructure self._load_config() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 132, in _load_config roslaunch_strs=self.roslaunch_strs, verbose=self.verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default loader.load(f, config, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 746, in load self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 718, in _load_launch self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 682, in _recurse_load val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call return f(*args, **kwds) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 587, in _include_tag inc_filename = self.resolve_args(tag.attributes['file'].value, context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 316, in resolve_args resolved = _resolve_args(resolved, context, resolve_anon, commands) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 329, in _resolve_args resolved = commands[command](resolved, a, args, context) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 142, in _find source_path_to_packages=source_path_to_packages) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 188, in _find_executable full_path = _get_executable_path(rp.get_path(args[0]), path) File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 203, in get_path raise ResourceNotFound(name, ros_paths=self._ros_paths) ResourceNotFound: hdl_localization ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/jintaiyu/catkin_ws6/src ROS path [2]=/opt/ros/indigo/share ROS path [3]=/opt/ros/indigo/stacks

But I have added the package path of hdl_localization(/home/jintaiyu/catkin_ws5/src) to ROS_PACKAGE_PATH and also added hdl_localization_DIR to Cmakelists.txt,the error still exists. Can you give me some directions about this problem?

Sincerely ikunjin

ikunjin avatar Dec 05 '18 13:12 ikunjin

Hi @ikunjin , Does "source /your/catkin_ws/devel/setup.bash && roscd hdl_people_tracking" work?

koide3 avatar Dec 10 '18 09:12 koide3

I have the same problem - any help?

Baldins avatar May 06 '22 00:05 Baldins