sim_vehicle.py: avoid exception when frame information not found
This commit is contained in:
parent
db5f50e08e
commit
39c29820c4
@ -330,6 +330,7 @@ _options_for_frame = {
|
||||
|
||||
def options_for_frame(frame, opts):
|
||||
'''return informatiom about how to sitl for frame e.g. build-type==sitl'''
|
||||
ret = None
|
||||
if frame in _options_for_frame:
|
||||
ret = _options_for_frame[frame]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user