- Mar 19, 2018
-
-
Simone Guscetti authored
-
Simone Guscetti authored
-
Simone Guscetti authored
-
Simone Guscetti authored
-
Simone Guscetti authored
-
Simone Guscetti authored
-
Simone Guscetti authored
-
Simone Guscetti authored
This is included in other stm32 architectures in the stm32.h file.
-
Simone Guscetti authored
Change to be coherent with the change on NuttX upstream, in the future STM32_BKP_BASE will be removed. This is using the definition over stm32_rtc.h interface.
-
Beat Küng authored
-
Beat Küng authored
The indexes are directly mapped from MAVLink, thus the actual value is important.
-
Beat Küng authored
-
Beat Küng authored
-
Beat Küng authored
-
- Mar 18, 2018
-
-
Shivam Chauhan authored
-
- Mar 16, 2018
-
-
Thomas Stastny authored
-
ksschwabe authored
Adds ability for generate_listener.py to process out-of-tree uORB message definitions as well (#9097)
-
barzanisar authored
-
barzanisar authored
-
barzanisar authored
No need for this since beat's changes in syslink_main.cpp work for connecting crazyflie to QGC. Will open a separate PR for it.
-
barzanisar authored
Discussed in https://github.com/PX4/Firmware/issues/8924
-
- Mar 15, 2018
-
-
AlexKlimaj authored
* Batt_smbus. Added complementary filter to remaining capacity, reversed warning state checks, and added remaining/discharged out of range checks to handle bad battery calibrations * Changed errx to PX4_ERR * Added PX4_ERR returns
-
Kabir Mohammed authored
-
Amir Melzer authored
-
Matthias Grob authored
-
Matthias Grob authored
- On initialization _v_att_sp got filled with zeros leaving invalid quaternions - While not armed mc_pos_control did not publish any attitude setpoint which makes no sense - The attitude control just uses the data in _v_att_sp if it was (ever) updated or not
-
Matthias Grob authored
While operating on exactly normalized float quaternions it can aparently still happen that one of the elements gets just slightly above 1 or below -1 and hence out of the domain of the acosf and asinf functions resulting in NaN. The constrain function uses stricly smaller/bigger comparisons and catches all tested cases.
-
Matthias Grob authored
-
Matthias Grob authored
I found a better solution for the condition of the numerical corner case and also tried to comment it more clearly.
-
Matthias Grob authored
- Delete left over identity matrix. - Corner case with a zero element when using the signum function: We always need a sign also for zero. - Corner case with arbitrary yaw but and 180 degree roll or pitch: Reduced attitude control calculation always rotates around roll because there's no right choice when neglecting yaw. In that small corner case it's better to just use full attitude contol and hence rotate around the most efficient roll/pitch combination.
-
Matthias Grob authored
-
Matthias Grob authored
According to the paper the quaternion controller is built on the yaw weight represents the ratio between the roll/pitch and the yaw attitude control time constant. It also states that as a thumb rule a value of ~0.4 works alright for most multicopter platforms. The default attitude gains of PX4 which were determined independent of the paper from experimental results have a ratio of 2.8/6.5 = 0.43 which matches.
-
Matthias Grob authored
Because the parameter does not make sense from a control theory perspective. Either you have a gain with the unit 1/s or an inverse gain or time constant with the unit s. But the time constant parameter was neither bound to any exact unit nor did it apply instead of a gain. Rather it adjusted multiple gains from rate and attitude control according to an arbitrary scale. This can only by accident lead to good tuning.
-
Matthias Grob authored
to prioritize yaw compared to roll and pitch by combining the shortest rotation to achieve a total thrust vector with the full attitude respecting the desired yaw not by scaling down the control output with the gains
-
Matthias Grob authored
-
Daniel Agar authored
- refactor body wind velocity calculation
-
- Mar 14, 2018
-
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
-