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
tridge
left a comment
There was a problem hiding this comment.
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.
this debug is very annoying
| self.request_list_send() | ||
|
|
||
| def cmd_load(self, args): | ||
| print("args: %s" % str(args)) |
| '''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)) |
| self.pretty_parameter_value(w.y), | ||
| self.pretty_parameter_value(w.z), | ||
| ] | ||
| print(self.csv_line(out_list)) |
| if ftp is None: | ||
| print("Need ftp module") | ||
| return | ||
| print("Fetching mission with ftp") |
| '''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))) |
| self.request_list_send() | ||
|
|
||
| def cmd_load(self, args): | ||
| print("args: %s" % str(args)) |
| '''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)) |
| self.pretty_parameter_value(w.y), | ||
| self.pretty_parameter_value(w.z), | ||
| ] | ||
| print(self.csv_line(out_list)) |
| if ftp is None: | ||
| print("Need ftp module") | ||
| return | ||
| print("Fetching mission with ftp") |
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.