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

196 Commits

Author SHA1 Message Date
FredericG
e5c795e42b Remapped UART_AUX from PA9/10 (RX inputs) to PB6/7 (Servo output)
Rationale: (http://forums.openpilot.org/topic/800-rev-761-mkserial-adapt-to-com-usartx-pios-com-x/page__view__findpost__p__2203_)
  

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@836 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 17:48:59 +00:00
FredericG
eac1d8a06b No need to include telemetry.h in openpilot.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@835 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 17:43:00 +00:00
FredericG
524201d3b6 MKSerial: Complete PositionActual Obj
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@818 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 11:04:49 +00:00
FredericG
ceadcf49a0 OSD: Also use PositionActual object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@817 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-19 11:02:43 +00:00
dankers
69d2c1b546 Add flightbatterystate to the GCS, ran uavobjgenerator on all XML files. .cpp and .h included for GCS now, uncommented out these files from the uavobjects.pro.
Moving sounds folder to shared. Some sounds will be uploaded later.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 10:06:51 +00:00
fredericg
369657d52e FlightBatteryState object changed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@786 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 13:41:10 +00:00
fredericg
23b2771602 OP makefile, traces under dos did not work well
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@785 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-16 13:38:49 +00:00
FredericG
e3815bf8b8 OSD: start displaying real data WIP
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@765 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 16:50:01 +00:00
vassilis
106bdca20e Flight/Actuator Go to failsafe actuator outputs when a command is not received
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@763 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-14 02:00:16 +00:00
fredericg
0731747d84 new object: FlightBatteryState
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@762 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 17:21:31 +00:00
fredericg
4e15413fc9 MkSerial, adapt to COM_USARTX => PIOS_COM_X
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@761 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 11:18:42 +00:00
stac
771a56ca9d com/usart: generalize com driver API
- Created a pluggable COM layer
- Converted COM + USART init into static initializers
  rather than typedefs
- Generalized the USB HID COM API to match the USART
  API.
- Changed USART and COM layers to be data driven rather
  than #ifdef'ing/switching on the specifics of each port

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@760 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:24:26 +00:00
stac
8d015a57d0 pios spi: support both master and slave configs
Added support for SPI slave configurations to the pios SPI layer.

Converted the board specific configuration for the PIOS SPI layer to
use const static initializers rather than #defines (see pios_board.c).

SPI interface between the OP board and the AHRS is now operational at
a basic level, capable of moving simple single byte messages between
boards.  Multi-byte, CRC protected messages will be added on top of this.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@759 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:23:44 +00:00
stac
90f9e6d309 openocd: support OP and AHRS at the same time
Split the floss-jtag.cfg file into separate versions
for OP and AHRS.

Push AHRS onto non-default ports for gdb, tcl and
telnet.

Update the AHRS gdb setup script to point at the new
gdb port.

Add (commented out) example sytax to support distinguishing
between multiple floss-jtag boards that don't have serial
numbers.  Uses the usb bus address of each device as the
selector.  See this patch posted to the openocd mailing list
for how to add this functionality to openocd:
  http://lists.berlios.de/pipermail/openocd-development/2010-June/015785.html

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@755 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-13 04:22:30 +00:00
FredericG
f8b793e54d ET OSD, WIP. Encoding of voltage and GPS data is now known
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@750 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-12 17:44:24 +00:00
fredericg
39aaf0868a MkSerial: Adapt to GpsPosition => ActualPosition
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@744 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-11 15:54:13 +00:00
vassilis
b6160c8a9b Flight/Telemetry Avoid bunching of periodic updates by spreading them.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@739 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-11 02:24:26 +00:00
vassilis
eaa9d97939 Flight/GPS Renamed GPSObject to PositionActual and implemented field for GPS status (NoGPS, NoFix, Fix2D and Fix3D)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@734 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 01:28:06 +00:00
FredericG
5472d531e7 Starting OSD module for ET OSD Std
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@732 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-09 20:43:43 +00:00
fredericg
e550243c13 Removed unwanted quotes in build-output when building under windows/dos
before
  "**** Compiling C :" ../PiOS/STM32F10x/pios_sys.c "->" Build/pios_sys.o
after
  **** Compiling C : ../PiOS/STM32F10x/pios_sys.c -> Build/pios_sys.o

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@731 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-09 16:38:10 +00:00
FredericG
2895925bd2 Small fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@726 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-07 19:56:42 +00:00
fredericg
426b4344b0 Detect if connected to NaviCtrl or FlightCtrl and use appropriate messages - untested
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@725 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-07 14:50:48 +00:00
fredericg
2e6e2537f5 Fix: including of Example Module did not work any more
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@724 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-07 11:12:58 +00:00
fredericg
ef73edfd0d Detect of quotes are needed and use quotes in echo-commands while generating InitMods.c
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@723 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-06 16:21:21 +00:00
FredericG
db629cebc5 Some cleanup
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@717 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 15:32:57 +00:00
FredericG
8a7eba0675 List of modules in Makefile - Automatic init of included modules
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@716 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 15:17:31 +00:00
FredericG
7476aa61b9 Fixes: TO did not work / values need to be signed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@712 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 19:57:58 +00:00
fredericg
f8f2c3b5d2 Timeout detection in WaitForMsg
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@711 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 16:31:48 +00:00
stac
e2721136ae GPS: fix buffer overrun in nmeaProcess()
nmeaProcess was attempting to null-terminate the
NMEA sentence but was not considering that the
preceeding loop may have looped beyond the end
of the packet buffer.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@709 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 13:58:18 +00:00
fredericg
6577dce1d5 Report attitude obj
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@707 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-03 11:32:02 +00:00
fredericg
59250845ea MKSerial: composing messages
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@703 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 19:44:57 +00:00
FredericG
4d227cd8b6 MKSerial: print attitude
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@702 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-02 06:57:41 +00:00
fredericg
17f6646f6e Simplified the way test-applications can be built
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@693 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-31 16:22:10 +00:00
sambas
c53aa219d5 OP-25 Flight/GPS: Speed from knots to m/s
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@691 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 18:09:37 +00:00
fredericg
0fc8240b12 Display incoming messages - untested
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@688 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 13:28:53 +00:00
sambas
4f4391708e OP-25 Flight/GPS: Heading and GroundSpeed used, speed in knots?
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@687 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 06:31:58 +00:00
vassilis
6414887dcc Flight/ManualControl Added support for reversing inputs
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@685 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:58:15 +00:00
vassilis
c22804e90a Flight/UAVObjects Modify update rate and acked flag of periodic objects, added new gpsobject fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@684 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-30 01:56:43 +00:00
fredericg
dc2e7a041a Moved MKSerial to Modules/MK dir
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-27 10:30:39 +00:00
sambas
ebff9f3638 OP-25 Flight/GPS: New GPS fields in use
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@665 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 05:32:43 +00:00
sambas
f7f1b37c62 OP-25 Flight/GPS: More object fields for GPS module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 05:14:52 +00:00
vassilis
9be49ca54d Flight/Attitude Minor change in field names and task priority
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@662 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-25 00:49:46 +00:00
sambas
ec40618664 OP-25 Flight/GPS: Optimized GPS, buffer overflow fixed, RMC sentence handler
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@660 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 19:49:37 +00:00
stac
d678720855 i2c: i2c errors no longer mapped to event channel
Both EVents and ERrors were mistakenly being mapped to the
EVent IRQ channel.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@659 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:49 +00:00
stac
874239154a Turn on -Werror on openpilot firmware build
This commit fixes all existing warnings.

All basic compiler warnings will now be treated as errors.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@658 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:46 +00:00
stac
6b2760da1a USB HID: basic COM functionality over USB HID
This fixes the COM interface over USB HID to the point where
it can establish and maintain solid communications with the UAVObject
Browser in the GCS.

Tested only on Linux.  The USB HID interface is still disabled for now
until it is tested successfully by a wider group.

Edit telemetry.c and set ALLOW_HID_TELEMETRY to 1 to enable telemetry
over the USB HID interface and report your results in the forum.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:40 +00:00
stac
69de42db49 Add AHRS attitude module and driver skeletons
- New Attitude module for AHRS (skeleton)
 - New AttitudeSettings UAVobject
 - New AttitudeActual UAVobject
 - Regenerated UAVobjects
 - Added new UAVobjects to OpenPilot and GCS builds
 - New PiOS driver for OpenPilot AHRS (stubs only)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@655 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:36 +00:00
stac
cc6348934f bmp085: Add missing include for altitude module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@653 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:29 +00:00
FredericG
0723ff8b75 Started new module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@650 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-23 19:01:07 +00:00
FredericG
6f0401b0d9 insignificant changes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@648 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-22 06:38:05 +00:00