ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Error while trying to save full map as .pcd or keyframes

asked 2013-04-11 12:15:27 -0500

Alex2309 gravatar image

updated 2013-04-12 09:46:55 -0500

Hi, I have a problem with ccny_rgbd: everything run smooth and in real time, but everytime I call the save_pcd_map service I get this error:

ERROR: service [/save_pcd_map] responded with an error: [pcl::PCDWriter::writeBinary] Error during open!

Instead with save_keyframes service I get the following error:

ERROR: service [/save_keyframes] responded with an error: boost::filesystem::create_directory: No such file or directory: "~/my_keyframe_sequence/0000"

I'm running it under ubuntu 12.10 and ros-groovy, any advice is welcome.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-05-25 06:03:54 -0500

Apologies for the late answer

This error occurs when the program cannot create the directory. I'm not sure whether the boost function I use plays nice with the "~" character. Try it will the full path.

The other problem could be that the directory exists already.

It's not very clean behavior - feel free to opn a ticket and I'll try to revise it.

edit flag offensive delete link more
0

answered 2014-02-27 09:36:20 -0500

erosen gravatar image

Had a look at the source code and it seems like you are using boost::filesystem::create_directory in RGBDFrame::save, while it should probably be boost::filesystem::create_directories (note the plural).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-11 12:15:27 -0500

Seen: 1,660 times

Last updated: Feb 27 '14