Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurice Fallon committed Aug 22, 2015
1 parent 92a3562 commit 5585686
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 12 deletions.
33 changes: 26 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,43 @@
# ICPCUDA-pod
ICPCUDA-pod

Might need to addjust
Uses ICPCUDA to estimate motion (and velocity)

Depends on bot_core types, kinect types and Consise args

Compile as follows:

:

cd ICPCUDA-pod
git submodule update --init --recursive
make

You might need to adjust you detected cuda architecture:

:

cd pod-build
ccmake .

Then set CUDA_ARCH_BIN to 30

Then make with one core:
Then set CUDA_ARCH_BIN to 30. Then continue to make with one core :

:
cd ..
cd ICPCUDA-pod
make -j 1


Test program:

ICP ~/logs/kinect/rgbd_dataset_freiburg1_desk/ -v
:
ICP ~/logs/kinect/rgbd_dataset_freiburg1_desk/ -v

LCM applications:

:
se-icpcuda


You might need to run with sudo permisions on first run


Mihgt need to run with sudo permisions on first run
10 changes: 5 additions & 5 deletions src/icpcuda-app/icpcuda-app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class App{
private:
const CommandLineConfig cl_cfg_;
boost::shared_ptr<lcm::LCM> lcm_;
void imagesHandler(const lcm::ReceiveBuffer* rbuf, const std::string& channel, const bot_core::images_t* msg);
//void imagesHandler(const lcm::ReceiveBuffer* rbuf, const std::string& channel, const bot_core::images_t* msg);
void kinectHandler(const lcm::ReceiveBuffer* rbuf, const std::string& channel, const kinect::frame_msg_t* msg);

uint64_t loadDepth(cv::Mat1w & depth);
Expand Down Expand Up @@ -66,7 +66,7 @@ class App{

App::App(boost::shared_ptr<lcm::LCM> &lcm_, const CommandLineConfig& cl_cfg_) :
lcm_(lcm_), cl_cfg_(cl_cfg_){
lcm_->subscribe("CAMERA",&App::imagesHandler,this);
//lcm_->subscribe("CAMERA",&App::imagesHandler,this);
lcm_->subscribe("KINECT_FRAME",&App::kinectHandler,this);

cudaDeviceProp prop;
Expand Down Expand Up @@ -279,9 +279,9 @@ void App::writeRawFile(cv::Mat1w & depth){
else cout << "Unable to open file";
}

void App::imagesHandler(const lcm::ReceiveBuffer* rbuf,
const std::string& channel, const bot_core::images_t* msg){
}
//void App::imagesHandler(const lcm::ReceiveBuffer* rbuf,
// const std::string& channel, const bot_core::images_t* msg){
//}


void App::kinectHandler(const lcm::ReceiveBuffer* rbuf,
Expand Down

0 comments on commit 5585686

Please sign in to comment.