David Sidrane
2d796f408d
Ran Astyle
10 years ago
David Sidrane
3f56892950
Merge branch 'uavcan_next' of https://github.com/PX4/Firmware into uavcan_next
10 years ago
David Sidrane
6155a1557f
Changes to build on latest uavcan master with FW upload and Node ID allocation
10 years ago
Lorenz Meier
44cf402c6f
FX79: Set better default values for airspeed and loiter radius
10 years ago
Lorenz Meier
1d58190bf9
Default altitude mode to first order hold (line between waypoints) and allow missions to be further away to still successfully start them
10 years ago
Lorenz Meier
75082f90ec
Final touchup on caipi mixer
10 years ago
Lorenz Meier
61a8e2e270
Caipi mixer improvements
10 years ago
Lorenz Meier
9ce7fe483a
Merge pull request #2272 from mcharleb/mavlink-cleanup
...
Removed unused file mavlink_main_posix.cpp
10 years ago
Lorenz Meier
39b0100138
Merge pull request #2271 from mcharleb/param-union-fix
...
remove long long from union param_value_u
10 years ago
Lorenz Meier
fe82b412f6
Merge pull request #2269 from mcharleb/uorb-posix-fix
...
Created px4_access to handle check of virtual files
10 years ago
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>
10 years ago
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>
10 years ago
David Sidrane
d720a42a35
Changes to build on latest uavcan master with FW upload and Node ID allocation
10 years ago
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>
10 years ago
Lorenz Meier
3dbd48fbad
param style fix
10 years ago
David Sidrane
03bdf1e5f2
Allow allocation of changed paramaters to fail, then all param functions will return PARAM_INVALID or a count of 0
10 years ago
David Sidrane
bcb3529490
Added confitional definition
10 years ago
David Sidrane
9d055ef95b
Added ASSERT macro that mimic Nuttx but uses the system assert
10 years ago
David Sidrane
7950167bc5
Added assertion on allocation failure for parameter change storage, removed magic numbers
10 years ago
Lorenz Meier
cf2d66bd81
Merge pull request #2268 from mcharleb/hrt_queue-fixes
...
Hrt queue fixes
10 years ago
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>
10 years ago
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>
10 years ago
Mark Charlebois
325e063f18
POSIX: fixes for gcc
...
GCC complains about strict prototypes.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
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>
10 years ago
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>
10 years ago
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>
10 years ago
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>
10 years ago
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>
10 years ago
Lorenz Meier
9882b78383
Merge pull request #2248 from mcharleb/gyrosim-fix
...
Gyrosim: Fixed constant looping
10 years ago
Lorenz Meier
9ad9dd13d2
Merge pull request #2252 from UAVenture/param_meta_fix
...
Fix group for posctl_th
10 years ago
Lorenz Meier
00fc4b5f13
Merge pull request #2256 from mcharleb/fixes-for-gcc
...
Fixes for gcc 4.8
10 years ago
Lorenz Meier
e32c00be67
Merge pull request #2261 from PX4/navigator_port
...
Navigator port
10 years ago
Luis Rodrigues
f3b392513d
fixed timming issued in I2C whoami communication
10 years ago
Lorenz Meier
6a35887f54
Merge pull request #2260 from Terabee/master
...
fixed timming issued in I2C whoami communication
10 years ago
Lorenz Meier
c49f902635
Merge pull request #2263 from tumbili/linux_param_loading
...
use open/close instead of px4_open/px4_close for parameter file
10 years ago
Lorenz Meier
f54080bd43
Merge pull request #2226 from rmackay9/orig-precland6
...
Driver for the IR Lock vision sensor (derivative of the Pixy vision sensor)
10 years ago
Roman
7331ea32ef
make navigator work for posix
10 years ago
tumbili
f4a25097c1
use open/close instead of px4_open/px4_close for parameter file
10 years ago
Roman
b688e3b97c
remove unnecessary parenthesis
10 years ago
Roman
9ff89ffe5c
use PX4_ISFINITE
10 years ago
Roman
64e8419ab0
remove suffix for double
10 years ago
Roman
6bc0d4d03b
add definition of MAX_RAND
10 years ago
Roman
e6ec33787f
build navigator and controllib for posix
10 years ago
Luis Rodrigues
70bfb42956
fixed timming issued in I2C whoami communication
10 years ago
Lorenz Meier
db3ac5f3ac
commander: Compile fix
10 years ago
Lorenz Meier
164a1178b8
commander: Be more verbose about low battery warnings, do not trigger low battery warning sound in HIL
10 years ago
tumbili
134c7d87b8
do not run fw attitude controller when in rotary wing mode (VTOL)
10 years ago
Lorenz Meier
7cde53597c
Merge pull request #2257 from mcharleb/px4_poll-fix
...
px4_poll fix - was sleeping for usec instead of ms
10 years ago
Mark Charlebois
6343b2c56f
px4_poll fix - was sleeping for usec instead of ms
...
There was a conversion error in the timeout (in ms)
passed in and the ts.tv_nsec field of the struct timeval.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago
Mark Charlebois
ca88251124
Fixes for gcc 4.8
...
The use of a non-static function without a declaration generates a
warning for gcc 4.8.
Clang-3.4 does not work when compiling for gprof. The executable always
generates a segv.
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
10 years ago