OpenPTrack / open_ptrack

Original open source people tracking library (now deprecated with the release of OPT v2 "Gnocchi").
http://openptrack.org/
BSD 3-Clause "New" or "Revised" License
319 stars 109 forks source link

Install error - Step 2 (and general help) #168

Open Nimvardi opened 6 years ago

Nimvardi commented 6 years ago

Hello I was advised to look at OpenPTrack for a research I am doing - Need to track the movements of 10 people in a 90sqm space for a 4 weeks duration.

I am having issues already at the 2nd step (Install ROS) - *cd open_ptrack/scripts chmod +x .sh ./ros_install.sh**

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: ros-indigo-desktop-full : Depends: ros-indigo-desktop but it is not going to be installed Depends: ros-indigo-perception but it is not going to be installed Depends: ros-indigo-simulators but it is not going to be installed **

and so on (more of the above last "Depends" lines.

Just to warn - I am very new to Ubuntu (linux in general) and Kinect.

Any assistance would be greatly appreciated.

Thanks

bajo commented 6 years ago

Seems that the script is unable to install ROS itself. Is there any output from the script or just what you posted? You can of course use the standard method for installing ROS as described here Note however that ROS Indigo is quite old by now (4 years) and you should really look for a recent version of Ubuntu and ROS.

Nimvardi commented 6 years ago

Thank you for your help. As on the Wiki - the OpenPTrack works only with the Ubuntu - is that not the case? can I use newer versions? and which ROS should I use? I tried to follow all instructions as on Wiki but hard to keep track.

Thanks

SimeonOA commented 6 years ago

Hi Nimvardi,

Glad to see you are checking out OpenPTrack. Yes OpenPTrack currently only works with Ubuntu.

OpenPTrack Version 1 uses ROS Indigo and Ubuntu 14.04 while Version 2 (Gnocchi) uses ROS Kinectic and Ubuntu 16.04.

Could you send the complete output you get when you run the script?

Also, what version of Kinect are you using and how many of them do you plan to have?

If you are using Kinect V2 and your machine has a i7 Intel processor and a NVIDIA GPU of at least 870 (see here), it might be easier for your to use OpenPTrack Version 2 (Gnocchi)which currently has a Docker Installation Process specifically targeted towards beginners.

Please let us know if you have any more questions.

Simeon

Nimvardi commented 6 years ago

Hi Simeon Here is what I get:

deb http://packages.ros.org/ros/ubuntu trusty main --2018-07-30 10:46:45-- http://packages.ros.org/ros.key Resolving packages.ros.org (packages.ros.org)... 140.211.166.134, 64.50.236.52, 2600:3402:200:227::2, ... Connecting to packages.ros.org (packages.ros.org)|140.211.166.134|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1162 (1.1K) Saving to: 'STDOUT'

100%[======================================>] 1,162 --.-K/s in 0s

2018-07-30 10:46:46 (76.1 MB/s) - written to stdout [1162/1162]

OK Ign http://gb.archive.ubuntu.com trusty InRelease Hit http://gb.archive.ubuntu.com trusty Release.gpg
Ign http://extras.ubuntu.com trusty InRelease
Hit http://gb.archive.ubuntu.com trusty Release
Get:1 http://extras.ubuntu.com trusty Release.gpg [72 B]
Hit http://extras.ubuntu.com trusty Release
Hit http://gb.archive.ubuntu.com trusty/main Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://gb.archive.ubuntu.com trusty/restricted Sources
Hit http://gb.archive.ubuntu.com trusty/universe Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com trusty/main i386 Packages
Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages
Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com trusty/main Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB
Ign http://extras.ubuntu.com trusty/main Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/universe Translation-en
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://packages.ros.org trusty InRelease
Hit http://packages.ros.org trusty/main amd64 Packages
Hit http://packages.ros.org trusty/main i386 Packages Ign http://packages.ros.org trusty/main Translation-en Ign http://packages.ros.org trusty/main Translation-en_GB Fetched 72 B in 1s (36 B/s)
Reading package lists... Done Reading package lists... Done Building dependency tree
Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: ros-indigo-desktop-full : Depends: ros-indigo-desktop but it is not going to be installed Depends: ros-indigo-perception but it is not going to be installed Depends: ros-indigo-simulators but it is not going to be installed Depends: ros-indigo-urdf-tutorial but it is not going to be installed unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed Depends: libcheese7 (>= 3.0.1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. sudo: rosdep: command not found ./ros_install.sh: line 17: rosdep: command not found Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: python-rosinstall : Depends: python-rosdistro (>= 0.3.0) but it is not going to be installed ros-indigo-camera-info-manager-py : Depends: ros-indigo-rospy but it is not going to be installed Depends: ros-indigo-sensor-msgs but it is not going to be installed ros-indigo-freenect-stack : Depends: ros-indigo-freenect-camera but it is not going to be installed Depends: ros-indigo-freenect-launch but it is not going to be installed ros-indigo-openni-launch : Depends: ros-indigo-nodelet but it is not going to be installed Depends: ros-indigo-openni-camera but it is not going to be installed Depends: ros-indigo-rgbd-launch but it is not going to be installed ros-indigo-robot-state-publisher : Depends: ros-indigo-kdl-parser but it is not going to be installed Depends: ros-indigo-rosconsole but it is not going to be installed Depends: ros-indigo-roscpp but it is not going to be installed Depends: ros-indigo-rostime but it is not going to be installed Depends: ros-indigo-sensor-msgs but it is not going to be installed Depends: ros-indigo-tf but it is not going to be installed Depends: ros-indigo-tf-conversions but it is not going to be installed Depends: ros-indigo-tf2-kdl but it is not going to be installed Depends: ros-indigo-tf2-ros but it is not going to be installed unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed Depends: libcheese7 (>= 3.0.1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

In order to use V2, can I just upgrade the OS or needs a new install? same for the ROS.

Thanks

Nimrod

Nimvardi commented 6 years ago

Now tried installing Ubuntu 16.04 and after installing the Nvidia drivers im in a boot loop...

SimeonOA commented 6 years ago

Hi Nimvardi,

We will look at the output result above.

Provided you have a NVIDIA GPU of at least 870, you are only supposed to install Ubuntu 16.04. After that you are to follow the instructions of the Docker Installation Process. Installing the Nvidia Drivers is not advised. The Docker images provide include all required drivers and dependencies.

See if you can reinstall Ubuntu 16.04 and then follow the link instructions above.

Simeon

Nimvardi commented 6 years ago

Will do.Installed a new version and will follow the docker process. will keep you updated! Thanks for the support!

Nimvardi commented 6 years ago

After reinstalling and going through the Docker steps - On the last step - "Test nvidia-smi with the latest official CUDA image" I get this: docker: Error response from daemon: Unknown runtime specified nvidia. See 'docker run --help'

Thanks

SimeonOA commented 6 years ago

Hi Nimvardi,

Did you reboot your system before "Test nvidia-smi with the latest official CUDA image" as stated in the instructions?

Not rebooting can lead to the error above

Simeon

Nimvardi commented 6 years ago

Hi. The system got stuck so hard to power off and reboot myself - so maybe thats why? Shall I reinstall it all over again? If so, how can I deinstall?

Thanks for the help!

N

SimeonOA commented 6 years ago

Hi Nimvardi,

The rebooting is a required step of the process. Even if you reinstall, when you get to that step again, you would be required to reboot.

Is there any way you can find to reboot?

Simeon

Nimvardi commented 6 years ago

Hi Simeon

Yes I managed to reinstall the docker. I am at the "Open_ptrack-multi_camera_tracking" I want to stop it for now as im not sure whether this machine is a server or client. Also, when do I connect the Kinect ?

Thanks

Nimrod

SimeonOA commented 6 years ago

Hi Nimvardi,

Multi camera tracking is used when you have more than one imager (in this case Kinect) and are setting up a network.

If you are using just one camera, the image to use is the Open_ptrack-single_camera_tracking .

Connect the Kinect before running the Open_ptrack-single_camera_tracking image as you need to have the Kinect connected to receive any tracking.

Also note that if you plan to have more than one Kinect connected in a network, you need to use the Open_ptrack-multi_camera_tracking, and then proceed to the configuration section. You need to carry out configuration before you can begin multi-camera tracking.

Let me know if you have any more questions.

Simeon

Nimvardi commented 6 years ago

Thank you for all the help Simeon

I run the single camera and got this: "docker: Error response from daemon: Conflict. The container name "/opt-docker-singlecamera" is already in use by container "562f1684035165c64ea15a0a2a841d41947e8eef66a156c60023fd5f434e86be". You have to remove (or rename) that container to be able to reuse that name. See 'docker run --help'. " Sorry if thats a weird q's but where would I receive the tracking? ir would that open any software which will give me any visual output? I dont really know Ubuntu and not sure what to expect and if I do it correctly.

Thanks again

Nimrod

SimeonOA commented 6 years ago

Hi Nimvardi,

The above error means that the container is still running. Try clicking ctrl c in your terminal window to be sure that the process is closed. Another option is to close your terminal, open it again and then run the Open_ptrack-single_camera_tracking image again.

As regards the tracking, after running the Open_ptrack-single_camera_tracking image you need to proceed to the Person Tracking section. See these pages on Single Camera Tracking and Multi camera tracking.

Also check out this page for information on RVIZ and its use in visualizing OpenPTrack data

I hope that helps.

Simeon

Nimvardi commented 6 years ago

Thank you. Yes I got the software to run. It didnt recognise the Kinect at first but it did after a few attempts. Issues now are:

Any idea?

Thanks

N

Nimvardi commented 6 years ago

Ok. I think now im getting there. I set all of it up as on here. Done it until the Visualsing the World part, which I am not too sure what am I supposed to do there.

I have an image on the Kinect RBG01 panel (when I change the setting in 'Image Topic') but nothing un the Kinect 01 panel ( I managed to have something before, by changing 'Depth Map Topic', but I cannot do it now.)

Thanks

SimeonOA commented 6 years ago

Hi Nimvardi,

How is your use of OpenPTrack V2 going?

If you are still having the issue above or any other issue, we could have a video call on Thursday to discuss further and help you with this.

Please let me know

Simeon

Nimvardi commented 6 years ago

Hi Simeon

I had a bit of a breakthrough, but done something and the Ubuntu crashed and it didn't restart so I reinstall the system now. A call would be very helpful ,yes. Would Monday be okay?

Thanks for all the support!

Nimrod

Nimvardi commented 6 years ago

Hi Simeon I took me a few days to reinstall ubuntu...but its working now. The docker works okay, but I seem to go through the entire process now from the beginning each time.

But I want to install it on the machine and not the docker - should I follow these instructions?

A call would be very helpful as i still didnt manage to load the movement tracker properly.

Thanks

N

SimeonOA commented 6 years ago

Hi Nimvardi,

There is no need to follow those instructions.

The Docker installation has already done everything in those instructions for you. If you installed Docker, you already have everything installed.

Let's talk on Monday about whatever issues you may have.

Simeon


From: Nimvardi notifications@github.com Sent: Saturday, August 11, 2018 1:34:58 AM To: OpenPTrack/open_ptrack Cc: Simeon Adebola; Comment Subject: Re: [OpenPTrack/open_ptrack] Install error - Step 2 (and general help) (#168)

Hi Simeon I took me a few days to reinstall ubuntu...but its working now. The docker works okay, but I seem to go through the entire process now from the beginning each time.

But I want to install it on the machine and not the docker - should I follow these instructionshttps://docs.google.com/document/d/1iagy-zU1cbV92YQI6EJhieM5-09BGrVsVmmz0QjK0XA/edit?

A call would be very helpful as i still didnt manage to load the movement tracker properly.

Thanks

N

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/OpenPTrack/open_ptrack/issues/168#issuecomment-412260802, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlsqAUBDqln3vaNtE_lEeN0AX78esCXuks5uPpcygaJpZM4VlfBr.

Nimvardi commented 6 years ago

Ok. But when I saved some settings and restarted it they were lost. Anyways, let me know when and how on monday.

Thanks

N

SimeonOA commented 6 years ago

Hi there,

Simeon Adebola is inviting you to a scheduled Zoom meeting.

Topic: Meeting with Nimvardi Time: Aug 13, 2018 12:00 PM Pacific Time (US and Canada)

Join from PC, Mac, Linux, iOS or Android: https://zoom.us/j/9612793179

Or iPhone one-tap : US: +16465588665,,9612793179# or +14086380986,,9612793179# Or Telephone: Dial(for higher quality, dial a number based on your current location): US: +1 646 558 8665 or +1 408 638 0986 Meeting ID: 961 279 3179 International numbers available: https://zoom.us/u/dzPDpXXHJ