-
Notifications
You must be signed in to change notification settings - Fork 679
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 new modules to support uploading Fence and Rally with Mission Item Protocol #676
Add new modules to support uploading Fence and Rally with Mission Item Protocol #676
Conversation
8d0a5c1
to
c163243
Compare
2021d85
to
a01a0b6
Compare
a01a0b6
to
f3fa2f4
Compare
@peterbarker ping? |
40a5bab
to
2d5c712
Compare
@peterbarker it seems to be missing some changes in mavwp: ```
|
2d5c712
to
4543740
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the FEN icon in console doesn't seem to be updating correctly? Shows as grey with a fence enabled and in breach
'''process a waypoint request from the master''' | ||
if m.mission_type != self.mav_mission_type(): | ||
return | ||
print("Processing %s request: (%s)" % (self.itemtype(), str(m))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this debug is very annoying
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
self.request_list_send() | ||
|
||
def cmd_load(self, args): | ||
print("args: %s" % str(args)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
'''save waypoints to a file in human-readable CSV file''' | ||
f = open(filename, mode='w') | ||
headers = ["Seq", "Frame", "Cmd", "P1", "P2", "P3", "P4", "X", "Y", "Z"] | ||
print(self.csv_line(headers)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
self.pretty_parameter_value(w.y), | ||
self.pretty_parameter_value(w.z), | ||
] | ||
print(self.csv_line(out_list)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
if ftp is None: | ||
print("Need ftp module") | ||
return | ||
print("Fetching mission with ftp") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
'''process a waypoint request from the master''' | ||
if m.mission_type != self.mav_mission_type(): | ||
return | ||
print("Processing %s request: (%s)" % (self.itemtype(), str(m))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
self.request_list_send() | ||
|
||
def cmd_load(self, args): | ||
print("args: %s" % str(args)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
'''save waypoints to a file in human-readable CSV file''' | ||
f = open(filename, mode='w') | ||
headers = ["Seq", "Frame", "Cmd", "P1", "P2", "P3", "P4", "X", "Y", "Z"] | ||
print(self.csv_line(headers)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
self.pretty_parameter_value(w.y), | ||
self.pretty_parameter_value(w.z), | ||
] | ||
print(self.csv_line(out_list)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
if ftp is None: | ||
print("Need ftp module") | ||
return | ||
print("Fetching mission with ftp") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
This turned out to be because the action was report-only. |
to make way for mission-item-protocol-base-transfer
to make way for mission-item-protocol-base-transfer
in case of incompatability
mavproxy_map: SlipCircle handles clicked callback Allows circles to be right-clicked and manipulated. mavproxy_map: mp_slipmap_util.py: add UnclosedSlipPolygon Variant of the existing SlipPolygon which doesn't assume it can discern item types and doesn't assume a closing point on the polygon. mavproxy_map: add support for drawing MissionItemProtocol fences mavproxy_map: add option to insert polygon points mavproxy_map: add option to draw polyfences on map mavproxy_map: hide remove-fence option
046aaf1
to
8049c5f
Compare
.... also changes to mavproxy_map to allow manipulation of same.