Commit Graph

13932 Commits

Author SHA1 Message Date
Felix Ruess 2059f479a0 Merge pull request #1566 from kevindehecker/PX4_USB
Pixhawk flashing via USB

Add flash through usb functionality PX4.
Automatically detects which target is being flashed, and redirects accordingly.

Also update stm32 usb serial and add timeout to try to make it more reliable...
2016-03-23 21:20:00 +01:00
Felix Ruess 34d64c4475 Merge pull request #1573 from dewagter/cv_func_update
cvFunction returns a pointer to an image (allows resizes etc)

enables e.g. resize functions to pass on the smaller images to next functions
2016-03-23 20:53:56 +01:00
Felix Ruess badb2babc3 Merge pull request #1562 from Pax1601/patch-1
Bebop camera luminosity increase.

I've modified the values of the gains so that it can work indoors.
These values are a bit too high for outdoors use, but I believe they are better overall.
2016-03-23 20:52:41 +01:00
Felix Ruess 2da743bb95 [conf] convert quadrotor_lisa_mx_mavlink to modules only 2016-03-23 16:49:44 +01:00
Christophe De Wagter bd004dff4c cvFunction returns a pointer to an image (allows resizes etc) 2016-03-23 15:51:34 +01:00
Felix Ruess 0d4c628b91 [stm32] fix usb_serial_stm32_example1/2 2016-03-22 23:54:40 +01:00
Felix Ruess 83d4552059 Merge pull request #1571 from OpenUAS/ardrone2_fix_ap_start_experience
Improve experience of PPRZ on ARDrone2

Fix the dreaded 2x need to upload and trashed navdata and some more. e.g. from "Currently running: Paparazzi (ap.elf), Native (program.elf)", to "Currently running: Paparazzi (ap.elf)" first time powered on ARDrone2
2016-03-22 22:33:22 +01:00
Open UAS 5579ec650c Fix upload and start experience of PPRZ on ARDrone2 2016-03-22 20:55:07 +01:00
Felix Ruess 382873ac24 Merge pull request #1558 from knmcguire/pull_request_ARdrone_edgeflow
edgeflow: improved optic flow calculation

a new method to calculate the global optical flow in a efficient way. It should run twice as fast as the current implementation.
2016-03-21 15:14:18 +01:00
Felix Ruess 794d786704 [ground_segment] fix ant_track compilation 2016-03-20 15:02:16 +01:00
Gautier Hattenberger b9764a4b43 Merge pull request #1512 from igua/sdlog
Sdlog
2016-03-18 09:50:47 +01:00
Felix Ruess d0563b0ce8 [rotorcraft] fix missing include 2016-03-17 12:05:36 +01:00
Felix Ruess f1cac13fe0 also build find_free_msg_id in sw/tools 2016-03-16 20:16:42 +01:00
Gautier Hattenberger 94492d5ada [git] add ivy2serial to gitignore 2016-03-15 15:18:04 +01:00
kevindehecker 0dea5f21d7 Added timeout comments 2016-03-15 14:10:56 +01:00
Felix Ruess 93b8741d0a Merge pull request #1557 from paparazzi/update_locm3
[ext] update to latest libopencm3
2016-03-15 12:12:01 +01:00
Felix Ruess a4c86bd177 [linux] mark object files as precious 2016-03-15 11:56:26 +01:00
Gautier Hattenberger 36800e281e [ocaml] add a ivy2serial agent
This tool can be used to open a serial link communication with the ocaml
simulator that only outputs message over Ivy.
2016-03-15 11:26:40 +01:00
kevindehecker 672ed9b24d Shortened module explanation 2016-03-15 10:37:44 +01:00
kevindehecker 55844c2289 Fixed code style 2016-03-15 10:31:07 +01:00
k.n.mcguire@tudelft.nl 402034944e [modules] changed config to error message about method and added derotation setting 2016-03-15 09:55:05 +01:00
Felix Ruess d22c7be474 [nps] fix WORLD_ENV_REQ IVY message 2016-03-14 22:48:05 +01:00
Felix Ruess 8564baaced [nps] fix WORLD_ENV_REQ IVY message
request messages in advanced format use underscore to separted pid from sequence
2016-03-14 22:41:38 +01:00
kevindehecker 6d874bc4e8 Refactored px4io_flash module to px4_flash, because it is now also used to flash the f4 2016-03-14 16:58:42 +01:00
kevindehecker 2df0ad0a01 Refactored TELEM2 to FLASH 2016-03-14 16:42:52 +01:00
kevindehecker e9a596f163 Added replug usb message 2016-03-14 16:38:29 +01:00
kevindehecker edf05df4a3 PX4 bootload over usb with auto targetting works 2016-03-14 15:52:54 +01:00
kevindehecker 3a7d08685a Switched to usb_ser for flashing 2016-03-14 15:34:31 +01:00
Felix Ruess 69ac06cf98 minor intermcu/led cleanup 2016-03-12 15:00:07 +01:00
Felix Ruess 1c8df8b8f7 [ext] update to latest libopencm3
and update clock setup accordingly
2016-03-12 14:32:58 +01:00
Felix Ruess 078ef199d8 Merge first part of Pixhawk board support
First PR for getting Pixhawk to play nice with PPRZ.

