James Cotton
70a6bf539b
Fix simulation implementation of pios_rcvr to match channel mappings in real
...
firmware
2012-06-04 10:30:44 -05:00
James Cotton
b11b606ddc
Fix RTH mode. Now works in simulation when GCSReceiver goes invalid.
...
There is a small issue that when it is in RTH failsafe mode and you regain
signal and your throttle is low you will disarm due to the timeout. That
means you'd suddenly get it back and plumet ouf of the sky. If you are
still holding throttle (which most people might do?) you will have control.
The timeout needs to probably start when you regain signal.
2012-06-04 10:25:43 -05:00
James Cotton
9f93c9cbec
Get PIOS_GCSRCVR working on revo
2012-06-04 09:48:05 -05:00
James Cotton
dc7fe1bdd8
Try and get pios_gcsrcvr working on simulation and revo for testing RTH. Had
...
to include uavobjectmanager.h manually which was weird
2012-06-04 09:48:05 -05:00
James Cotton
10aa31a57f
When ManualControlSettings.FailsafeBehavior is set to RTH and no valid input is
...
detected and the aircraft is armed enter RTH mode.
2012-06-04 09:48:05 -05:00
James Cotton
21eb48c58c
Add a RTH flight mode and remove it from the waypoint actions as that is
...
redundant with flying to (0,0,0)
2012-06-03 22:14:11 -05:00
James Cotton
9707c6152a
Merge remote-tracking branch 'origin/Brian-PipXtreme-V2' into revo
2012-06-03 19:13:01 -05:00
James Cotton
71e14a691e
Merge branch 'next' into revo
2012-06-03 19:00:51 -05:00
Stacey Sheldon
434d89bd30
makefile: enable extra context when building multiple targets
...
Extra message context is also useful even when building more
than one target in the same invocation of make.
This example would enable extra context:
make fw_coptercontrol bl_coptercontrol
2012-06-03 18:25:23 -05:00
Stacey Sheldon
ec0889ea85
makefile: add additional context to output when building all_* targets
...
When building the various all_* targets, it was hard to tell which
board/build-type that each line of output applied to. Now, the
all_* target types will include something like:
CC [fw|cc ] flight/PiOS/STM32F10x/pios_gpio.c
which includes the necessary additional context.
This will help with identifying the context for warnings and errors
when building a group of targets.
2012-06-03 18:25:23 -05:00
Stacey Sheldon
fbb6df8ebf
makefile: pass short name (CC/PIPX/REVO) into sub-makes
2012-06-03 18:25:23 -05:00
Stacey Sheldon
34a4f159b2
makefile: pass build type (BL/FW/BU/EF) into sub-makes
2012-06-03 18:25:23 -05:00
Sambas
eb4f90f188
Check if Homelocation is set before calibration
2012-06-03 18:25:22 -05:00
Sambas
2ec8423334
Mag calibration, does this make any sense?
2012-06-03 18:25:22 -05:00
James Cotton
4d75718347
While change the util manager make a few other methods use static accessors.
2012-06-03 18:16:21 -05:00
James Cotton
2d80d59e93
Make the uavobjectutilmanager handle the error condition on saving and not
...
segfault when a save fails.
2012-06-03 17:41:51 -05:00
James Cotton
e341a37bd1
Need to add a small delay after save for the load to work correctly. Odd.
2012-06-03 17:26:10 -05:00
James Cotton
a3df27ab65
Need to call FLASH_OB_Launch after setting the BOR bits
2012-06-03 16:45:18 -05:00
Brian Webb
36f62be3b9
Fixed packet error detection and improved RSSI reading.
2012-06-03 10:07:08 -07:00
Corvus Corax
be72d24c5f
Attitude: Fixed calculation for baro offset adjustment time
2012-06-03 09:52:24 -05:00
Corvus Corax
b06b51f1b2
Revolution/Attitude: Added offset calculation for barometric altitude
2012-06-03 09:52:14 -05:00
James Cotton
96bd5ba574
Merge branch 'navigation_map' into revo
2012-06-03 09:48:28 -05:00
James Cotton
c892a28970
Fix firmware to work with new usage of the action waypoint field
2012-06-03 09:36:21 -05:00
James Cotton
e82621cbeb
Fix waypoint deletion
2012-06-02 18:40:55 -05:00
James Cotton
8aab4755e4
Try and cover a case that was making the waypointitem crash
2012-06-02 18:40:55 -05:00
James Cotton
0a842ac639
After deleting a waypoint (which really sets the last one to stop and shifts
...
the rest) any added waypoints were invisible. This puts the new one after the
first stop and removes the stop.
2012-06-02 18:40:54 -05:00
James Cotton
484057e9ae
Revert "Change waypoints to update on change"
...
This reverts commit 2e5c34b8efce01810f2da26c1b7b54a70e90daad.
2012-06-02 18:40:54 -05:00
James Cotton
3ac14fccb7
Change waypoints to update on change
2012-06-02 18:40:54 -05:00
James Cotton
39657af8db
More work on deleting waypoints
2012-06-02 18:40:54 -05:00
James Cotton
4ad23864c8
Treat the waypoint action as something to do once you hit that location. (e.g.
...
PathToNext) and add a Stop value to indicate not to advance to the next
waypoint. This is essentially a perament loiter to the pathfollower (I think)
but it's really just to have the ability to "delete" waypoints.
2012-06-02 18:40:53 -05:00
James Cotton
e686ac0b1d
Start adding the ability to delete a waypoint
2012-06-02 18:40:53 -05:00
James Cotton
64ba15cf07
Add the ability to add waypoints via OPMap
2012-06-02 18:40:53 -05:00
James Cotton
4e1044589f
Add a coordinate conversion method to go from LLA to NED
2012-06-02 18:40:52 -05:00
James Cotton
f7e0fc1065
Add a long comment describing pathcompiler and store the index for each
...
waypoint in their description.
2012-06-02 18:40:52 -05:00
James Cotton
7492c8fec8
UI Fix: Remove unnecessary spacer (that triggered a warning) from input page
2012-06-02 18:40:52 -05:00
James Cotton
6b662f9b9e
Connect OPMapGadget to the PathCompiler so any changes in UAVOs are reflected
...
on the map
2012-06-02 18:40:52 -05:00
James Cotton
e348a1a582
Get the waypoints from UAVO, format them into LLA and emit the signal
2012-06-02 18:40:49 -05:00
James Cotton
6f6fdbe3e4
Finish stubbing out the path compiler class.
2012-06-02 18:40:41 -05:00
James Cotton
0f526fe67e
Initial commit of pathcompiler stub
2012-06-02 18:40:19 -05:00
James Cotton
f3e3a2f16b
Enable waypoints on the map again
2012-06-02 18:40:01 -05:00
James Cotton
e8cf606f16
Add the chip size to the flashfs configuration (should probably go in the chip
...
configuration)
2012-06-02 11:00:42 -05:00
James Cotton
25f85ee4fe
Add an error flag to ObjectPersistence and when saving a setting make it verify
...
that the data reads successfully.
2012-06-02 10:23:27 -05:00
Brian Webb
4b75f720a8
Merge remote-tracking branch 'origin/next' into Brian-PipXtreme-V2
2012-06-01 18:04:27 -07:00
PT_Dreamer
ed92edc421
GCS - Should fix crashes when opening and closing settings page
2012-06-02 01:12:55 +01:00
Brian Webb
df8a5f8f27
Changed update period for PPM inputs on the PipX. Fixed LED code.
2012-05-31 18:56:07 -07:00
Brian Webb
8afc223855
Merge remote-tracking branch 'origin/next' into Brian-PipXtreme-V2
2012-05-31 06:45:10 -07:00
PT_Dreamer
ab78e1aca3
GCS - Make the welcome plugin use the workspace names instead
...
of the mode names.
2012-05-30 16:46:45 +01:00
James Cotton
ed2b9f1f63
Make PIOS_LED init it's GPIO clocks so it doesn't rely on startup code
2012-05-30 10:12:40 -05:00
James Cotton
c76c71cfce
No reason to init the board a second time
2012-05-30 09:50:05 -05:00
James Cotton
7c8cc94f5e
In the revo bootloader check that the BOR bits are set to 2.7 volt threshold.
...
This addresses an issue where a slow power ramp (e.g. some BEC) will stop it
booting.
2012-05-30 09:43:04 -05:00