Commit Graph

11871 Commits

Author SHA1 Message Date
Felix Ruess f3ee56d862 [tests] fix math tests 2015-01-02 11:39:38 +01:00
Felix Ruess cf96b48d86 [fixedwing] use min/max_cruise_throttle variables instead of defines
closes #1057
2015-01-02 10:57:57 +01:00
Felix Ruess bb6ddbf15e [conf] update some telemetry files
- remove unused hs_att_roll mode
- add AIR_DATA to main mode
2015-01-02 10:45:18 +01:00
Felix Ruess 334eec6ba1 [ext] update luftboot
no functional change, just update code to use newer rcc_periph_clock_enable
2015-01-02 10:17:28 +01:00
Felix Ruess f16e22e581 [ext] update libopencm3
Reason is just to get the fix for usb control callbacks so luftboot works again.
Since rcc_ppre1_frequency and rcc_ppre2_frequency were also renamed in the meantime, make appropriate changes.
2015-01-02 10:17:28 +01:00
Felix Ruess 9303c2336b [mavlink] add sending of origin and waypoints 2014-12-27 20:23:49 +01:00
Felix Ruess 478ad34605 [mavlink] rename SETTINGS to SETTINGS_NAMES_SHORT 2014-12-27 19:24:17 +01:00
Felix Ruess 394d0ce5d7 [mavlink] send quaternion 2014-12-27 14:27:49 +01:00
Felix Ruess 1469f456bc [mavlink] parse PARAM_SET 2014-12-27 14:16:58 +01:00
Felix Ruess 0f0f11856c [conf] add AUTOPILOT_VERSION to some default telemetry files 2014-12-22 22:01:19 +01:00
Felix Ruess 6a51e79153 [conf] add python real time plotter to control panel 2014-12-22 22:01:19 +01:00
Felix Ruess 00b1324759 [python] messagesapp: growable value column width 2014-12-22 22:01:19 +01:00
dewagter 553359d60f [auto1-flaps] Please remove this as soon a better solution exits. For now it is critical to fly. closing #878 2014-12-22 20:37:26 +01:00
dewagter ce7fd2e86a [conf] vivify fix digital_cam_uart missing settings 2014-12-22 20:07:13 +01:00
dewagter 6fb99284d7 [conf] obc fix nav_airspeed names, and enable AMSL 2014-12-22 19:25:03 +01:00
Felix Ruess 3e61629f16 fourth release candidate for next stable release v5.4 v5.3.3_testing 2014-12-22 16:03:17 +01:00
Felix Ruess bdd8d0019a Merge pull request #1050 from paparazzi/autopilot_version_msg
[messages] replace BOOT with AUTOPILOT_VERSION

The AUTOPILOT_VERSION message contains:
- the version encoded as integer with `MAJOR * 10000 + MINOR * 100 + PATCH`
- the complete version string as returned by paparazzi_version

This message is sent once at startup of the autopilot, but can also be registered like any normal telemetry message by adding it to the telemetry airframe file.

The version string is also displayed in the GCS alert window (once per aircraft, unless it changes)...

Also the "build version" is not written to `var/build_version.txt` and the server also writes it to the log.

When building an aircraft it will now warn if the last build version differs from current version.
It only checks if the current version number (e.g. 5.3.2) is contained in the full build version string. So it will warn if you changed branches to a different version, but not after e.g. committing only a airframe config change.

You can also run `make print_version` to show the current version (and the warning if build version differs).
2014-12-22 15:38:02 +01:00
Gautier Hattenberger 6483af34e5 [server] close file even if file empty 2014-12-22 14:21:11 +01:00
Felix Ruess 3f3db735ac [build] improve build version stuff
- always save build version when updating anything that depends on libpprz, so it will also be updated on e.g. make tmtc
- only warn if the version number (major.minor.patch) is different, disregard the label, sha1, dirty postfixes in the string...
2014-12-22 12:12:30 +01:00
TU Delft developer 0add0485a0 Add some more flexibility to conf and control_panel naming
closes #1055
2014-12-22 11:44:17 +01:00
Felix Ruess a94cb4cf31 [paparazzicenter] fix GLib-CRITICAL warning when running clean/build/upload
The func of the HUP io watch returned false, meaning the event source was automatically removed.
This resulted in trying to remove a non existent source in the callback, which is bad as the id could already refer to something else...
And of course this was resulting in highly annoying warnings on every process that is automatically stopped/removed (like clean/build/upload):
GLib-CRITICAL **: Source ID xxx was not found when attempting to remove it