The Pixhawk can be flashed without external tools (i.e. no JTAG interface is needed). Instead, the PX4 bootloader is kept in place and used by pprz to flash both the AP (stm32f4) and FBW (stm32f1) devices. One important remark is that for the FBW device, currently the computer needs to be connected to the Telem2 port using a FTDI cable. This is because pprz does not support serial communication over USB, or so I've heard.

In any case, the Iris+ drone factory equipped with a Pixhawk flies both on INDI and PID in ATT mode. However, PPRZ currently uses the MPU6000 IMU, which was broken in my Iris+ (and there are indications that maybe in others Iris' and X8's as well). I had to replace it with a fresh Pixhawk.

Also tested with a Pixhawk clone: seems to work just as well.

closes #1551
2016-03-11 18:04:16 +01:00
Felix Ruess b9db73653a Merge pull request #1564 from rmeertens/conffixcourse
fixed course conf
2016-03-11 17:18:12 +01:00
Felix Ruess 948eaa0733 Merge pull request #1565 from enacuavlab/nps_wind
some more wind support for NPS
- direct input from flight gear socket (you can hence set Wind via FlightGear)
- request for WORLD_ENV message
2016-03-11 17:17:51 +01:00
Gautier Hattenberger 87e97685ea [nps] add support for WORLD_ENV_REQ message
and fix typo for soket input
2016-03-11 14:47:11 +01:00
Gautier Hattenberger d4318671ca [nps] update wind from flight gear input socket 2016-03-11 13:44:27 +01:00
Roland Meertens 0ccba82bed moved conf 2016-03-11 10:06:56 +01:00
Roland Meertens 20da652d39 fixed course conf 2016-03-10 14:00:05 +01:00
Ewoud Smeur 9f5b03e01c send correct lla altitude 2016-03-10 13:47:00 +01:00
Felix Ruess e1c0a750b7 update docker pprz-dep image 2016-03-10 12:43:35 +01:00
Pax1601 e04e9fed7c Bebop camera luminosity increase.
Using the datasheet of the Bebop front camera, I've edited the video.c source code to increase the gains and obtain a better image.
2016-03-10 11:29:49 +01:00
Felix Ruess f84834e90d [conf] enable compilation of C++ files on arm-linux 2016-03-09 18:02:27 +01:00
k.n.mcguire@tudelft.nl e3b3185085 [modules] edgeflow added copyright 2016-03-09 17:51:08 +01:00
k.n.mcguire@tudelft.nl 3c91b3e264 [modules] optical flow removed unnessary lines and files 2016-03-09 17:04:10 +01:00
k.n.mcguire@tudelft.nl bb7c755560 [modules] Moved edgeflow.c and .h to lib/vision folder 2016-03-09 16:18:24 +01:00
k.n.mcguire@tudelft.nl 6dd3c62934 [modules] made a seperate function for opticflow by fast9 and LK and added edgflow to opticflow_calculator 2016-03-09 16:11:39 +01:00
k.n.mcguire@tudelft.nl 69fd592501 [modules] added settings to switch between edgeflow and LK, and some extra variables 2016-03-09 15:44:54 +01:00
Felix Ruess 625d7558a5 [nps] add forgotten temp sensor files 2016-03-09 15:13:31 +01:00
Felix Ruess ae2e9fa524 [conf] fix nps.makefile 2016-03-09 14:59:58 +01:00
Felix Ruess dbe0aae9f2 [conf] add air_data to some examples 2016-03-09 14:21:17 +01:00
Felix Ruess 1a56085a4d [conf] cleanup NPS makefiles 2016-03-09 14:19:37 +01:00