![]() You will need to select Enable in the Joystick submenu every time you start up the drone. Reverse channels as needed (I needed to with my Pitch channel) Some quick pointers for test flying this and for future use are as follows:Īlways keep the drone in PosHold during the first flight to verify controls are working as intended All my test flying was done using Botlink’s XRD2 with an LTE connection, you can use your drone’s telemetry radio that comes with it as well. Now the last thing that needs to be done is a quick test flight. The drone should sound the buzzer and then stop immediately prior to getting the prearm checks and figuring out it can’t arm. To check if disarm works as intended, Arm and then immediately Disarm. The drone arming buzzer should sound and it should try to arm but will be denied and then Mission Planner will give you the reason why. Once one, or both, of those safety features are enabled go ahead and try to Arm. If not and it has a safety switch on the drone, don’t switch it on. If your drone has a controller/Transmitter you already use with a hard “Motor Cut off” switch, then enable it. MAKE SURE NO PROPELLERS ARE ON THE DRONE PRIOR TO DOING THESE STEPS. This will open a new window with a drop down, there is no “save” button, it will remember what you put in the drop down after closing the window. ![]() Repeat for Disarm (order does not matter, this could be button 16 and 7 on the list and it would work all the same).ĭo the same for PosHold, but on the drop down select ChangeMode and then select the Settings button. On the right, select the drop down and then find Arm. Press the button on the controller you want to use for this button (I used LB and RB for Arm/Disarm respectively). Select Detect next to the button you want to use for Arm For setting up buttons we go with this process (Figure 3 for reference): This will allow us to obviously arm and disarm the drone but also let go of the sticks and the drone will keep its position in space without us needing to do anything else. REVERSE THROTTLE USING THE CHECKMARK TO THE RIGHT OF THE CHANNEL.Īfter we get the channels for controlling the drone we will want to map buttons onto the drone, since this is for keeping a quadcopter as close to a DJI drone as possible we will use 4 buttons mapped as Arm, Disarm, RTL, and PosHold. The same goes for the Reverse checkmark for Pitch. Keep in mind that the drop downs to the left can read different depending on the controller being used, don’t change them to what I have. Move the Pitch joystick to have it read it.Ĭontinue this same process for Channels 2, 3, and 4 for Bank, Throttle, and Yaw respectively. Select the Auto Detect button for Channel 1 on the left half of the menu But as we go through the flow for setting up channels is easy as: One thing to keep in mind, the Enable button at the top should say that the whole time, if it ever says Disable then that means the drone is reading your inputs. Don’t get too concerned with all the info as realistically you should only need Channels 1-4 on the left and at minimum 3 buttons on the right to make sure everything is in order. When connecting after that the IP should be default to what Mission Planner asks and you’re connected! After this we go to Mission Planner and select the Actions menu just below the Primary Flight Display and then at the bottom of that menu select Joystick (Figure 1).Īfter selecting this menu a submenu within Mission Planner should pop up and give you a giant list of control inputs (Figure 2). If you wanted to control it using Botlink’s XRD2 then all you would need to do is swap your connection type in Mission Planner to TCP at 57600 for the baud rate. After connecting the drone you should use whatever connection you will be using to connect the controller to the laptop/ground control station that you’ll be using (I used a wired USB to USB-C). Let's start by starting up the drone itself by using a wired connection, if you are using a wireless connection make sure the propellers are OFF the drone prior to messing with controller settings. Setting up the controller, overall, is easy to do and is intuitive if you are familiar with the Mission Planner software that needs to be used. ![]() But here we will be focusing on if you do not have the usual joystick and are using a gamepad as well as some safety precautions as well when setting something like this up. There is already a guide on ardupilot here, for easy setup if you already have the joystick they used in that tutorial and you don’t care for mimicking DJI drones. The purpose of this guide is to share how to set up using an Xbox controller with a Pixhawk controlled drone to the extent that it is nearly similar to using a DJI drone in practice. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |