ethz-asl / ethzasl_ptam

Modified version of Parallel Tracking and Mapping (PTAM)
http://wiki.ros.org/ethzasl_ptam
235 stars 184 forks source link

Catkinize packages.. #34

Closed costashatz closed 10 years ago

costashatz commented 10 years ago

Following the discussion on #33, I am opening a new PR in a different branch..

simonlynen commented 10 years ago

@costashatz Thank you

costashatz commented 10 years ago

@simonlynen No problem.. :)

arpit15 commented 10 years ago

i am getting the following error when i use catkin_make in catkin_ws

CMakeFiles/ptam.dir/src/Tracker.cc.o: In function Tracker::TrackMap()': Tracker.cc:(.text+0x3d1c): undefined reference toKeyFrame::iBestPointsCount' collect2: ld returned 1 exit status make[2]: * [/home/arpit/catkin_ws/devel/lib/ptam/ptam] Error 1 make[1]: * [ethzasl_ptam/ptam/CMakeFiles/ptam.dir/all] Error 2 make: *\ [all] Error 2 Invoking "make" failed

simonlynen commented 10 years ago

Did you pull the latest changes from master. This should be resolved.

arpit15 commented 10 years ago

1)i downloaded zip from this page https://github.com/ethz-asl/ethzasl_ptam. 2)then i went into catkin_ws/src/ethzas_ptam/ptam/thirdparty and typed make 3) then i simply typed catkin_make in my catkin workspace I don't able to make please help

simonlynen commented 10 years ago

@arpit15 Please just do the normal workflow:

From within catkin_workspace/src

git clone git@github.com:ethz-asl/ethzasl_ptam.git
cd ../ && catkin_make
arpit15 commented 10 years ago

thank u it worked.

arpit15 commented 10 years ago

It would be of great help if somebody could provide with steps or a tutorial so that i can run ptam gui. I was able to run the ptam node however was unable to see anything.

markusachtelik commented 10 years ago

Did you have a look at the tutorials here? http://wiki.ros.org/ethzasl_ptam/Tutorials

If everything compiled, just run rqt, and add the rqt_ptam plugin to the view.

Von: arpit15 notifications@github.com<mailto:notifications@github.com> Antworten an: ethz-asl/ethzasl_ptam reply@reply.github.com<mailto:reply@reply.github.com> Datum: Sunday 25 May 2014 12:30 An: ethz-asl/ethzasl_ptam ethzasl_ptam@noreply.github.com<mailto:ethzasl_ptam@noreply.github.com> Betreff: Re: [ethzasl_ptam] Catkinize packages.. (#34)

It would be of great help if somebody could provide with steps or a tutorial so that i can run ptam gui. I was able to run the ptam node however was unable to see anything.

— Reply to this email directly or view it on GitHubhttps://github.com/ethz-asl/ethzasl_ptam/pull/34#issuecomment-44127832.

arpit15 commented 10 years ago

Yes, I had a looked at that tutorial. However ptam node doesn't run as a general node. I had to run by ./ptam . Secondly, the image shown at the initialization step is not correct. There is something wrong. I encountered this https://github.com/ethz-asl/ethzasl_ptam/issues/5. Will implement it tommorow.

fboris commented 10 years ago

This first issue should be the PATH setting issue. Do you set your PTAM path correctly? Second, you can try the unmerged pull request #17 that convert color image to greyscaleimage.

fboris commented 10 years ago

BTW, if you use catkinized PTAM. The step mentioned by @simonlynen might need to change a little bit.

In catkin_workspace/src

git clone git@github.com:ethz-asl/ethzasl_ptam.git
cd ../
catkin_make
source ./devel/setup.sh

The last step should set your everything about path correctly.

arpit15 commented 10 years ago

thanks it worked. I was having problem in converting the sensor_msgs to opencv image. Now, its clear.