Commit Graph

116 Commits

Author SHA1 Message Date
korotkoves 1a992c2d02 fix code style for Travis 2016-05-13 13:24:30 +02:00
korotkoves 7f9ab9b7cb fix code style for Travis 2016-05-13 13:24:13 +02:00
korotkoves 22e3ce7d7a simulator udp port from command line 2016-05-13 13:23:20 +02:00
Lorenz Meier 755176b247 Sim compile fix 2016-05-06 19:22:18 +02:00
Lorenz Meier b883b30404 Simulator: Drain the battery to 15%, reffill it once disarmed to allow for more testing 2016-05-03 13:45:15 +02:00
Julian Oes 944acfaf75 simulator: change after perf_counter API change 2016-04-25 12:48:48 +02:00
Lorenz Meier 4beca408b9 Fix Jenkins build error 2016-04-23 16:59:40 +02:00
Lorenz Meier a49ba1a383 Sensors: Code style 2016-04-23 14:45:12 +02:00
Lorenz Meier 0733651d01 Simulator: Fix battery interface 2016-04-23 14:25:01 +02:00
Julian Oes 705979e3c7 simulator: use new battery systemlib 2016-04-11 18:01:47 +02:00
Lorenz Meier f5c3b349a8 MAVLink sim: Fix code style 2016-04-05 19:09:30 -07:00
Lorenz Meier 805439c0f2 Simulator fixes 2016-04-05 19:09:30 -07:00
Lorenz Meier 205650efd7 Simulator: Fix code style 2016-04-05 19:09:30 -07:00
Lorenz Meier 6ed99a2325 Remove debug output 2016-04-05 19:09:30 -07:00
Lorenz Meier 0baa625681 Adjustements and improvements in the simulation interface 2016-04-05 19:09:30 -07:00
Lorenz Meier 3cfb6ba4a7 Do not send unneeded NSH command any more 2016-04-05 19:09:29 -07:00
Lorenz Meier 155a0d7f18 Code style in MAVLink simulator 2016-03-12 11:06:51 +01:00
Lorenz Meier 8f46c07249 Sim: Do not drain the battery all the way to zero yet 2016-02-28 17:17:59 +01:00
Lorenz Meier c5b0650c23 Sim: Add batttery sim 2016-02-24 12:31:24 +01:00
Mark Charlebois 4c7ec2b0ff Reverted change to src/modules/simulator/simulator_mavlink.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois 014f15d8b0 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois a996b94c41 Reverted change to src/modules/simulator/simulator_mavlink.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois 9f3bf8e9f4 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Lorenz Meier ac788ad5dc MAVLink: Fix code style 2016-02-05 09:16:41 +01:00
Lorenz Meier 8e62c9eb8d Use delay API 2016-02-05 00:53:22 +01:00
tumbili f2e7d5ca77 simulator: support for standard vtol plane 2016-01-14 16:07:01 +01:00
Lorenz Meier 4907bf3374 Sim: Keep MAVLink parse status persistent, because that is the frickin state machine 2016-01-07 23:19:20 +01:00
Julian Oes 72dc4d3290 simulator: fix mavlink parsing of sim+RC stream
The mavlink stream from the simulator and the mavlink stream over serial
(used for RC input) both had the same MAVLINK_COMM channel and were
therefore sharing an internal buffer in mavlink_parse_char. This meant
that most (low rate) serial messages were getting swallowed by the high
rate simulator stream.

This change fixes the issue where RC input was not properly arriving in
Gazebo, however it breaks the `commander takeoff` command in SITL which
needs to be investigated.
2016-01-07 23:08:32 +01:00
Lorenz Meier 62763904f2 Simulator: Add performance counter for incoming packet interval 2015-12-29 17:12:29 +01:00
Lorenz Meier 5dc4ea8146 Sim: minor cleanups 2015-12-29 14:17:59 +01:00
Lorenz Meier 988ff59103 Fix simulator PWM range 2015-12-14 16:16:25 +00:00
tumbili 33f85a5024 fixed unused variable 2015-12-01 15:01:15 +01:00
Lorenz Meier 5f9da470bb Do not redefine GNU source in modules 2015-12-01 13:49:55 +01:00
Lorenz Meier 72e0664f1e Simulator: Add missing header 2015-12-01 13:41:33 +01:00
Lorenz Meier f57eff5433 Bump internal sim thread priority. Output warning if sim packets are spaced more than 10 ms apart, giving some hints what is at miss with the system 2015-12-01 13:02:17 +01:00
Lorenz Meier 247d7960b9 MAVLink sim: Code style 2015-12-01 12:43:38 +01:00
Lorenz Meier 1e99b04d9c Fixes in simulator interface 2015-12-01 12:32:22 +01:00
Lorenz Meier 58d5fdc853 Simulator: All app names are lowercase! 2015-12-01 12:01:31 +01:00
Lorenz Meier eb64a6813f Sim MAVLink: Return correct type, remove very uninformed comment 2015-12-01 12:01:10 +01:00
Lorenz Meier c1a2d19459 MAVLink Sim: Use time delta 2015-11-25 11:13:32 +01:00
Lorenz Meier bd4497f883 Simulator: Add performance counters for delay 2015-11-24 14:23:59 +01:00
Lorenz Meier 07df1be841 Simulator buffer: Ensure we do not become limited on message size 2015-11-22 12:25:01 +01:00
Lorenz Meier 75e962ee7c Merged master into driver_framework 2015-11-20 09:14:37 +01:00
tumbili 354e623318 support for vtol simulation 2015-11-18 16:11:10 +01:00
Mark Charlebois 3f20d78dfe Fixed code style
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 14:01:39 -08:00
Mark Charlebois dbe3b0e52b Re-enabling code to handle DF framework
Updated to latest DriverFramework and changed ioctl args to
unsigned int from void *.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-16 13:51:39 -08:00
jgoppert ca5a2d1fca Fixed some sitl init bugs. 2015-11-07 11:49:06 -05:00
Lorenz Meier 8421742906 Add Gazebo submodule as simulator dependency 2015-10-25 18:25:53 +01:00
Lorenz Meier 87ea6f54b7 MAVLink simulator: Update code style 2015-10-19 13:52:29 +02:00
Daniel Agar 4151522902 only enforce frame size for nuttx 2015-10-06 23:37:33 -04:00