Ask Your Question
0

Reading information from yaml document

asked 2014-10-11 06:30:03 -0500

Hemu gravatar image

I want to access the map information from map.yaml . Can I use the basic C++ file handling to read all the fields from the file? I tried using yaml-cpp but its instructions were clumsy and even if there were no compiler errors, I could not get rid of dereferencing errors during run time. Is there a tutorial on ROS to demonstrate how to read map data from yaml file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-13 02:03:50 -0500

Andromeda gravatar image

Maybe this topic can help you to solve your problem. But if I were you I would be more specific. I have many programs with reading yaml files, but from your question I don't understand very well yur problem.

edit flag offensive delete link more

Comments

My code is working now. And the dereferencing error was because I was passing a wrong argument as file name.

Hemu gravatar image Hemu  ( 2014-10-13 03:54:04 -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

Stats

Asked: 2014-10-11 06:30:03 -0500

Seen: 419 times

Last updated: Oct 13 '14