pirobot / skeleton_markers

Track and display skeleton markers using ROS and OpenNI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on "git checkout hydro-devel" and Method 1

brotherxiang00 opened this issue · comments

Hi, thanks so much for providing this package. That is cool!

However I encounter some problems (ROS Hydro + Ubuntu 12.10).

  1. When I install it, on command git checkout hydro-devel, it says
    fatal: Not a git repository (or any parent up to mount point /home)
    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
    I do not know what does it mean. But I can catkin_make the package...
  2. After installation, I try to run it. however the first method does not work for me, while the second method works well. The log on terminal is listed below (a bit long, sorry for that).

Could you please help me solve the problems? Many thanks.

... logging to /home/rical/.ros/log/26c87f8e-b473-11e3-8635-58946b7e05e0/roslaunch-rical-CF-19RHRAX1M-29161.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.

started roslaunch server http://rical-CF-19RHRAX1M:51203/

SUMMARY

PARAMETERS

  • /kinect_frames_deprecated/from_pkg
  • /kinect_frames_deprecated/from_pkg_path
  • /kinect_frames_deprecated/name
  • /kinect_frames_deprecated/to_pkg
  • /kinect_frames_deprecated/to_pkg_path
  • /robot_state_publisher/publish_frequency
  • /rosdistro
  • /rosversion
  • /skeleton_markers/color/a
  • /skeleton_markers/color/b
  • /skeleton_markers/color/g
  • /skeleton_markers/color/r
  • /skeleton_markers/fixed_frame
  • /skeleton_markers/id
  • /skeleton_markers/lifetime
  • /skeleton_markers/ns
  • /skeleton_markers/rate
  • /skeleton_markers/scale
  • /skeleton_markers/skeleton_frames
  • /skeleton_markers/tf_prefix
  • /skeleton_tracker/fixed_frame
  • /skeleton_tracker/load_filepath
  • /use_sim_time

NODES
/
kinect_frames_deprecated (rgbd_launch/hydro-upgrade-notice)
robot_state_publisher (robot_state_publisher/state_publisher)
skeleton_markers (skeleton_markers/skeleton_markers.py)
skeleton_tracker (skeleton_markers/skeleton_tracker)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[robot_state_publisher-1]: started with pid [29179]
[ERROR] [1395792066.514962580]: Could not find parameter robot_description on parameter server
[ERROR] [1395792066.515134779]: Could not generate robot model
[ERROR] [1395792066.515215897]: Failed to extract kdl tree from xml robot description
process[kinect_frames_deprecated-2]: started with pid [29191]
[robot_state_publisher-1] process has died [pid 29179, exit code 255, cmd /opt/ros/hydro/lib/robot_state_publisher/state_publisher __name:=robot_state_publisher log:=/home/rical/.ros/log/26c87f8e-b473-11e3-8635-58946b7e05e0/robot_state_publisher-1.log].
log file: /home/rical/.ros/log/26c87f8e-b473-11e3-8635-58946b7e05e0/robot_state_publisher-1
.log
ERROR: cannot launch node of type [skeleton_markers/skeleton_tracker]: can't locate node [skeleton_tracker] in package [skeleton_markers]
process[skeleton_markers-4]: started with pid [29199]
[FATAL] [WallTime: 1395792067.036920] kinect_frames.launch has moved to rgbd_launch! Replace "$(find openni_launch)/launch/kinect_frames.launch" with "$(find rgbd_launch)/launch/kinect_frames.launch". This notice will be removed in ROS Indigo
================================================================================REQUIRED process [kinect_frames_deprecated-2] has died!
process has finished cleanly
log file: /home/rical/.ros/log/26c87f8e-b473-11e3-8635-58946b7e05e0/kinect_frames_deprecated-2
.log
Initiating shutdown!

[skeleton_markers-4] killing on exit
Traceback (most recent call last):
File "/home/rical/catkin_ws/src/skeleton_markers/nodes/skeleton_markers.py", line 22, in
import roslib; roslib.load_manifest('skeleton_markers')
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
sys.path = _generate_python_path(package_name, _rospack) + sys.path
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslib/launcher.py", line 98, in _generate_python_path
packages = get_depends(pkg, rospack)
File "/opt/ros/hydro/lib/python2.7/dist-packages/roslib/launcher.py", line 51, in get_depends
vals = rospack.get_depends(package, implicit=True)
File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 227, in get_depends
[kinect_frames_deprecated-2] killing on exit
s.update(self.get_depends(p, implicit))
File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 227, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 221, in get_depends
names = [p.name for p in self.get_manifest(name).depends]
File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 159, in get_manifest
return self._load_manifest(name)
File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 198, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
File "/usr/lib/pymodules/python2.7/rospkg/manifest.py", line 375, in parse_manifest_file
p = parse_package(package_filename)
File "/usr/lib/pymodules/python2.7/catkin_pkg/package.py", line 317, in parse_package
return parse_package_string(f.read(), filename)
File "/usr/lib/pymodules/python2.7/catkin_pkg/package.py", line 441, in parse_package_string
unknown_attrs = [str(attr) for attr in node.attributes.keys() if str(attr) not in known[node.tagName]]
KeyboardInterrupt
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks for the bug report. I was missing a step in the installation instructions: you have to first 'cd skeleton_markers' before doing 'git checkout hydro-devel'. Here are the corrected instructions and I have also updated the ROS Wiki page:

$ cd ~/catkin_ws/src (change to match your catkin workspace directory)
$ git clone https://github.com/pirobot/skeleton_markers.git
$ cd skeleton_markers
$ git checkout hydro-devel
$ cd ~/catkin_ws
$ catkin_make