Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit c616ef9

Browse files
authored
Fix empty sequence in moveit_setup_assistant (moveit#2406)
1 parent 09afa50 commit c616ef9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

moveit_setup_assistant/src/tools/moveit_config_data.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,10 @@ bool MoveItConfigData::outputFakeControllersYAML(const std::string& file_path)
572572
emitter << YAML::Newline;
573573
emitter << YAML::Comment(" - group: " + default_group_name) << YAML::Newline;
574574
emitter << YAML::Comment(" pose: home") << YAML::Newline;
575+
576+
// Add empty list for valid yaml
577+
emitter << YAML::BeginSeq;
578+
emitter << YAML::EndSeq;
575579
}
576580

577581
emitter << YAML::EndMap;

0 commit comments

Comments
 (0)