Skip to content

Commit

Permalink
Update mission_raw.py - Trimmed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ShafSpecs authored May 17, 2024
1 parent 0eb24c7 commit babc9fa
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions examples/mission_raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,21 @@ async def run_drone(drone):
1,
# auto-continue. 1: True, 0: False
1,
# param1 - hold time
# param1
0,
# param2 - Acceptance radius (if the sphere with this
# radius is hit, the waypoint counts as reached)
# param2 - Acceptance radius
10,
# param3 - 0 means it should pass through the waypoint normally
# param3 - 0 (pass through the waypoint normally)
0,
# param4 - Desired yaw angle at waypoint. NaN to use the
# current system yaw heading mode
# param4 - Desired yaw angle at waypoint
float('nan'),
# param5 - latitude (multiplying by 10^7 due to MAV_FRAME)
# param5 - latitude
int(47.40271757 * 10**7),
# param6 - longitude
int(8.54285027 * 10**7),
# param7 - altitude
30.0,
# mission_type. Specifies this item as a main command for the mission
# mission_type.
0
))

Expand Down

0 comments on commit babc9fa

Please sign in to comment.