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

5517 Commits

Author SHA1 Message Date
Werner Backes
56108b5381 Introduced GPSVelocity UAVObject 2012-04-09 22:59:38 +02:00
Brian Webb
3914d22b09 Turned off watchdog timer, which was crashing on real PipX. 2012-04-07 19:56:12 -07:00
Brian Webb
e639d173a0 Create ID from a hashed CPU serial number. 2012-04-07 19:41:23 -07:00
Brian Webb
d39e89a096 Reverted erroneous checkin of firmware-defs.mk 2012-04-07 19:16:50 -07:00
Brian Webb
7b49a6b820 Added watchdog to radio com bridge in PipXtreme. 2012-04-07 19:12:49 -07:00
Brian Webb
f4d886de75 Added support for determining when the radio->com link is between UAVTalk packets. This is required to inject UAVTalk messages into the message stream. 2012-04-07 18:17:57 -07:00
Brian Webb
0f9f897870 Added PPM packet to packet handler, created replacement system module for PipXtreme (PipXtreme module), removed all UAVObjects from PipXtreme, and added parsing of incoming (over USB/COM) UAVTalk stream. 2012-04-07 18:17:32 -07:00
James Cotton
414e62f14e Revert "Disable baro updates into INSGPS for now. Seems to cause issues."
This reverts commit 04591309770679e7b01c53a6cb54cac1c043f8b6.
2012-04-07 00:58:36 -05:00
James Cotton
fcb9193d25 Disable baro updates into INSGPS for now. Seems to cause issues. 2012-04-07 00:58:36 -05:00
James Cotton
aa6c8a451d Shrink some stack sizes 2012-04-07 00:58:36 -05:00
James Cotton
81fcfd45c4 Some work on the code to initialize the INSGPS and allow setting the variance
of the baro
2012-04-07 00:37:42 -05:00
Brian Webb
56a2006fd8 Reconfigured to run on the real PipX board. 2012-04-06 18:44:31 -07:00
Brian Webb
fb47537d8b Merge remote-tracking branch 'raid/Brian-PipXtreme-V2' into Brian-PipXtreme-V2 2012-04-06 17:44:18 -07:00
Brian Webb
eeb96955f9 Fixed ADC configuration 2012-04-06 17:43:43 -07:00
Brian Webb
253de47967 Merge remote-tracking branch 'raid/Brian-PipXtreme-V2' into Brian-PipXtreme-V2 2012-04-06 17:37:31 -07:00
Brian Webb
bc1adb2519 Some cleanup of rfm22 driver. 2012-04-06 17:36:35 -07:00
Brian Webb
16c9c145ff Merge remote-tracking branch 'origin/Brian-PipXtreme-V2' into Brian-PipXtreme-V2 2012-04-06 17:34:46 -07:00
James Cotton
345b6578b1 Fix a possible race condition for complimentary filter on L3GD20 attitude
estimation where the accel queue wouldn't immediately have data available.
Added 1 ms timeout on queue.
2012-04-06 13:59:12 -05:00
James Cotton
e60c70251f Slow down update rate for the altitude hold smoothed EKF 2012-04-06 13:58:46 -05:00
James Cotton
6c004678d5 Need a really big telemetry queue size on revo for object manager not to choke.
Probably should slow down how quickly AltHoldSmoothed is set.
2012-04-06 13:22:30 -05:00
James Cotton
ea13536da0 Take quidance settings from simulation and make the INSGPS pick up the GPS
noise from a setting.
2012-04-06 12:59:49 -05:00
Brian Webb
998cc5c022 Merge remote-tracking branch 'origin/next' into Brian-PipXtreme-V2 2012-04-05 20:25:23 -07:00
Brian Webb
fff93910e2 RFM22B device now fully interrupt driven. Packet handeling moved to RadioComBridge module. 2012-04-05 20:24:50 -07:00
Brian Webb
6911ecb4d8 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into Brian-Metadata-Mods 2012-04-05 18:51:10 -07:00
Brian Webb
5542d7c995 Updated configvehicletypewidget.cpp with metadata mods. 2012-04-05 18:50:47 -07:00
James Cotton
3071f77d59 Add Baro offset to the simulation 2012-04-03 10:58:48 -05:00
James Cotton
ebb78ad7f0 Forgot to check in the attitude simulated xml 2012-04-03 09:19:46 -05:00
James Cotton
33874402ea Store the mag node in the viewer widget 2012-04-03 09:17:56 -05:00
James Cotton
f4bd5a1c71 Add a camera tracker mode (on by default) and make the rotation apply in the
right coordinate system.
2012-04-03 09:17:56 -05:00
James Cotton
49d37a8382 Get rid of annoying black box around border of screen and use multithreading
for rendering.
2012-04-03 09:17:56 -05:00
James Cotton
86ac80e2f2 Add form to the OsgEarthView widget 2012-04-03 09:17:56 -05:00
James Cotton
c8d5a61316 Move the OSG logic into a standalone gadget instead of the widget gadget. This
will allow using the UI forms.  Fixed the issues with requiring a popout.  Also
the osgEarth takes LLA in the order long, lat, alt whereas our code takes lat,
long, alt.  This was causing the NED frame to be rotated 90 degrees.
2012-04-03 09:17:56 -05:00
James Cotton
e804de0a7a Get the attitude in there although there might be some convention problems on
the rotation
2012-04-03 09:17:56 -05:00
James Cotton
b2b44bd23b Render the model in earth 2012-04-03 09:17:56 -05:00
James Cotton
19111dacd2 Get the Osg Earth View plugin stub working 2012-04-03 09:17:55 -05:00
James Cotton
b67a74a400 Import stub for the Osg Earthview Plugin 2012-04-03 09:17:55 -05:00
James Cotton
c988685293 Simulate GPS noise drift 2012-04-03 09:17:55 -05:00
James Cotton
f491c924d6 Start updating the OSX UDP simulation to use a separate thread for receiving
but it needs two - one as a task (where the com callback occurs) and another
for the physical process stuff that doesn't need to suspend (like teh TCP
thread does)
2012-04-03 09:17:55 -05:00
James Cotton
5d0e513678 Fix small deg/rad issue in generating gps data 2012-04-03 09:17:55 -05:00
James Cotton
df6bc4deff Enable guidance on simulation and add wind model 2012-04-03 09:16:31 -05:00
James Cotton
fdfaac6559 More tweaks to OSX simulator 2012-04-03 09:16:31 -05:00
James Cotton
ca535c2632 Fix bugs in simulated sensor data. Now works well with INSGPS. 2012-04-03 09:16:31 -05:00
James Cotton
84040d25b4 Add attitudesimulated object to capture the simulated state 2012-04-03 09:16:30 -05:00
James Cotton
09ce6e1ab4 Restore the original Revolution FreeRTOSConfig and make the osx simulation
scheduler not start high priority tasks when they are created because I can't
reliably get the starting task to stop (because currently in a swapping mutex I
think).
2012-04-03 09:16:30 -05:00
James Cotton
6df9691609 Bring back the original module files and remove comments from FreeRTOS
debugging
2012-04-03 09:16:30 -05:00
James Cotton
82a2987b2c More improvements to the osx simulation FreeRTOS port. Only tick the tick
handler when we have confirmed the running thread has halted.  This is more
like what would happen on a single core machine.
2012-04-03 09:16:30 -05:00
James Cotton
543500ed78 Improve the simulated sensors to produce (I think) consistent data now 2012-04-03 09:16:30 -05:00
James Cotton
0b342ea3d6 Changing the tick counter to only happen after current thread is suspended
seems to fix stability issues
2012-04-03 09:16:30 -05:00
James Cotton
fbd8695d7d Check in WIP for osx simulation 2012-04-03 09:16:30 -05:00
James Cotton
c1726e30e5 Make pios_tcp uses two threads - one for the socket stuff and another within
FreeRTOS to receive the data.
2012-04-03 09:16:30 -05:00