Skip to main content

GPS Navigation Ground Test #2 - Heading Error Computation Algorithm

This one is going to be quite short. Yesterday was the turn of the heading error algorithm to be tested. This heading error is calculated based on the heading the between two waypoints and heading measurement from the GPS module. This error will then be fed into a the roll controller as an input for roll command to reduce it to zero. But for the roll controller to work accordingly, the input must be right and within certain bounds.

Same as the previous ground test, waypoints were loaded unto the autopilot and serial debug data was monitored using my Asus TF101 Tablet. It's worth saying that I managed to get serial data output straight from the LINUX command line. So the command line integration with VIM is complete. So it takes approximately under 10sec to upload and start debugging data of the autopilot. Sweet!

Anyway, it was found that the GPS accuracy should be considered at 10-12m. Anything less than that and you'll be running for trouble. That is not a real concern as over a range of a few kilometres (goal for the UAV) that's an error of less than 1%. The heading error computation works well. I realised that I need to add extra functionality in the event a waypoint has been missed, to carry on tracking the next one. This is determined by a maximum distance error of 200m and the heading error being close to 175 degrees.\

With the heading error and waypoint tracking ground tests done, I turn my attention back to the roll and pitch controller that needs to be finalized. I've also started working on a speed controller to optimize the use motor for longer flight times.

See you soon!

Comments

  1. I have goen through your site, this is a good one.for more information please follow our blog:-If you are looking for a UAV autopilot aircraft which can be used as the Best Police Drone, or can be useful while using it as a Tower inspection drone, then we are there to provide you. We basically make our drones in such a way, thus it can used to capture best quality aerial videos and photos. We also provide certified Drone Repair Service to help you at the maximum level.

    ReplyDelete
  2. I have gone through your post . It is very informative. I would like to share this.

    It is without doubt that the Phantom Drone has renewed interest in the use of technology in social security. The New Phantom drone is exceptional in many ways indeed. The fpv transmitter will need to be improved as it will help the persons sending and receiving data. It is therefore of big importance that the drone autopilot keeps in mind that the signal sending should be full of clarity.

    ReplyDelete
  3. I have gone through your post . It is very informative. I would like to share this.

    It is without doubt that the Phantom Drone has renewed interest in the use of technology in social security. The New Phantom drone is exceptional in many ways indeed. The fpv transmitter will need to be improved as it will help the persons sending and receiving data. It is therefore of big importance that the drone autopilot keeps in mind that the signal sending should be full of clarity.

    ReplyDelete

Post a Comment

Popular posts from this blog

Setting up the Tarot T4-3D gimbal on the Pixhawk 2.4.8 with Specktrum dx6 Gen2 toggle switch

So i took the challenge of setting up the Tarot gimbal not just for inherent stable video footage but also the flexibility of controlling it from the radio control. However, I encountered quite a few challenges which made me aware that I'm not the one only in this battle . It's quite clear that the setup of the Tarot gimbal using its own software is completely different from how it's been described in the Ardupilot/Arducopter webpage and in mission Planner. In Mission Planner and it's associated site makes one believe that it should be done through software, only to realize that in actual fact the setup is more complex than that.  After two evenings of trying various combinations, I realized the getting the pixhawk Aux channels to communicate with the T4 gimbal requires the following steps: - The Pixhawk Pin9 (Aux1) needed to be activated to pass through user-chosen channel from the transmitter. For the Dx6 Gen2 it was the channel 6, which can assigned the ...

Setup ArduPilot flight modes with DX6 Gen 2

Hi, I've looked around the web to get an understanding the setup of the Ardupilot flight modes with a Spektrum DX6 2nd generation and there was none. So I decided to write this blog. The few things to consider when doing this: Please follow the instruction given on the ardupilot webpage . Have the Pixhawk hardware connected to Mission Planner (I have 1.3.50 - Copter V3.5.3)  Use the display bar in the Radio Calibration page as a guide while changing the rate pulse widths on your transmitter. I've used switch D to change the pulse width ranges on channel 5.

GPS Navigation Ground Test #1 - Waypoint Tracking Algorithm

So after a period of absence of over a month (feel depressed everytime I say it), I got back into the groove of things. Decided not to wait to get back on the field to test the pitch and roll autopilot and decided to start working on the waypoint tracking algorithm . The advantage of having your own home with a garden is that you no longer struggle to get a GPS lock (There's no more concrete flats surrounding us yeah!!!). So got familiar with my gear again. Also decided to buy a piezo buzzer that could be used as a replacement of the serial monitor. The aim was to increase the intensity of sound as you got closer to the next waypoint. In such a way you will know if you're going the correct way. Decided to use GPS Visualizer to get waypoints on the property. Re-formatted the points into the code uploaded it onto the controller. It must add that I managed to successfully run arduino from the linux command line and use the program screen as a serial monitor. Not only is it m...