1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
Commit Graph

2512 Commits

Author SHA1 Message Date
osnwt
5b256e8b20 Now it can be run from any directory (w/o cd to it)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2552 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 19:42:31 +00:00
osnwt
90df657a37 Windows-friendly batch file to build or clean all flight targets with one click.
SYNTAX: Makefile.cmd [build | clean | help]
 - build: builds all flight targets including uavobjects, bootloaders and firmware
 - clean: cleans all flight targets including bootloaders and firmware
 - help:  this help

Currently set are OpenPilot, AHRS, PipXtreme targets and their bootloaders.
It could be done even better but it seems that Windows users don't like command line.

Extra batches which could help (not committed) are:

flight-build.cmd:
---------------------------------
@echo off
rem
rem Build all flight targets
rem

Makefile.cmd build
---------------------------------

flight-clean.cmd :
---------------------------------
@echo off
rem
rem Clean all flight targets
rem

Makefile.cmd clean
---------------------------------


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2551 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 19:08:16 +00:00
cwabbott
8cddf2913d Only change COPY_DIR to cp -r -f if QMAKE_SH is defined, consistent with win32-g++ mkspec.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2550 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:59:25 +00:00
sambas
ae324ffd6e 3rd for Big Mess, bootloaders and pipxtreme
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2549 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:51:43 +00:00
FredericG
f7e6f998ca OP-288 Slight simplification of the ManualControl module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2548 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:38:00 +00:00
pip
fadcbbbe6c Cleaned up qDebug() output when manually moving the home icon on the map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2547 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:24:24 +00:00
sambas
826ce00bf4 another one for Big Mess
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2546 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:18:52 +00:00
sambas
21f190bbca fixes for Big Mess (tm)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2545 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:13:36 +00:00
FredericG
70f11543e0 Fixed debugging via Servo PWM pins
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2544 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:11:47 +00:00
pip
0bdea195c1 Fixed the HomeLocation setting to update ALL the HomeLocation UAVObject values when the user manually moves the home icon on the map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2543 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:05:45 +00:00
pip
0a2a59baa4 Changed the main function parameter format.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2542 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 18:03:59 +00:00
pip
0579de11e3 Can now manually move the HomeLocation icon on the map, it updates the uavobject with lat, lon & new Be values.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2541 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 13:00:53 +00:00
stac
8223580783 jtag-revb: add eeprom config file
The floss-jtag-revb has an on-board EEPROM which can be used to
hold a serial number.  This greatly simplifies using OpenOCD
debug environments with more than one JTAG attached to the same
PC.

See the FLOSS JTAG revB section of this page for instructions on
how to configure the EEPROM on Linux:
  http://wiki.openpilot.org/display/Doc/Software+Development+on+Linux

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2540 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 08:06:13 +00:00
cwabbott
f993a7a0c7 Fixed ground.pro build system by making uavobjects.pro run qmake on openpilotgcs.pro as discussed in the forums. Now running make should handle uavobject dependencies correctly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2539 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-23 04:00:51 +00:00
osnwt
f7b086ce65 Removing empty directory
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2538 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 22:58:48 +00:00
osnwt
6fbd8397c5 Added comment for Qt-Creator users to keep all info in one place.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2537 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 22:54:48 +00:00
osnwt
08d9107220 Fix some Windows things for Qt-Creator users. Please verify that other systems still are happy with it.
It is not yet fully functional as a top-level Qt-Creator project file (some dependencies need to be fixed).

So Qt-Creator users, please use the following sequence to build all for the 1st time:
1) Run qmake in ground (generated gcs Makefiles lack uavobject targets - known problem);
2) Build in uavobjgenerator;
2) Build in uavobjects;
3) Run qmake in ground again (IMPORTANT - now correct gcs Makefiles will be generated).
Now you may build openpilotgcs. If uavobjects are added/removed, you need to repeat all steps after uavobjects.pro modification.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2536 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 22:26:01 +00:00
vassilis
b297ef0ae5 Flight/FlightPlanner: First release of openpilot.py library giving access to RTOS and debug fields. Implemented STOP command, this should be the normal way for stopping scripts. The KILL command should be only used as a last resort for misbehaving scripts. The KILL command will delete the VM thread.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2535 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 21:32:23 +00:00
stac
81c5ee2850 Removing empty directory
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2534 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 18:32:02 +00:00
stac
08978b0f72 Removed empty directorys that git leaves behind
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2533 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:59:06 +00:00
stac
cfcc67aae1 git: Adjust all ignores to account for relocated source
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2532 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:41:56 +00:00
stac
cb234d324c build: Add meta-project for all software needed by GCS
This meta-project allows qt-creator users to open
and configure a single project and to build all
required software to produce a GCS.  This includes
regenerating all uavobject output.

