Dennis Mannhart
03c81a8948
ControlMath: never saturate in xy when vector is below minimum
2018-04-05 07:30:12 +02:00
Dennis Mannhart
6daf78494a
TranslationControl: adjust direction based on constrainPIDu inputs
2018-04-05 07:30:12 +02:00
Dennis Mannhart
75b6af77de
ControlMath: fix index and don't adjust sign with method but rather function caller
...
needs to adjust for sign
2018-04-05 07:30:12 +02:00
Dennis Mannhart
19d50f9511
ControlMath: index fix and scaling fix
2018-04-05 07:30:12 +02:00
Dennis Mannhart
c9cd920642
rename VectorMath to ControlMath
2018-04-05 07:30:12 +02:00
Dennis Mannhart
820d6e866f
TransitionControl: replace thrust constraints with VectorMath functions;
...
temporary: remove thrust projection onto body frame
2018-04-05 07:30:12 +02:00
Dennis Mannhart
41a5ea6daa
Multicoper position control: function file for controller specific functions
2018-04-05 07:30:12 +02:00
Dennis Mannhart
6ffa7a96ba
mc_pos_control: method for publishing attitude and local_pos_sp
2018-04-05 07:30:12 +02:00
Dennis Mannhart
6e63ddacd2
yaw setpoint: add math::radians
2018-04-05 07:30:12 +02:00
Dennis Mannhart
f0f84d300b
TranslationControl: move mc_pos_control related logic into TranslationControl
2018-04-05 07:30:12 +02:00
Dennis Mannhart
9ac32a764f
TranslationControl added to CmakeLists.txt
2018-04-05 07:30:12 +02:00
Dennis Mannhart
85c1627c74
TranslationControl: new class that generates thrust vector from state and setpoints
2018-04-05 07:30:12 +02:00
Beat Küng
737f7df6b8
Subscription & SubscriptionArray: add forcedUpdate() methods
...
Can be used to immediately get & use the data, as needed for the flight
tasks.
2018-04-05 07:30:12 +02:00
Beat Küng
9b571abb47
FlightTasks: add SubscriptionArray class that contains all subscriptions
...
This is to avoid dynamic (re-)allocations on task switching, due to
orb_{un,}subscribe calls.
2018-04-05 07:30:12 +02:00
Beat Küng
b821297f20
logger: add board subtype
2018-04-04 13:30:52 -04:00
DanielePettenuzzo
20f5de33df
PX4IO Firmware: bug fix in variable initialization
2018-04-04 12:08:34 +02:00
Lorenz Meier
97e8ec9551
PX4IO Firmware: Only decode DSM if no other input method matched
...
This ensures that the DSM decoder does not accidentally decode noise on the bus as DSM is not well-protected against CRC errors.
2018-04-04 12:08:34 +02:00
Daniel Agar
f145b65cbb
mavlink static streams_list array
2018-04-03 18:37:51 -04:00
Daniel Agar
450229c2a4
dataman operations table is constexpr
2018-04-03 18:37:51 -04:00
dw.xiong
381c2b52ac
commander: Remove the ekf pre-flight check variables that are not used in commander. ( #9226 )
2018-04-02 10:52:32 -04:00
Roman
2257cfc0fa
vtol_att_control: set flag in_transition_to_fw properly
...
Signed-off-by: Roman <bapstroman@gmail.com >
2018-03-30 00:46:23 -04:00
Daniel Agar
f0528d28fb
commander once armed safety should only request ARMING_STATE_STANDBY
2018-03-29 10:25:56 -04:00
Daniel Agar
95ff860f4e
commander cleanup includes and sort
2018-03-29 10:25:56 -04:00
Daniel Agar
0f6a94894d
commander state machine helper fix code style
2018-03-29 10:25:56 -04:00
Daniel Agar
db7e8635a2
commander state machine helper pass battery and safety as const references
2018-03-29 10:25:56 -04:00
Daniel Agar
4ccfc280c8
commander arming_state_transition add HIL boolean
2018-03-29 10:25:56 -04:00
Daniel Agar
c547866029
Commander::handle_command() remove unused safety parameter
2018-03-29 10:25:56 -04:00
Daniel Agar
e395b3578f
delete unused ARMING_STATE_ARMED_ERROR state
2018-03-29 10:25:56 -04:00
Daniel Agar
e29b568d33
state machine helper remove unused headers
2018-03-29 10:25:56 -04:00
Daniel Agar
bff2136db0
commander state machine helper use constexpr for strings
2018-03-29 10:25:56 -04:00
Daniel Agar
f59b7c7399
commander is_safe() use const references
2018-03-29 10:25:56 -04:00
Daniel Agar
376b5e4747
state machine helper make vehicle_status_flags const
2018-03-29 10:25:56 -04:00
Daniel Agar
8c8fe17ff3
commander delete unused main_state_prev
2018-03-29 10:25:56 -04:00
Daniel Agar
c194c1acb5
commander use const where possible
...
- this helps tease apart the various pieces of commander.
2018-03-29 10:25:56 -04:00
Beat Küng
0038a5e755
uorb: fix constness for _uorb_topics_list
...
_uorb_topics_list was marked as 'const char *' array, which means the data
of the array was not actually const and thus landed in the data section
(so in RAM instead of FLASH).
The size of the array is 436 bytes.
2018-03-29 10:06:21 -04:00
Daniel Agar
d40d165b4b
mavlink delete deprecated HIL_CONTROLS
2018-03-28 15:37:57 -04:00
Daniel Agar
3db287ba67
mavlink messages delete unnecessary timestamps and cleanup
2018-03-28 15:37:57 -04:00
Daniel Agar
c181501e27
commander home position update swap incorrect eph/epv for auto update
2018-03-28 15:37:57 -04:00
Daniel Agar
deb5cbcc82
mavlink GLOBAL_POSITION_INT use vehicle_local_position for altitude
2018-03-28 15:37:57 -04:00
Daniel Agar
6af989e8c0
mavlink VFR_HUD use vehicle_local_position for altitude
2018-03-28 15:37:57 -04:00
Daniel Agar
354181be24
mavlink update ALTITUDE message to always use vehicle_local_position
2018-03-28 15:37:57 -04:00
Daniel Agar
5fba1f38b2
drivers start using uORB message print instead of custom
2018-03-28 09:15:41 -04:00
Oleg Kalachev
8d6bff08bb
precland: support receiving LANDING_TARGET message
2018-03-27 20:45:58 -04:00
Oleg Kalachev
5b030535c8
precland: fix incorrect converting microseconds to seconds
2018-03-27 20:45:58 -04:00
Oleg Kalachev
749a590c1c
precland: fix landing_target_pose subscription check
2018-03-27 20:45:58 -04:00
Oleg Kalachev
fef2e2ba82
precland: fix typos and code style
2018-03-27 20:45:58 -04:00
Daniel Agar
29b3950747
move geo and geo_lookup to PX4/ecl
2018-03-26 23:16:55 -04:00
Matthias Grob
76bf9c6465
mc_att_control: reenable TPA for I term
...
In commit
eb67686b11
the TPA scaled integral gain was reverted back to the
normal unscaled gain which rendered the I part of TPA
useless.
2018-03-26 19:00:18 +02:00
Matthias Grob
11ea7dc928
mc_att_control: refactor: switch to matrix library
2018-03-26 16:20:57 +02:00
Beat Küng
693e9ffd46
mc_att_control: remove unused include <systemlib/param/param.h>
2018-03-26 16:20:57 +02:00