projects:robomastertt:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:robomastertt:start [2024/12/11 21:04] – [PYTHON] mpr_staff.hsrw | projects:robomastertt:start [2024/12/12 15:20] (current) – [Firewall Exceptions] mpr_staff.hsrw | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| [[https:// | [[https:// | ||
| + | ==== Firewall Exceptions ==== | ||
| + | * 8889/udp control | ||
| + | * 8890/udp state | ||
| + | * 11111/udp video | ||
| ==== Update Drone Firmware ==== | ==== Update Drone Firmware ==== | ||
| Line 44: | Line 48: | ||
| swarm.connect() | swarm.connect() | ||
| - | print(" | + | #print(" |
| - | for i, battery in enumerate(swarm.get_battery(), | + | #for i, battery in enumerate(swarm.get_battery(), |
| - | print(f" | + | # print(f" |
| + | |||
| + | # Change the LED colour of both drones | ||
| + | swarm.parallel(lambda i, tello: tello.send_expansion_command(" | ||
| # Execute commands as a swarm | # Execute commands as a swarm | ||
| Line 54: | Line 61: | ||
| # Rotate only the second drone | # Rotate only the second drone | ||
| swarm.tellos[1].rotate_clockwise(90) | swarm.tellos[1].rotate_clockwise(90) | ||
| + | |||
| + | # Change the LED colour of the second drone | ||
| + | swarm.tellos[1].send_expansion_command(" | ||
| # Land all drones simultaneously | # Land all drones simultaneously | ||
| Line 60: | Line 70: | ||
| print(" | print(" | ||
| </ | </ | ||
| + | |||
| + | ==== UWB ==== | ||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ==== Gesture Control ==== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
projects/robomastertt/start.1733947494.txt.gz · Last modified: 2024/12/11 21:04 by mpr_staff.hsrw