Kyle Manna
c593451e5d
Tools: Convert Python 2 syntax to Python 3 compatible
...
* The `print """` syntax appears invalid in Python 3 which is the
default for the Python binary on my system (and soon many more).
* Convert the file (using `2to3`) to a version that's compatible with
Python 2 and Python 3.
* Tested against Python 2.7.10 and 3.4.3.
2015-06-11 00:07:54 -07:00
Lorenz Meier
a0a432fa4e
Merge pull request #2303 from tumbili/mixer_yaw_fix
...
allow to give away some thrust for yaw control
2015-06-08 16:42:14 +02:00
tumbili
b571d70488
allow to give away some thrust for yaw control
2015-06-08 16:04:42 +02:00
Lorenz Meier
68c062d1c8
Merge pull request #2302 from dagar/mixers_readme
...
fix mixers README.md
2015-06-08 09:12:02 +02:00
Daniel Agar
a7d7c69a79
fix mixers README.md
...
-the angle brackets in the tag descriptions were breaking the markdown
2015-06-07 21:37:07 -04:00
Pavel Kirienko
2c61ec6819
UAVCAN update, fixes compilation warning on GCC 4.7 (see #2294 )
2015-06-07 00:10:53 +03:00
Lorenz Meier
c92655b850
Merge pull request #2288 from UAVenture/qu4d_tuning
...
Correct the QU4D yaw gains to flyable values.
2015-06-05 22:44:41 +02:00
Simon Wilks
f3e28bb361
Correct the yaw gains to flyable values.
2015-06-05 21:45:34 +02:00
Lorenz Meier
b1e462383d
Merge pull request #2270 from PX4/uavcan_next
...
Changes to build on latest uavcan master with FW upload and Node ID
2015-06-05 01:39:25 +02:00
Lorenz Meier
b9e8fd550a
Merge pull request #2258 from tumbili/VTOL_fix
...
do not run fw attitude controller when in rotary wing mode (VTOL)
2015-06-04 21:08:58 +02:00
David Sidrane
2d796f408d
Ran Astyle
2015-06-04 03:27:40 -10:00
David Sidrane
3f56892950
Merge branch 'uavcan_next' of https://github.com/PX4/Firmware into uavcan_next
2015-06-04 03:25:43 -10:00
David Sidrane
6155a1557f
Changes to build on latest uavcan master with FW upload and Node ID allocation
2015-06-04 02:37:59 -10:00
Lorenz Meier
9ce7fe483a
Merge pull request #2272 from mcharleb/mavlink-cleanup
...
Removed unused file mavlink_main_posix.cpp
2015-06-04 08:43:46 +02:00
Lorenz Meier
39b0100138
Merge pull request #2271 from mcharleb/param-union-fix
...
remove long long from union param_value_u
2015-06-04 08:43:14 +02:00
Lorenz Meier
fe82b412f6
Merge pull request #2269 from mcharleb/uorb-posix-fix
...
Created px4_access to handle check of virtual files
2015-06-04 08:39:56 +02:00
Mark Charlebois
4d8061b22c
Removed unused file mavlink_main_posix.cpp
...
The posix and nuttx changed were re-integrated back into mavlink_main.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-03 21:05:03 -07:00
Mark Charlebois
7c00bf11fd
remove long long from union param_value_u
...
The long long was mistakenly added when debugging an alignment issue
on x86_64.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-03 21:00:40 -07:00
David Sidrane
d720a42a35
Changes to build on latest uavcan master with FW upload and Node ID allocation
2015-06-03 13:47:36 -10:00
Mark Charlebois
f985a48fbc
Created px4_access to handle check of virtual files
...
uORBManager_posix.cpp did a stat to see if a file exists but the
file is actually a virtual file. Using stat was incorrect because
it required a stat buffer that was never used. The POSIX access
function is a better choice so I created a px4_access version to
handle virtual files.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-03 16:22:14 -07:00
Lorenz Meier
3dbd48fbad
param style fix
2015-06-03 22:51:02 +02:00
David Sidrane
03bdf1e5f2
Allow allocation of changed paramaters to fail, then all param functions will return PARAM_INVALID or a count of 0
2015-06-03 22:49:57 +02:00
David Sidrane
bcb3529490
Added confitional definition
2015-06-03 22:49:57 +02:00
David Sidrane
9d055ef95b
Added ASSERT macro that mimic Nuttx but uses the system assert
2015-06-03 22:49:57 +02:00
David Sidrane
7950167bc5
Added assertion on allocation failure for parameter change storage, removed magic numbers
2015-06-03 22:49:57 +02:00
Lorenz Meier
cf2d66bd81
Merge pull request #2268 from mcharleb/hrt_queue-fixes
...
Hrt queue fixes
2015-06-03 21:48:04 +02:00
Mark Charlebois
f763c4cc0e
POSIX: fixed type used in USEC2TICKS
...
The macro was using a constant defined as a long instead on an
unsigned long. Made corresponsing changes to barosim.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-03 11:49:28 -07:00
Mark Charlebois
122c52c731
POSIX: Fixes for ARMv7 build
...
uint64_t needs to use PRIu64 in printf.
Clang-3.5 found an error is variable types for a compare.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:39 +00:00
Mark Charlebois
325e063f18
POSIX: fixes for gcc
...
GCC complains about strict prototypes.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:39 +00:00
Mark Charlebois
af45954690
POSIX: hrt_work_lock.h to hrt_work.h
...
The header file now contains all hrt workqueue related prototypes.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:38 +00:00
Mark Charlebois
6fd612a218
POSIX: fixed function prototype
...
Function was changed to be void but prototype was not updated
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:38 +00:00
Mark Charlebois
b4152f3daa
POSIX: Fixed output for list_topics, list_devices, etc
...
Removed extra carriage returns in output strings
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:37 +00:00
Mark Charlebois
5e95b83eff
POSIX: Fixes for HRT implementation of simulated HW clock polling
...
There is a race condition for the accel and mag polling rates.
Whichever one gets set first, the other will be uninitialized.
Set the mag polling rate to 1ms if uninitilized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:34 +00:00
Mark Charlebois
cced8ed69e
POSIX: added hrt_queue for handling fast periodic events
...
The workqueues measure time in ticks which is typically 10ms.
Some interrupt events in Nuttx occur at about 1ms so a more
granular workqueue is needed for POSIX.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-02 16:55:33 +00:00
Lorenz Meier
9882b78383
Merge pull request #2248 from mcharleb/gyrosim-fix
...
Gyrosim: Fixed constant looping
2015-06-02 01:40:49 -07:00
Lorenz Meier
9ad9dd13d2
Merge pull request #2252 from UAVenture/param_meta_fix
...
Fix group for posctl_th
2015-06-02 01:36:25 -07:00
Lorenz Meier
00fc4b5f13
Merge pull request #2256 from mcharleb/fixes-for-gcc
...
Fixes for gcc 4.8
2015-06-02 01:35:20 -07:00
Lorenz Meier
e32c00be67
Merge pull request #2261 from PX4/navigator_port
...
Navigator port
2015-06-02 01:34:26 -07:00
Lorenz Meier
6a35887f54
Merge pull request #2260 from Terabee/master
...
fixed timming issued in I2C whoami communication
2015-06-02 01:32:47 -07:00
Lorenz Meier
c49f902635
Merge pull request #2263 from tumbili/linux_param_loading
...
use open/close instead of px4_open/px4_close for parameter file
2015-06-02 01:32:01 -07:00
Lorenz Meier
f54080bd43
Merge pull request #2226 from rmackay9/orig-precland6
...
Driver for the IR Lock vision sensor (derivative of the Pixy vision sensor)
2015-06-02 01:31:01 -07:00
Roman
7331ea32ef
make navigator work for posix
2015-06-01 23:40:20 +02:00
tumbili
f4a25097c1
use open/close instead of px4_open/px4_close for parameter file
2015-06-01 23:01:48 +02:00
Roman
b688e3b97c
remove unnecessary parenthesis
2015-06-01 11:17:40 +02:00
Roman
9ff89ffe5c
use PX4_ISFINITE
2015-06-01 11:16:32 +02:00
Roman
64e8419ab0
remove suffix for double
2015-06-01 11:15:56 +02:00
Roman
6bc0d4d03b
add definition of MAX_RAND
2015-06-01 11:14:45 +02:00
Roman
e6ec33787f
build navigator and controllib for posix
2015-06-01 11:12:59 +02:00
Luis Rodrigues
70bfb42956
fixed timming issued in I2C whoami communication
2015-05-31 21:09:21 +02:00
tumbili
134c7d87b8
do not run fw attitude controller when in rotary wing mode (VTOL)
2015-05-30 15:39:37 +02:00