Commit Graph

14931 Commits

Author SHA1 Message Date
Open UAS d5cfaa5c31 Refreshed from master 2017-05-30 08:22:03 +02:00
Open UAS 2a1eea87ac Fixedwing for Pixracer 2017-05-30 08:12:20 +02:00
Open UAS 66fd00255b Patched AC and Fligtplans to be compatible with latest XML syntax 2017-05-30 07:50:54 +02:00
OpenUAS c2e44e80cc PPRZ_MODE* to currrent syntax AP_MODE* 2017-05-29 14:29:43 +02:00
OpenUAS 950da910f0 PPRZ_MODE* to currrent syntax AP_MODE* 2017-05-29 14:28:24 +02:00
OpenUAS 5715df6c53 PPRZ_MODE* to currrent syntax AP_MODE* 2017-05-29 14:27:02 +02:00
Ewoud Smeur 5108b122e6 linux time usec from clock (#2067) 2017-05-24 18:56:58 +02:00
kevindehecker dfba3220f5 Succesfully tested Disco at v1.3 (#2066) 2017-05-23 10:08:57 +02:00
Michal Podhradsky e650788689 Added test for aggieair config (#2061)
* Added test for aggieair config
2017-05-17 23:52:32 +02:00
Michael Sierra a50be94dbd [settings] change settings notebook to scrollable for many tabs on small screen (#2065) 2017-05-17 20:22:33 +02:00
OpenUAS 124fa3267d Update opticflow_calculator.c
This fixes that division by previous_frame_offset is now no longer ignored. Now if a user applies a longer horizon, the value is calculated as it should be.
2017-05-16 10:54:27 +02:00
Piotr Esden-Tempski d683d4b52a OpenOCD moved the location of scripts. This patch fixes the defaults. (#2059)
needs openocd 0.6 or higher, which should be the case on all our supported ubuntu versions
2017-05-13 21:19:54 +02:00
OpenUAS f94fcec20c Update bebop.py
Another parrot firmware fly tested v4.0.5 as well on Bebop1 as Bebop2. Note that camera issue not yet fixed in PPRZ.
2017-05-11 09:36:41 +02:00
Ewoud Smeur f1f43d47f9 better initialization guidance_indi (#2063) 2017-05-10 21:46:50 +02:00
Ewoud Smeur 4fa4a6effd fix delft_basic flight plan exceptions 2017-05-10 10:53:52 +02:00
Michal Podhradsky e30a03cc00 Copilot fixes 2017-05-06 14:47:51 -07:00
Michal Podhradsky 005b5cbc14 Updated aggieair conf 2017-05-06 13:37:14 -07:00
Michal Podhradsky 888289abf4 Update pprzlink 2017-05-06 13:34:30 -07:00
Michal Podhradsky 626448c713 Fixed copilot module (#2060)
* Fixed copilot module to work both with rotorcraft and fixedwing firmwares

* Minor fixes

* Fixed compilation test
2017-05-06 13:27:07 -07:00
Ewoud Smeur 86baffe98a guidance_h heading setpoint in float (#2051) 2017-05-06 13:25:35 -07:00
Gautier Hattenberger 0a65e14903 [autopilot] compiling generated AP for fixedwing (#2055)
* [autopilot] compiling generated AP for fixedwing

* update some old variable names for autopilot mode

* prevent oscillation on the ground with real aircraft

* add guidance loop to 'new' control

all this guidance code should really be better factorized

* fix rotorcraft autopilot for new API

* read guidance RC if needed

* use generated autopilot as soon as an autopilot file is defined

* autopilot node at airframe, firmware or target level

The autopilot can be specific to one of the firmware, or one of the
target.
At the moment, it will fail at runtime if more than one autopilot in the
same airframe since server don't know which target is in use.
2017-05-06 13:24:40 -07:00
Michal Podhradsky de58bd52ac Added AggieAir airframes 2017-05-06 09:59:36 -07:00
Michal Podhradsky 99de1698d5 [AGGIEAIR] Updated control panel session 2017-05-04 10:13:31 -07:00
kevindehecker 677d0af0bd Fix px4 fbw flash problem, related to #2040 (#2057) 2017-04-25 18:24:37 -07:00
Ewoud Smeur 2f020745f9 [chimera] change dma streams to use i2c2 (#2056) 2017-04-25 13:15:03 +02:00
Felix Ruess d9adcccc8e [python] guided_mode_example.py: get aircraft id if not give on commandline
sorry, terribly crude.... but should get the basic point across until someone does it nicely.
2017-04-24 22:45:57 +02:00
OpenUAS 095eca2c2d Merge pull request #2048 from ETitus/EdgeFlow_fixes
Edge flow fixes. Thx to all involved for all the hard work done and testing validation . There will be some others working with the OF fixed solution, so more validation tests by others soon in the renewed Optitrack. Issues can be filed if still something is amiss.
2017-04-24 14:43:33 +02:00
Michal Podhradsky c2e314c0f1 Updated vectornav status message so it displays the right rate invariant on the frequency the message is sent 2017-04-19 18:22:05 -07:00
Michal Podhradsky ca68570d03 Mission Computer and payload computer support (#2053)
* Copilot module
* Added mission computer status
* modules_parse_datalink() now accepts arguments
* Update pprzlink
* Update cartography module to comply with the extended CAMERA_SNAPSHOT message
2017-04-19 18:11:54 +02:00
Titus 2ccdc51f51 Added an INDI conf to test the pullrequest 2017-04-18 17:37:47 +02:00
Michal Podhradsky 8f1e082cfe [HITL] Fixed fixedwing simulation - runs now nicely with Minion Lia as an example (#2054) 2017-04-15 23:16:44 +02:00
Ewoud Smeur 3dcfdc9ac7 [fix] Correct dimensions g1g2 matrix 2017-04-14 18:02:22 +02:00
OpenUAS 59f03f90f7 Update bebop.py
Tested on Bebop and Bebop 2. v4.0.4 Min version set to 3.3 no motor swap issue "fix" unwanted behaviour.
2017-04-05 13:08:39 +02:00
Titus 2ac81ac855 Proposed speedup edits as described in pull request comments 2017-04-03 11:47:11 +02:00
Murat Bronz a14f4e75a7 ADC CHANNEL 1 value corrected to in3 (#2049) 2017-03-31 14:34:18 +02:00
Titus ab8cf6f607 added a proper resolution parameter in EF rather than using the subpixel factor from LK 2017-03-30 23:52:49 +02:00
Titus d3d805d00a 1)in vision/image.c there was an incorrect bound that caused the code to read a value outside of the buffer. 2)in vision/lucas_kanade.c there was a rounding error that caused bordervalues to still be accepted. Also when the selection of new point could be messed up by an overflow where the unsigned point - the signed flow could overflow, the result wasnt caught by the ignore check. 2017-03-28 11:56:25 +02:00
Michal Podhradsky b1102eb04e [aggie_air_control_panel] Added NPS session with FlightGear 2017-03-27 18:07:38 -07:00
Michal Podhradsky e4773906de [nav_launcher] Minor functionality fix so it works in simulation 2017-03-27 17:58:05 -07:00
Titus 6c8fb1fbf9 moved the opticflow_calc_init call to opticflow_module.c and moved the LK related parts to the LK function 2017-03-27 12:45:19 +02:00
Hector Garcia de Marina b9e71e9fa4 Small update to the circular formation script (#2046)
* sigmas are in degrees now. We print all the errors correctly for logging purposes. The conversion to floats from the gvf msg has been changed since it complained for some machines.

* example added

* do not forcing a particular path

* cleaner demo flight plan. Now it also includes the gvf module

* correct usage msg

* [GVF] Example for the wiki and README
2017-03-24 13:19:45 +01:00
Titus b7e0f2e9bf corrected printing of config var 2017-03-23 16:07:09 +01:00
Titus 14d5bfe24b In void calc_edgeflow_tot, change flow_x into div_x as it is the divergence being set. 2017-03-23 16:04:01 +01:00
Titus 2195de3af8 In void calc_edgeflow_tot, prevent segfault due to memory leak in line 445-446 by freeing the malloc'd variables properly 2017-03-23 15:58:27 +01:00
Titus db6548ed67 in void line_fit, fixed sumx2 by correctly removing 1*1 +2*2 etc until and including (border-1)*(border-1) 2017-03-23 15:53:50 +01:00
Titus a75b2e82f0 in void calculate_edge_histogram, 1)IMPORTANT: corrected the index used for img_buf, the +1 caused a out of array memory address to be looked up. Also it caused wrong calculations to take place arround the borders of the image 2)removed comments that were from an old version 2017-03-23 15:28:38 +01:00
Titus aab67c06f3 in void calculate_edge_displacement, 1)corrected in/out comment 2)removed a pair of redundant {}'s 2017-03-23 15:22:03 +01:00
Hector Garcia de Marina cdf9b2247e Drawing circles in the GCS if the user is employing the Guidance Vector Field (#2045)
* If the ellipse is a circle, then we set PPZ Horizontal Mode to CIRCLE

* at least one byte has to be sent

* for now, if not in a CIRCLE, then a WAYPOINT, so the GCS will not draw anything
2017-03-22 17:22:19 +01:00
Wilco 0a061c57fd [MAG_CALIB_UKF] Online magnetomer calibration using unscented Kalman filter (#2043) 2017-03-22 09:37:23 +01:00
Michal Podhradsky 42c0cd27d1 [extra_dl] Extend module functionality (#2042)
use dedicated buffer
2017-03-21 11:08:15 +01:00