Ask Your Question

Multiple kinect static transform

asked 2012-04-23 20:55:44 -0500

Amin gravatar image

updated 2014-01-28 17:12:04 -0500

ngrennan gravatar image


I'm trying to use RGBDSlam and Octomap on multiple Kinects. But not simultaneously. I would run one kinect each time. The loop is to slam an area, send the model to octomap server then launch a second camera (and shutting down the first one). The 2nd camera would also do the same thing but I won't restart octomap_server. So it would build up two octomaps after two slams in the server.

I should use a static transform on one kinect. I tried to have two different kinect_frames.launch files feeding to openni_node.launch files, But due to the fact that the cameras are NOT running at the same time, I'm not sure that having one single tf would be the answer for me.

Cameras are mounted back to back. Any advice would be appreciated.

edit retag flag offensive close merge delete


Can you please share the launch files if you have solved this problem? I am working on similar stuff but could not figure out how to configure the tf frames.

DonaldV gravatar image DonaldV  ( 2013-08-14 06:51:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-04-26 01:28:58 -0500

AHornung gravatar image

updated 2012-04-26 01:53:44 -0500

You would need two different tf frames map->kinect1 and map->kinect2, which you can publish statically. The static transform publishers can run all the time. Then, configure two launch files for the kinect cameras. One should publish in the kinect1 frame, the other in the kinect2 frame. If they both output to the same topic but with different tf's, octomap_server will lookup the correct tf to the global /map frame.

You can also publish kinect1 directly in the map frame, and publish a static transform map->kinect2 (= kinect1->kinect2). But you definitely need the two kinect frames (whether static or moving while in RGBDSLAM) registered in the global map frame.

edit flag offensive delete link more


thanks for the info!

can I use 2 or more Kinects to build and update one map (by any method) using octomap? this is to put 3 kinects to cover one big area to continuously monitor moving objects and identify them as dynamic obstacles.

VEGETA gravatar image VEGETA  ( 2016-07-27 16:00:52 -0500 )edit

Hello! I'm tring the same thing,use mutli-kinects to build and update one map with rgbdslam or rtabslam if someone have good idea about this.

Engle Hsu gravatar image Engle Hsu  ( 2016-12-04 15:55:48 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-04-23 20:55:44 -0500

Seen: 704 times

Last updated: Apr 26 '12