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

New launch_core doesn't work with old robot.yaml #172

Closed
rohbotics opened this issue Aug 5, 2021 · 1 comment · Fixed by #177
Closed

New launch_core doesn't work with old robot.yaml #172

rohbotics opened this issue Aug 5, 2021 · 1 comment · Fixed by #177
Assignees

Comments

@rohbotics
Copy link
Member

If someone just copies their old robot.yaml over, the new launch_core script may fail.

Old default yaml:

# Robot Configuration

raspicam: {'position' : 'upward'}

sonars: None
# sonars: 'pi_sonar_v1' # Use this to enable sonars

This errors on:
ERROR: 'camera_installed' entry was not found in conf['raspicam']

Expected behavior:
A missing key in the yaml should be replaced by the same key in the default yaml.

@JanezCim
Copy link
Contributor

JanezCim commented Sep 7, 2021

I see, good catch, will try to fix it!

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 a pull request may close this issue.

2 participants