NOTE: To use this meta-project, you MUST perform these
steps once for each SVN checkout:
 - Open <top>/ground/ground.pro in qt-creator
 - Select the "Projects" tab
 - Under Build Settings/General heading, click "Show Details"
 - Activate "Shadow Build"
 - Set your Build Directory to <top>/build/ground

<top> = The full path to the base of your svn tree which should
        contain "flight", "ground", etc.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2531 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:41:53 +00:00
stac
de45556ec7 build: Add a pseudo project to force building of uavobjects
This will be used by a master project for qt-creator to
allow it to automatically generate the uavobject output
for qt-creator users.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2530 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:41:51 +00:00
stac
a0cbe21eb3 build: move openpilotgcs output under <top>/build/ground
This will allow us to create a simpler project file
for those that use the qt-creator gui.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2529 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:41:48 +00:00
stac
7195862d77 build: Move openpilotgcs into its own subdirectory
This will allow us to build a parent project for
qt-creator that sits above both openpilotgcs and
uavobjgenerator so that we can build both projects
at the same time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:40:26 +00:00
stac
b736b2a956 UAVObjects-java: move java output files into synthetic dir
Move generated Java UAVObject output into the common synthetic
tree for all UAVObject output.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2527 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:48 +00:00
stac
5e6d87b2db UAVObjects-xml: Move UAVObject definitions outside of gcs dir
The UAVObject definition (.xml) files are used by both the
GCS build as well as the flight software builds.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:43 +00:00
stac
205e09a8d1 uavobjgenerator: Move generator out of the gcs subdir
The UAVObject generator is intended to be a standalone tool.
As such, it doesn't belong under the openpilotgcs directory.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2525 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:37 +00:00
stac
51b1b2cfc2 AHRS: Make ahrs build depend on flight uavobjects
The OP<->AHRS comms code depends on the content
of a few of the uavobjects.  The AHRS build should
depend on the autogenerated uavobjects for flight.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2524 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:32 +00:00
stac
b3b98347ec UAVObjects-matlab: Move generated files into build dir
Also note that the command line option to the uavobjectgenerator
binary for matlab has changed from "mathlab" to "matlab".

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2523 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:30 +00:00
stac
f7a3cfc475 UAVObjects-python: Move generated files into build dir
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2522 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:26 +00:00
stac
ce64ea17a0 UAVObjects-gcs: Move generated files into build dir
Also fixes the include paths in the plugins tree.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2521 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:22 +00:00
stac
2d53902148 UAVObjects-flight: Move generated files into build dir
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:15 +00:00
cwabbott
dbcae23e07 Ground: fixed compile error in opmap plugin, and fixed problem with directory copy command.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2519 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 14:16:45 +00:00
edouard
7527811a25 OP-263 Re-enabled the logging widget controls. Not working perfectly, but not worse than before either... Will work on this in a separate ticket. This commit should close this issue.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2518 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 08:37:25 +00:00
pip
9da3ccc708 Includes example usage of the WorldMagModel module.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2517 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 20:49:51 +00:00
osnwt
06cb1da246 Deleted empty directories
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2516 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 19:27:59 +00:00
pip
b1ed3c0381 Added the WorldMagneticModel calculation module into the GCS utils.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2515 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 19:11:40 +00:00
sambas
434fac66fc OP-56: Logging autogenerate default filename
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2514 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 18:20:18 +00:00
zedamota
c803592aae Deleted deprecated folders (directories for the non Windows guys :))
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2513 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 18:12:08 +00:00
peabody124
11803c2729 OP-295 SystemTemp: Make int8 since some people live where it's too cold.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2512 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 17:24:27 +00:00
peabody124
bcdd87689a OP-295 Modules/SystemMod: Get the internal CPU temperature sensor and store in
system stats when available

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2511 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 17:18:24 +00:00
peabody124
65e02eeb25 OP-293 PIOS/ADC: Fixed issue with DMA engine and odd numbers of channels not
accounting for the fact they are transferred in pairs when using ADC2

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2510 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 17:18:20 +00:00
pip
ba0a089ad4 Fixed widget disabling/enabling when main telemetry connects/disconnects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2509 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 16:52:20 +00:00
pip
c8b495a5c2 Added telemetry connect/disconnect detection to move map to home location on connection.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2508 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 16:51:24 +00:00
pip
7bcdcee5ad Capitalised #define values
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2507 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 16:48:03 +00:00
pip
0d912d130d 3rd attempt to add files!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2506 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 13:09:04 +00:00
pip
aec73a209d 2nd attempting adding pipx config code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2505 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 13:05:38 +00:00
pip
21ea998327 Removing experimental code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2504 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 12:39:20 +00:00
pip
4b2d8078d5 Fixing a slight cock up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2503 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-21 12:38:06 +00:00