Using java and processing to simulate the path of the UAV
Reference for the codrone_edu
Suggest to use python 3.7-3.11, link
pip install -r requirements.txt
# src/python/codrone_test
python test.py
Enter a command:
Pre-Build commands in codrone_edu:
land Land the drone and stop the program, Ctrl^C will have the same result
flip Let the drone do a flip move, only valid when the battery is above 50%
triangle The drone will fly in a triangle pattern
circle The drone will make a circular roll
square The drone will fly in a square pattern
status Check the status of the drone, referring to https://docs.robolink.com/docs/codrone-edu/python/Sensors/34-get_sensor_data
Special commands:
forward [value] Move forward 'value' centimeters (0 < value < 100, default is 50)
back [value] Move backward 'value' centimeters (0 < value < 100, default is 50)
right [value] Move forward 'right' centimeters (0 < value < 100, default is 50)
left [value] Move forward 'left' centimeters (0 < value < 100, default is 30)
face [value] Facing 'value' (0 <= value <= 360)
spiral Move in a spiral pattern (Rescue simulation)
├─src
├─java
│ ├─com
│ │ ├─uav
├─Processing
- Have a map behind the UAV screen
- Possibly connect to the web and take a google location
- Instruction 1 : Click Take-off Area
- Display the latitude and longitude as you're moving the mouse
- Latitude signifies up and down the globe
- Longitude goes left and right
- Get two lats and longitudes (Start and end point)
- Travel to the endpoint then start the spiral pattern search
- User clicks for lat and long coordinates
- Background map
- Possibly using google maps? (GPS)
- Maybe screenshots
- Possibly Google API
- Works in HTML and Javascript
- Could HTML, Javascript, and Processing be used simultaneously?
- Making fluid movement rather than teleporting
- Making swarms to search an area
- Delegate search zones to each drone
- 1 to 4 drones
- Changes flight patterns
- Smooth UAV movement(1 - 2 days)
- Making multiple flight patterns (1 - 2 days)
- Brainstorm flight paths for multiple drones at once (1 day)
- Avoiding rivers, trees, and houses (2 or 3 days)
- Figuring out the google maps API (1 - 2 days)
- Figuring out the google maps API (1 - 2 days)
- Applying the google maps API and adding zooming (2 days)