So by simply returning true to not automatically remove the event source this should be solved...
2014-12-22 03:26:49 +01:00
Felix Ruess af1900ea17 [ground_segment] settings: display ? on undo
should solve first part of #1054
2014-12-22 01:10:49 +01:00
Ben Laurie df105d857f Add FrSky X9D + X8R/SBus 2014-12-21 21:10:24 +01:00
Gautier Hattenberger d3f9e39533 [build] add build version to the log and print warning if not matching runtime version 2014-12-21 19:32:50 +01:00
Felix Ruess c157cc3569 [test] test_ms2100: replace BOOT with TAKEOFF message 2014-12-21 19:20:50 +01:00
Felix Ruess 548f315faf [gcs] remember version per aircraft 2014-12-21 04:34:45 +01:00
Felix Ruess 2c3cfc3689 [gcs] log autopilot version in alert window once 2014-12-21 04:34:03 +01:00
Felix Ruess e3be6f938a [messages] replace BOOT with AUTOPILOT_VERSION 2014-12-21 03:32:29 +01:00
Felix Ruess d0b9c3acd3 [ground_segment] fix green->darkgreen change
Since tcl8.6 "green" refers to same color as "darkgreen" (to the one used in web) and the former "green" is now "lime"...
But "lime" is not available in older versions, so hardcode the color to #00ff00
2014-12-21 00:00:26 +01:00
Felix Ruess f296ca7146 add get_pprz_git_version and use in mavlink custom_version 2014-12-19 16:28:58 +01:00
Felix Ruess 19fdef9c68 [airborne] add pprz_version and send it with BOOT 2014-12-19 15:58:09 +01:00
Felix Ruess ec828744ea [server] write paparzzi_version as comment at beginning of log 2014-12-19 15:57:42 +01:00
Felix Ruess e47ce391fe [tmtc] fix rx_lost_time in link
still has some weird delay of ~2s until it starts counting rx_lost_time up..
2014-12-19 15:48:43 +01:00
Gautier Hattenberger 4a39629a63 third release candidate for next stable release v5.4 v5.3.2_testing 2014-12-18 11:17:35 +01:00
Gautier Hattenberger 7fcb4357a4 [linux] handle SIGINT by hand if needed, useful for debug
type Ctrl-C two to stop the program launched from the console on
ardrone2 and bebop

close #1008
2014-12-18 10:55:10 +01:00
rob phillips 7b83653df1 Spelling correction 2014-12-17 19:39:52 -05:00
Ewoud Smeur 6177507bda [fix] re-added brackets for correct transition offset handling 2014-12-17 16:08:18 +01:00
Felix Ruess 9119313887 Merge pull request #1043 from paparazzi/piksi
[gps] add support for Piksi gps from Swift-Nav

closes #957
2014-12-17 12:55:43 +01:00
Gautier Hattenberger b915775fb1 [piksi] handle msl/geoid alt 2014-12-17 11:10:31 +01:00
Gautier Hattenberger ac1250ac67 fix code style 2014-12-17 10:04:00 +01:00
Felix Ruess 6a2f6aba3f [conf] outback airframes
closes #1044
2014-12-17 02:58:24 +01:00
Felix Ruess 603b40a513 [airborne] fix code style on (nearly) all files
```
find sw/airborne/ -regextype posix-extended -regex 'sw/airborne/.*(chibios-libopencm3|lpcusb|efsl|lpc21/include|lpc21/test/bootloader|subsystems/ahrs)' -prune -o -name '*.[ch]' -exec ./fix_code_style.sh {} +
```

ignored ahrs (for now) to not create unnecessary conflicts for some pending changes..
2014-12-17 02:15:06 +01:00
Felix Ruess cd1b8a9f2a fix_code_style limits to 120 chars instead of 100
it would still be good to limit code line length to 100 when writing the code,
but setting this to something larger avoids stupid automatic wrappings that make things less readable...
2014-12-17 02:14:16 +01:00
Christophe De Wagter 40263e8165 Merge pull request #877 from paparazzi/airspeed_tuning
[nav_airspeed] tune navigation airspeeds for diffent phases of the FP
2014-12-17 02:01:25 +01:00
Felix Ruess b93546f73d Merge pull request #1036 from paparazzi/mode_manual_allowed_even_during_home
always allow switching to MODE_MANUAL via RC (even during HOME or FAILSAFE)
2014-12-17 01:43:28 +01:00
Felix Ruess 49d5c2b222 [conf] remove NPS_JSBSIM_INIT from all example airframes
most people want it to start at flightplan location anyway...
If someone wants to explicitly set the initial conditions, they can add whatever xml file they want...
2014-12-17 01:39:07 +01:00
Felix Ruess fff20da5fc [dox] stylec: limit to 100 chars 2014-12-17 01:39:07 +01:00
Gautier Hattenberger 1cdee27c0c [gps] add support for Piksi gps from Swift-Nav (#957) 2014-12-16 23:12:06 +01:00
dewagter 6f9b3d9501 [nav_airspeed] Descriptions 2014-12-16 21:52:19 +01:00
dewagter 7f9483ad32 [nav_airspeed] tune navigation airspeeds for diffent phases of the flightplan 2014-12-16 21:23:03 +01:00