Open UAS
66fd00255b
Patched AC and Fligtplans to be compatible with latest XML syntax
2017-05-30 07:50:54 +02:00
Ewoud Smeur
5108b122e6
linux time usec from clock ( #2067 )
2017-05-24 18:56:58 +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
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
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
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
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
Michal Podhradsky
734a29b567
[ubx_center] Fix no previous prototype warning
2017-03-19 18:44:59 -07:00
Gautier Hattenberger
1754ce0a41
Revert "[extra_dl] Added an example of processing a payload_command packet"
...
This reverts commit 7402d0a1b4 .
2017-03-19 23:11:03 +01:00
kevindehecker
205559e825
Must turn on kill switch once before kill switch can be turned off in fbw ( #2035 )
2017-03-19 13:04:11 -07:00
Michal Podhradsky
7402d0a1b4
[extra_dl] Added an example of processing a payload_command packet
2017-03-19 12:38:38 -07:00
Hector Garcia de Marina
f6b662b8cb
Circular formation script ( #2038 )
...
* now we process only the msgs from the ac_id aircraft
* now we process only the msgs from the ac_id aircraft
* Circular formation Python script
2017-03-19 14:41:27 +01:00
Michal Podhradsky
717cd10e49
[chibios] Bootloader support for Lisa/Lia M/MX and PX4FMU
2017-03-18 18:52:48 -07:00
Gautier Hattenberger
3f4a05d13a
[rtcm] RTK with UBlox8 modules ( #2034 )
...
* [rtcm] RTK with UBlox8 modules
based on #1902 , with fragmentation of packets to fit in RF modems if
necessary
* fix warnings
* [pprzlink] update pprzlink for RXMRTCM message
* [rtcm] add missing files
2017-03-18 16:03:17 +01:00
Gautier Hattenberger
a0dda6ed9d
[chibios] set correct initial uart baudrate
2017-03-17 12:59:00 +01:00
Michal Podhradsky
38395f50ed
[ECU] Small changes in the demo module
2017-03-13 09:42:32 -07:00
Hector Garcia de Marina
08026cc0f4
Small bug with the plotting of the sin track at the python App ( #2036 )
2017-03-13 16:57:04 +01:00
Ewoud Smeur
46fd092595
Fix typo in indi_simple
2017-03-13 14:05:24 +01:00
Gautier Hattenberger
e733db4f47
[chibios] add missing board include in pwm_input driver
2017-03-10 11:45:24 +01:00
Alexandre Bustico
1ef3ca0547
raise dynamic ram pool size and sdLog ram cache size on STM32F7 (chimera)
2017-03-09 19:01:13 +01:00
Gautier Hattenberger
3b82986c1f
[chimera] swap ADC affectation on AUX1 and 2
2017-03-09 18:52:19 +01:00