Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add baking pipeline, add baked office assets #58

Closed
wants to merge 16 commits into from
Closed

Conversation

ddengster
Copy link
Contributor

@ddengster ddengster commented Jun 24, 2021

New feature implementation

Implemented feature

Baking pipeline: A process that sets up

  1. World files for export to dae, which the user then imports into a DCC tool like blender and bakes lightmaps/cubemaps/etc
  2. World files that use baked models in the rmf_demo_assets/model_baked folder in conjunction with non baked assets

Implementation description

  • Incorporate new capabilities in rmf_building_map_tools utilities into cmake build process. See upstream PR. ign_generate_dae dumps files into install/rmf_demos_maps/share/rmf_demos_maps/maps_dae_export and ign_baked_assets install/rmf_demos_maps/share/rmf_demos_maps/maps_baked

  • Updated simulation.launch.xml to make use of baked assets

  • Add utility to launch ignition on the world files generated by ign_generate_dae. The exported .dae files will be found in the generated sim_world folder. You need this Ignition PR and this to run it, or at least ignition version 5+
    Usage: ros2 launch rmf_demos ign_generate_dae.launch.xml map_name:=office/clinic/airport/etc/...

Also I've added in the baked office model, totalling 43mb to rmf_demo_assets. Should we place these baked assets somewhere else? @luca-della-vedova

Waiting for upstream PR

Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
ddengster and others added 8 commits June 25, 2021 12:16
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Conflicts:
	rmf_demos/launch/simulation.launch.xml
	rmf_demos_gazebo/launch/simulation.launch.xml
move ign_generate_dae to ignition location

Signed-off-by: ddengster <ed.fan@osrfoundation.org>
update cmake output world pathing

Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Signed-off-by: ddengster <ed.fan@osrfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants