Skip to content

Commit

Permalink
map: added confirmation on set home and set origin
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Aug 3, 2023
1 parent f4b3b62 commit f45dbe7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MAVProxy/modules/mavproxy_map/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ def __init__(self, mpstate):
self.default_popup = MPMenuSubMenu('Popup', items=[])
self.add_menu(MPMenuItem('Fly To', 'Fly To', '# guided ',
handler=MPMenuCallTextDialog(title='Altitude (m)', default=self.mpstate.settings.guidedalt)))
self.add_menu(MPMenuItem('Set Home', 'Set Home', '# map sethomepos '))
self.add_menu(MPMenuItem('Set Home (with height)', 'Set Home', '# map sethome '))
self.add_menu(MPMenuItem('Set Origin', 'Set Origin', '# map setoriginpos '))
self.add_menu(MPMenuItem('Set Origin (with height)', 'Set Origin', '# map setorigin '))
self.add_menu(MPMenuItem('Set Home', 'Set Home', '# confirm "Set HOME?" map sethomepos '))
self.add_menu(MPMenuItem('Set Home (with height)', 'Set Home', '# confirm "Set HOME with height?" map sethome '))
self.add_menu(MPMenuItem('Set Origin', 'Set Origin', '# confirm "Set ORIGIN?" map setoriginpos '))
self.add_menu(MPMenuItem('Set Origin (with height)', 'Set Origin', '# confirm "Set ORIGIN with height?" map setorigin '))
self.add_menu(MPMenuItem('Terrain Check', 'Terrain Check', '# terrain check'))
self.add_menu(MPMenuItem('Show Position', 'Show Position', 'showPosition'))
self.add_menu(MPMenuItem('Google Maps Link', 'Google Maps Link', 'printGoogleMapsLink'))
Expand Down

0 comments on commit f45dbe7

Please sign in to comment.