pyrobosim.utils.general.get_data_folder

pyrobosim.utils.general.get_data_folder()

Get a path to the folder containing data.

If running using ros2 run, this looks at the installed data in the pyrobosim colcon package’s share directory.

If running standalone, this looks at the data folder in the actual source.

Returns:

Path to data folder.

Return type:

str