This page describes the AutoPilot Control Software for AscTec Research UAVs. You can download it here.
The AutoPilot Control software uses the Low-Level Protocol. Therefore, please make sure the XBee of the UAV is connected to the LL Serial 0 port. If your UAV is new, this is our default connection and you do not need to change anything.
- Connect the XBee to "LL Serial 0" on the UAV
- Connect the XBee USB module to your PC
- Switch on the UAV and start the AutoPilot Control software
- In the "Connection" field click on the drop-down and select the port of your XBee USB module. Click connect.
- You should now see all the status information of the UAV
- In the "Packets" field you may select to receive more info packets (e.g. RC Data)
The GPS Mission window allows you to plan simple missions and send the UAV to specified positions based on a georeferenced image.
Open the window via "Tools => GPS Mission".
Creating a Georeferenced Image
Creating a georeferenced image with e.g. Google Maps is quite easy.
- Go to Google Maps and go to the area of your interest
- Click on the lower left to select "Earth" mode
- Take a screenshot of the maps. In Windows this is most easily done by pressing "ALT+Print", this captures an image of the currently selected window.
- Open your favourite image manipulation program (e.g. Irfan View) and press "CTRL+V" to insert your image. (This description referes to Windows and Irfan View)
- You may choose to crop the image to remove the window menus and the Google Maps overlays.
- Save the image. For this example we will name it "example.jpg".
- Now you need to georeference the image, therefore, we need the GPS position of the upper left corner and the lower right corner of the image.
- Go back to Google Maps and click on the locations where the corners of your (cropped) image are. In the upper left appears a box with information of the vicinity where you clicked and the GPS coordinates (e.g. 48.095126, 11.364735).
Open your favourite text editor and insert the following:
- Replace the latitude and longitude of the two corners with your coordinates from Google Maps (taken in step 8).
- Save the file as "example.ini" in the same folder where the "example.jpg" resides. Beside from the file extension, the files must have the exact same name!
You can now load the image into the AutoPilot Control software. If the "GPS Mission" window is open and selected go to "File => Open Satellite image" and select your example.jpg.
Planning a Mission
After you created and loaded your georeferenced image, you can now start to plan a GPS Mission.
- In the upper right of the "GPS Mission" window select the "Cursorfunction" "Add Waypoint".
- Click on the map where you want to have your first waypoint. A dialog appears where you can specify additional parameters.
- The "Desired Heading" defines the orientation of the UAV. 0° means North, 90° is East and so on.
- Height defines the target height of the waypoint
- Time@WP defines the time the UAV will stay at the waypoint until it proceeds to the next
- Position accuracy defines when a position is considered as being reached. GPS tends to drift +-2m, so please do not enter values below 3m. Otherwise, the UAV may never reach the desired position.
- The camera parameters were formerly used by the AscTec Falcon 8 and have no meaning when using on of our Research UAVs, you may ignore them.
- Click "OK", the waypoint appears on the map with a number on it.
- Repeat step 2 until you have entered all desired waypoints.
Do not use a "final waypoint" with a height of 0m for landing. This will not work. Always take off and land manually.
Starting a Mission
To start a mission you need to:
- Switch to GPS mode and wait for a valid lock. The UAV should appear on your image.
- Switch off serial mode (switch away from you)
- Start the motors via the RC
- Raise the UAV to a safe height via the RC (e.g. 5-10m)
- Center all sticks on your RC
- Click on the "Start Mission" button and watch your UAV follow the waypoints
- The UAV will stop on the final waypoint, land it manually with your RC
The GPS Mission will be aborted as soon as you move any stick on your RC. In the event of unexpected behavior you can always use the RC to take over control.
Motor Controller Setup
In case you exchanged a motor controller you may need to assign the correct ID to it (according to its position). You can find the correct IDs on the image below.
To change a controller ID, please follow these steps:
- Turn off your UAV and disconnect all motor controllers except the replaced one. A motor controller is disconnected by pulling the small two-wired plug directly on the motor controller.
- Turn on your UAV and connect as described above.
- While holding the SHIFT key, click on the "Tools" menu. This will open an extended menu. Select "Motor Setup".
- Tick the checkbox "Enable Manual Setup" and click on "Start Brushless Controller Search".
- Select the corresponding motor controller on the list on the left and the new ID on the right. Then click "Change controller ID to:".
- Repeat the steps with all new motor controllers.
Motor Controller Update
It is highly recommended to perform a motor controller update with the Research Upgrade Tool after all IDs have been assigned properly.
Why does the "Camera Control" window does not work with my camera mount option 4?
This window was originally designed for the AscTec Falcon, which in the meantime now uses the AscTec Navigator. It was never intended to be used with the camera mount option 4. Do not worry, your camera mount option 4 is not broken, you can control it by using the AscTec SDK and writing your own code.
Can I use the AutoPilot Control Software to read out a serial number? How?
Yes, this is possible. Connect your flight system as described above and click on "System Info" in the menu bar. In the new "System Info" window click on "Update Information".On the top left of the window there is now something like "AutoPilot LowLevel #20123". The number is the serial number you were looking for.
The window also displays further information, like your current software version of the low-level and high-level processor.