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

210 Commits

Author SHA1 Message Date
stac
1cc6981ee5 attitude: Remove seq field from uavobject
The sequence number field for the attitude solution is
likely unnecessary.  Removed.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1000 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:04 +00:00
sambas
1a7a9aa250 flight/osd: config write retry routine, my original empty config array.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@986 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-02 18:49:42 +00:00
sambas
aa1ddca8bf flight/osd: ET osd write config work, dump format also same as write array. use with caution
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@985 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-02 14:54:04 +00:00
dankers
e47f755c30 Minini removed from OpenPilot
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@965 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-01 08:57:06 +00:00
peabody124
6715565727 Make CODE_SOURCERY switch affect rm command
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@909 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-27 19:44:39 +00:00
FredericG
55f13788de FlightBatteryState Object : Made Voltage and Current fields float
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@895 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:59:11 +00:00
FredericG
8204143f9d MKSerial: Do not generate BatteryState as this is now generated by the battery-module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@894 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:31:27 +00:00
FredericG
302be3ee6f OSD: Send battery-current info to OSD. Consumed mAh is calculated by the OSD
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-26 10:27:10 +00:00
vassilis
c74eb2f0e9 OP-26 Flight/Stabilization First release of stabilization module. Tested using FlightGear, default tuning is for the HITL simulation. Works fairly well but a number of improvements can be made to aid tuning. The ManualControl settings must be first set as you would normally do for HITL simulation, flight mode is changed using the mode channel.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@887 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-25 02:28:16 +00:00
FredericG
6ef11148b5 First version of battery module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@882 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-24 11:10:43 +00:00
FredericG
6c40edccf2 ET OSD: WIP: dumping of config-blob to serial port
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@852 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 20:02:03 +00:00
FredericG
3bc938d45e lowered I2C timoout whne using RTOS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@842 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-21 09:19:02 +00:00
FredericG
d7390a07a5 MKSerial: use AUX port
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@840 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 18:08:41 +00:00
FredericG
fba5164634 Enable AUX UART with ENABLE_AUX_UART in Makefile
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@838 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-20 18:01:21 +00:00
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