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

Reading information from yaml document

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

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 -0600

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 653 times

Last updated: Oct 13 '14