Julian Oes
974a9a0673
px_uploader.py: enable file to be used as module
...
In order to use px_uploader as a module from another Python script, all
the action needs to be moved into a main() function which is only called
if the file is run directly.
8 years ago
Julian Oes
090d7ebd6b
px_uploader: fix SerialException error
...
Sometimes right after reboot, we got a `raise SerialException(
msg.errno, "could not open port {}: {}".format(self._port, msg))`.
If this happens now, we will just try again later.
8 years ago
Julian Oes
b0a8073e15
px_uploader.py: small whitespace fix
...
Found by PEP8 checker.
8 years ago
Julian Oes
ff87d43be0
px_uploader.py: vim modeline for indent settings
8 years ago
Julian Oes
172f35042f
px_uploader.py: use consistent indenting
...
This file had the indentending mixed up between 4 and 8 spaces.
This changes it to the Pythonic way of 4 spaces.
8 years ago
Lorenz Meier
16530e15db
Commander: Differentiate between emergency battery level and critical battery level
8 years ago
Lorenz Meier
029c6de4a9
Battery estimator: Warn on dangerously low levels.
...
We need to differentiate between a level where the user should act and where we are about to fall out of the sky (emergency). This helps performing more suitable failsafe actions.
8 years ago
Lorenz Meier
7372014aee
Battery: Implement an emergency warn level
8 years ago
Beat Küng
85708063d6
fix tap_esc: use correct ORB_ID for esc_status advertisement
8 years ago
Lorenz Meier
7710b64d27
Navigator: Re-initialize RTL every time it gets re-enabled
8 years ago
José Roberto de Souza
6ce5807240
mavlink: Send message to control onboard camera as broadcast
...
The target was it self.
8 years ago
Daniel Agar
c1bd0d5733
sync attitude setpoint messages
8 years ago
Daniel Agar
fe4ea6dd63
VTOL mc_pos reset internal state during FW mode
8 years ago
Daniel Agar
1b2973f602
VTOL fw_att don't reset integrators during transition
8 years ago
Lorenz Meier
e18fe0a8a8
Port PWM command to POSIX
8 years ago
Matthias Grob
8fd27fddcd
mc_pos_control: moved responsibility of the x,y stick deadzone to a mathematical function
...
to prevent a setpoint step when moving the stick over the border of the deadzone
and to enable very small inputs even from a control stick that needs a big deadzone
8 years ago
Lorenz Meier
ad3d0391ab
Navigator: Only update params as they change
8 years ago
Daniel Agar
ecb2511a7b
add matrix copyTo
8 years ago
Beat Küng
f43f3baa02
ATT_VIBE_THRESH param: move the definition of this param to sensors
...
since it's only used in sensors module (otherwise it could get pruned)
8 years ago
Beat Küng
3cc1c9d0a9
param command: warnx -> PX4_{WARN,ERR}
8 years ago
Beat Küng
cfa84954ea
param_get: add null-pointer check
...
If param_find() returned PARAM_INVALID, and this was directly passed to
param_get(), param_get_value_ptr() returned null and we read garbage data
(or segfaulted on systems with virtual memory).
On px4fmu-v2, this happened for the param ATT_VIBE_THRESH in sensors.
Because of the recently added parameter scoping, this param got pruned, as
it's defined in attitude_estimator_q.
credits for finding this go to Jeyong Shin (jeyong).
8 years ago
Lorenz Meier
3e88b2f2b1
Rate-limit navigator update rate
8 years ago
Kabir Mohammed
80e1064523
mavlink : fix legacy vision interface attitude timestamps
8 years ago
Beat Küng
058bc97c83
commander preflight calibration: accept param6 == 2 for airspeed calibration as well
...
This is according to the updated mavlink spec to deconflict the definition
with APM.
8 years ago
Matthias Grob
3a358422c4
mc_pos_control: change sign for close to ground + style fix
8 years ago
Dennis Mannhart
de9d05c292
mc_pos_control: uorb home_postition subscription
8 years ago
Kabir Mohammed
3bc8617224
Update maintainers list
8 years ago
José Roberto de Souza
8d50249e8f
ROMFS: common: Start aerofc_adc in AeroFC
...
Probably this was a merge error.
8 years ago
Matthias Grob
e6031a97fa
land_detector: added a parameter for the manual land detection stick throshold
...
because it is definitely something that needs to be allowed to tune or disable for different application scenarios
8 years ago
José Roberto de Souza
ef228b82aa
boards: AeroFC: Make it a memory constrained system
...
The maximum number of missions was increased in almost 8 times in
recent commit: 9369262e63
navigator: allow more mission items.
As this board loads missions in RAM, now it don't have enough memory
to allocate causing dataman start to fail, so mark it as a memory
constrained system and reduce the number of maximum missions
supported.
8 years ago
José Roberto de Souza
b1c11b14a8
ROMFS: common: AeroFC: Do not start MAVLink over USB
...
STM32 pins are not exposed in AeroFC, so lets save some memory here.
8 years ago
José Roberto de Souza
b372d15443
drivers: tap_esc: Fix low on stack warning
...
WARN [load_mon] tap_esc_main low on stack! (284 bytes left)
8 years ago
Roman
4bffb1478f
ekf2: added parameter for range sensor pitch offset
...
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Roman
3fdbe13857
updated ecl
8 years ago
Matthias Grob
3183cbda90
land_detector: manual land detection stick throshold less strict
...
Even for well calibrated RC sticks 5% stick movement is a too small margin for the end user that might not land because of this.
15% is still clearly restricting the stick far down.
8 years ago
Dennis Mannhart
cbc54c9917
mc_pos_control: only swithc to velocity control from hold_engaged when user moves stick
8 years ago
Lorenz Meier
d7683e97a3
MC pos control: More landing handling
8 years ago
Lorenz Meier
c55fa9dd3f
MC pos control: add option to use takeoff yaw
8 years ago
Lorenz Meier
d11e4915f6
Vehicle control state: Add support for global yaw
8 years ago
Lorenz Meier
4ddc7e22fb
MC pos ctrl: Force slow landing speed below min loiter altitude
8 years ago
Lorenz Meier
1d370f3470
MC pos control: Improve landing handling
8 years ago
Dennis Mannhart
20604989bb
mc_pos_control: have same acceleration max for xy and z
8 years ago
Dennis Mannhart
2788cf8ffc
mc_pos_control: manual stick input fix; deletion of unusued function
8 years ago
Lorenz Meier
7fc8ee85fa
Commander: Do not break out of RTL on stick input change
8 years ago
Paul Riseborough
bf06066010
Tools: Add scripts for ecl EKF log file analysis
8 years ago
Paul Riseborough
ed5c8913ad
events: update documentation for polyfit algorithm
8 years ago
Andreas Antener
11484b0d51
Rattitude: set default threshold for multicopter rattitude mode to 0.8 which enables it right away when selecting it
8 years ago
Andreas Antener
44d05bac55
Rattitude: enable for FW in old style switch mapping
8 years ago
Daniel Agar
e81e6a8296
fw_att_control add rattitude mode
8 years ago
Daniel Agar
9120082b0c
fw_att_control stabilized mode publish att_sp quat
8 years ago