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

38 Commits

Author SHA1 Message Date
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
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
406b5a00f5 Make OSX simulator more efficient 2012-05-08 03:12:35 -05:00
James Cotton
c723ae3720 Reduce the CPU usage of OSX simuluator 2012-05-08 02:29:58 -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
fdfaac6559 More tweaks to OSX simulator 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
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
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
James Cotton
75262b400a More osx simulation work 2012-04-03 09:16:29 -05:00
James Cotton
da294384b6 Getting closer on osx simulation 2012-04-03 09:16:29 -05:00
James Cotton
a2bc7b8668 Osx Simulator Not running quickly but at least it's staying up 2012-04-03 09:16:29 -05:00
James Cotton
adad006530 More work on OSX simulation 2012-04-03 09:16:29 -05:00
James Cotton
99e246f151 More of the 7.0 files for OSX simulation 2012-04-03 09:16:29 -05:00
James Cotton
356802b5ac Update to FreeRTOS 7 for OSX sim 2012-04-03 09:16:28 -05:00
James Cotton
0d3a6d94d8 Delete some old files 2012-04-03 09:16:28 -05:00
James Cotton
491df5d130 Small update to the osx wdg 2012-04-03 09:16:28 -05:00
James Cotton
51f0c3453b More work on osx simulation engine 2012-04-03 09:16:28 -05:00
James Cotton
3c0b65fbf8 Implement a simulated watchdog to catch when the chip would have reboot 2012-04-03 09:16:28 -05:00
James Cotton
9d5dbe4bfe Create stub for TCP connection of simulation 2012-04-03 09:16:28 -05:00
James Cotton
6aa1f1e344 Had some debugging outputs (logged to file) still enabled 2012-04-03 09:16:28 -05:00
James Cotton
ce54c4205d Disable a print from the port that was causing rashes 2012-04-03 09:16:27 -05:00
James Cotton
6df2df6eec Get rid of the mutex when enabling/disabling soft IRQs. This isn't ideal but
it seems to be triggering deadlocks.
2012-04-03 09:16:27 -05:00
James Cotton
dee17f8fd4 Enable task run time monitoring in osx simulation 2012-04-03 09:16:27 -05:00
James Cotton
2391385788 Remove the pauase in the idle task. Increases load but also stability. 2012-04-03 09:16:27 -05:00
James Cotton
76bdd09795 Rename the pios_config file for simulation 2012-04-03 09:16:26 -05:00
James Cotton
1763d0c72c Switch to conditional signaling. Seems more robust. 2012-04-03 09:16:26 -05:00
James Cotton
f0e84088c1 Simulated LED now flashing. 2012-04-03 09:16:26 -05:00
James Cotton
5589ca60db Check in compilation files for OSX simulation. Update to work on revolution
tree.
2012-04-03 09:16:26 -05:00
James Cotton
ea5b733ac8 Fix the soft timing in pios_delay. Also disable LED printing messages. 2012-04-03 09:16:26 -05:00
James Cotton
dd5a71c48d Add watchdog flag for simulated sensor task 2012-04-03 09:16:25 -05:00
James Cotton
5fd569829c Need to use slightly different code to generate the InitMods.c function for
simulation because of the Attitude/Revolution format.
2012-04-03 09:16:25 -05:00
James Cotton
5901a07eb1 Switch to conditional signaling. Seems more robust. 2012-04-03 09:16:25 -05:00
James Cotton
99b81c7159 Simulated LED now flashing. 2012-04-03 09:16:25 -05:00
James Cotton
7ba32f8735 Check in compilation files for OSX simulation. Update to work on revolution
tree.
2012-04-03 09:16:24 -05:00