Andreas Antener
9ec9210a08
fixed code style in standard.cpp
9 years ago
Roman
ac9a81c0c7
standard vtol pusher fix:
...
- pusher code now works with the new manual setpoint generation
9 years ago
Julian Oes
354b31e1b1
DF driver wrappers: astyle
9 years ago
Julian Oes
44207a3a5c
df_trone_wrapper: don't advertise garbage
9 years ago
Julian Oes
40d6a4e5fc
df_isl29501_wrapper: don't advertise garbage
9 years ago
Julian Oes
7c57696752
df_bmp280_wrapper: don't advertise garbage
9 years ago
Julian Oes
f56e951f00
land_detector: don't estimate freefall on 0 data
9 years ago
Julian Oes
b2719cf439
land_detector: publish when there is proper data
...
Instead of publishing before even having done update(), let's wait for a
result and then advertise.
9 years ago
Julian Oes
ba7d35d9d0
commander: fix convoluted auto disarm
9 years ago
Julian Oes
294c05d607
DriverFramework: update to latest master
9 years ago
Julian Oes
224b20b3e4
cmake_hexagon: updated submodule ( #4756 )
...
This contains the latest fixes for the SDK 3.0.
9 years ago
Beat Küng
d9267a4db5
pwm_out_sim.cpp: fix initialization of _control_subs
...
Note: {-1} initializes only the first element, and sets the others to 0.
9 years ago
Beat Küng
1be3c0fe48
mavlink_main.cpp: fix race conditions in 'mavlink stop-all'
...
This had multiple issues:
- linked list was modified while other instances were still running and
accessing it (the used linked list is NOT thread-safe).
- Mavlink instance was deleted, but it was still in the linked list, and
thus could still be dereferenced by other threads
- the instance was deleted, but it was still accessed by the 'stop-all'
calling thread
What we do now is:
- wait for all threads to exit
- then remove the instances from the linked list and delete them
9 years ago
Beat Küng
1f55e23827
fix resource leak in mavlink_main.cpp: close the socket
9 years ago
Beat Küng
d8fbd8a6f6
fix MavlinkOrbSubscription: use orb_unsubscribe instead of close()
9 years ago
Beat Küng
0eb22823a6
fix resource leak in MavlinkParametersManager: call orb_unsubscribe
9 years ago
Beat Küng
d0ffb1acb8
fix resource leak in MavlinkReceiver: call orb_unsubscribe
9 years ago
Beat Küng
dc3bd31e59
pwm_out_sim: fix orb handle == 0 is valid & use orb_unsubscribe instead of px4_close
9 years ago
James Goppert
9fedda43c6
Revert "Changed baro init count for LPE."
...
This reverts commit cefc00af39
.
9 years ago
James Goppert
cefc00af39
Changed baro init count for LPE.
9 years ago
James Goppert
97e6a57501
Add more GPS checks for LPE ( #4750 )
...
* Added more GPS checks for LPE.
* Add logic to force GPS alt init.
9 years ago
Beat Küng
c64b0d4573
logger: don't use system time for log file name if system time obviously wrong
9 years ago
Beat Küng
f5310ca51e
orb: avoid unnecessary string duplication of objname
9 years ago
Beat Küng
5125fc3a81
uORBDevices::SubscriberData: remove unused member poll_priv
9 years ago
Beat Küng
605f731ac4
logger: reduce maximum logged string length to 128 (use less memory)
9 years ago
Beat Küng
76d6ffd445
logger: use the defined interval for all multi-instances (& fix code style)
9 years ago
Beat Küng
e709048fb8
orb: add orb_get_interval to API
9 years ago
Beat Küng
0fb0f17ccb
logger: reduce memory usage, by limiting the nr of added topics to 64 (was 128)
9 years ago
Beat Küng
78d357cb0c
logger: free up ~200B stack size
...
we now use the already existing buffer for logging messages, which is
allocated on the heap.
In fact, stack usage was too high before this, now it's ok again.
9 years ago
Beat Küng
febe75bb12
logger: don't use uint8_t buffer[msg_size]; (it's C99 not C++)
...
Also, it's not clear where the allocation was. It looks like it was on
the heap, but the compiler could decide to put it on the stack. This is
very bad for us because we use fixed size stacks with tights bounds. So if
a user specifies a large topic to log, it could have crashed.
Now the allocation is on the heap and the user can specify any size of
topic to log (as long as there is enough memory).
9 years ago
Beat Küng
8ef493c82d
logger: use local time if orb_copy(vehicle_gps_position) fails for -t option
...
orb_copy can fail if there is no advertiser yet
9 years ago
Beat Küng
b51ec04938
logger: fix alignment issue in data message header
9 years ago
Lorenz Meier
64e5e565c2
Gazebo: Fix Tailsitter model
9 years ago
James Goppert
5ec7de3a5a
Make LPE est always log. ( #4749 )
...
This is a trivial change so I'm going to merge to help address edge cases in users logs.
9 years ago
Lorenz Meier
f9df60919e
Update submodule again
9 years ago
Lorenz Meier
ed0aad61d2
Updated SITL gazebo, fixes #4723
9 years ago
Lorenz Meier
66db577c7d
Tone down mavlink message
9 years ago
Lorenz Meier
c02214f745
Update RPI2 config
9 years ago
Lorenz Meier
93ef7ea4f6
posix-configs/eagle/hil
9 years ago
Lorenz Meier
44c222f6b7
Update Eagle flight config
9 years ago
Lorenz Meier
8a7fd9c889
Update 210qc config
9 years ago
Lorenz Meier
131a1613af
Update 200qx config
9 years ago
Lorenz Meier
6b97a9ece8
Update Bebop config
9 years ago
Lorenz Meier
b0d05c19bc
Update SITL config posix-configs/SITL/init/rcS_multiple_gazebo_iris
9 years ago
Lorenz Meier
6608c98192
Update SITL config posix-configs/SITL/init/rcS_lpe_jmavsim_iris
9 years ago
Lorenz Meier
53b1bbd49f
UPpdate SITL config posix-configs/SITL/init/rcS_lpe_gazebo_iris_opt_flow
9 years ago
Lorenz Meier
50f4a603e8
Update SITL config posix-configs/SITL/init/rcS_lpe_gazebo_iris
9 years ago
Lorenz Meier
17e28ceeb1
Update SITL config posix-configs/SITL/init/rcS_jmavsim_iris
9 years ago
Lorenz Meier
e5ba214f34
Update SITL config posix-configs/SITL/init/rcS_gazebo_tailsitter
9 years ago
Lorenz Meier
da943b0007
Update SITL config posix-configs/SITL/init/rcS_gazebo_standard_vtol
9 years ago