Lorenz Meier
56ddd29f1a
Commander: Update params on last step of mag cal
9 years ago
Beat Küng
e7f31393bc
orb: reduce size of SubscriberData struct ( #4771 )
...
- priority field uses only the lower 8 bits, so we can merge with the
update_reported flag
- orb_set_interval is not used often, so make the necessary data an
optional pointer and alloc only when needed.
Memory savings:
- pixracer (w. ekf2): 7.3kB
- pixhawk: 5.3kB
9 years ago
Julian Oes
dfa2ec8c6c
DriverFramework: updated submodule ( #4867 )
...
This brings some makefile and script fixes, as well as an updated dspal.
9 years ago
Roman Bapst
37108870e1
fw_pos_control_l1: added roll setpoint for logging ( #4869 )
...
in altitude control mode for fixed wings the roll setpoint was not
logged because the position controller publishes the attitude setpoint
but the desired roll setpoint is calculated in the attitude control
module. Now the position controller calculates the roll setpoint as well
for the sake of logging.
Signed-off-by: tumbili <roman@px4.io>
9 years ago
Daniel Agar
36103d33d2
travis-ci only build qgc firmware
9 years ago
Daniel Agar
3f3a44fec5
cmake status message if MEMORY_DEBUG enabled
9 years ago
Daniel Agar
924fb49bf5
fw_pos_control_l1 shorten task name
...
-limited to 16 chars
9 years ago
Daniel Agar
b65291579f
show bad formatting diff
9 years ago
Daniel Agar
4d0bb9f1e2
update eclipse project file templates
9 years ago
jwilson
9794bb2f2f
Running fix_code_style.sh on the requested source files.
9 years ago
jwilson
acc1f04b67
Unfortunately, lot's of whitespace changes, required to satisfy unspecified code style format errors.
9 years ago
jwilson
1091319274
Removing shmem_posix.c from the unit testing since param_shmem_test is disabled.
9 years ago
jwilson
a2c16a3b5e
Another attempt to fix the build problem in the shmem code.
9 years ago
jwilson
701d6314d2
Fixes build problem in the shmem code.
9 years ago
jwilson
a73ac821ab
Fixes shared memory locking bug and eliminates the need for an AppsProm driver to reserve a shared memory region.
9 years ago
tumbili
6739ae9dfc
ekf2: substract gyro bias from control state rates
...
Signed-off-by: tumbili <roman@px4.io>
9 years ago
tumbili
c84870046e
updated ecl: added method to return ekf bias state
...
Signed-off-by: tumbili <roman@px4.io>
9 years ago
Lorenz Meier
b563fae118
Fix request data stream handling
9 years ago
Lorenz Meier
de675845af
Fix navigator timeout logic
9 years ago
Lorenz Meier
2f113a4ce3
MAVLink: Allow data rate updates
9 years ago
Lorenz Meier
1869ffd15f
Fix unknown command message for Spektrum bind
9 years ago
Julian Oes
91127d51c0
commander: stay in failsafe even when landed
...
If the failsafe state is ended when landed, we would switch back to
POSCTL and therefore take off again, however, all we want is stay on
ground and wait for the auto disarm.
9 years ago
dong.chen
5ad671ed4c
Solve the problem When lost rc signal, it will rtl repeated.
9 years ago
Julian Oes
c7ec07be70
commander: properly use new param
...
The param COM_ARM_WO_GPS is set to 1 by default to allow arming without
GPS. This then sets a bool arm_without_gps which translates to
!GNSS_check in preflightCheck.
9 years ago
Julian Oes
f67e74935e
commander: remove leftover printf
9 years ago
Julian Oes
66dd72555a
navigator: change default of RC loss param to RTL
9 years ago
Julian Oes
ef04085ac5
commander: go to ALTCTL if GPS is lost in POSCTL
...
Previously, we renained in POSCTL and would drift away if GPS was lost.
9 years ago
Julian Oes
67a4a57491
commander: only warn if termination happens
...
The termination warnings were printed even if termination was not
actually enabled. This was confusing and is therefore fixed.
9 years ago
Julian Oes
872b08f677
commander: remove unneeded include
9 years ago
Julian Oes
fdff6ea325
Revert "commander: remove unused/wrong failsafe handling"
...
This reverts commit 9e704a5e121c7516e2133d02b328500d9d66fb67.
9 years ago
Julian Oes
d0355cef1f
Revert "commander/navigator: remove param NAV_RCL_ACT"
...
This reverts commit 77ea4cebf41cd106fe771b9eb469aa2326339467.
9 years ago
Julian Oes
049146ef9c
commander: param to allow arming without GPS
9 years ago
Julian Oes
3e9d1388af
commander: remove unused/wrong failsafe handling
...
The deleted code conflicts with the failsafe handling in set_nav_state.
Also, flight termination was usually disabled by circuit breaker which
means this code had no effect anyway.
9 years ago
Julian Oes
016d514d80
commander/navigator: remove param NAV_RCL_ACT
...
The param NAV_RCL_ACT was not implemented as described. Also, it has the
completely the wrong name. It should be a COM param and not NAV.
Therefore, remove the param and delete the partly implemented
and probably never used functionality.
9 years ago
Julian Oes
ea10c8c8a3
circuit_breaker: change default for GPS failure
...
We should definitely take action when GPS fails, this circuit breaker
shouldn't be engaged anymore.
9 years ago
Julian Oes
739d1cfd3f
navigator: always run the loop, even without GPS
...
If the navigator stops when no more position updates arrive, it won't
switch to land mode when DESCEND is requested by the commander.
9 years ago
Julian Oes
fe29d99d62
commander: use the gps_failure flag
...
The gps_failure flag had been ignored in some navigation states.
9 years ago
Julian Oes
4d10759699
commander: use DESCEND mode and not LANDGPSFAIL
...
Always use the DESCEND mode and not LANDGPSFAIL because LANDGPSFAIL will
try to loiter for some time and then request termination instead of
descending gently and trying to land.
9 years ago
Henry Zhang
178f32ab41
Commander:fill missing command ack. ( #4814 )
9 years ago
Chris Lovett
847d9ec4f4
Fix code style using Tools/fix_code_style.sh
9 years ago
Chris Lovett
534e10c96a
Implement code review feedback. Add get_id_static to MavlinkStream items. Add implementation of MAV_CMD_SET_MESSAGE_INTERVAL, MAV_CMD_GET_MESSAGE_INTERVAL. Add deprecation message to REQUEST_DATA_STREAM.
9 years ago
Chris Lovett
4ef4be2d70
MavlinkReceiver::handle_message_request_data_stream walks into deleted memory when you send the "stop" bit on a stream. It also fails to restart the stream because it deletes the stream when you send the stop command, so restart needs to use stream_list to find the stream again.
9 years ago
Lorenz Meier
3f45d008eb
Fix stack main usage in motor ramp app
9 years ago
Julian Oes
8aee4432a9
px4io: set safety on before going into bootloader ( #4860 )
...
Sometimes when flashing new firmware, the IO update fails because safety
is off. In this case, we should set safety on first before putting the
IO board into bootloader mode.
9 years ago
Lorenz Meier
85245471c0
Update 3DR quad config, remove rendundant entries
9 years ago
Andreas Antener
2c29652136
fixed code style in motor_ramp
9 years ago
Andreas Antener
0581f1af52
added motor_ramp to fmu v4
9 years ago
Andreas Antener
2dc97fc680
added check for running attitude controllers, cleaned-up output
9 years ago
Andreas Antener
4e0980aeb9
fixed sine output
9 years ago
Andreas Antener
7f56961e26
removed unnecessary output texts
9 years ago