[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 56457d: [airborne] use math fu
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 56457d: [airborne] use math functions instead of macros |
Date: |
Fri, 12 Sep 2014 09:04:04 -0700 |
Branch: refs/heads/use_math_functions
Home: https://github.com/paparazzi/paparazzi
Commit: 56457d080107948517157e5e82918a6d56e9af56
https://github.com/paparazzi/paparazzi/commit/56457d080107948517157e5e82918a6d56e9af56
Author: Felix Ruess <address@hidden>
Date: 2014-09-12 (Fri, 12 Sep 2014)
Changed paths:
M sw/airborne/firmwares/fixedwing/guidance/energy_ctrl.c
M sw/airborne/firmwares/rotorcraft/guidance/guidance_v.c
M sw/airborne/firmwares/rotorcraft/navigation.c
M
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_float.c
M
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_int.c
M
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_transformations.c
M
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_rc_setpoint.c
M
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_ref_quat_float.c
M
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_ref_quat_int.c
M sw/airborne/modules/cam_control/rotorcraft_cam.c
M sw/airborne/modules/ins/ins_vn100.c
M sw/airborne/modules/nav/nav_catapult.c
M sw/airborne/state.c
M sw/airborne/subsystems/ahrs/ahrs_float_cmpl.c
M sw/airborne/subsystems/ahrs/ahrs_float_dcm.c
M sw/airborne/subsystems/ahrs/ahrs_float_mlkf.c
M sw/airborne/subsystems/ahrs/ahrs_float_utils.h
M sw/airborne/subsystems/ahrs/ahrs_gx3.c
M sw/airborne/subsystems/ahrs/ahrs_int_cmpl_euler.c
M sw/airborne/subsystems/ahrs/ahrs_int_cmpl_quat.c
M sw/airborne/subsystems/imu.c
M sw/airborne/subsystems/ins/hf_float.c
M sw/airborne/subsystems/ins/ins_float_invariant.c
M sw/airborne/subsystems/ins/ins_int.c
M sw/airborne/test/ahrs/run_ahrs_on_synth.c
M sw/airborne/test/pprz_algebra_print.h
M sw/airborne/test/test_algebra.c
M sw/airborne/test/test_bla.c
M sw/ground_segment/misc/natnet2ivy.c
Log Message:
-----------
[airborne] use math functions instead of macros
sed to the rescue:
find sw -path sw/airborne/math -prune -o -name "*.[ch]" -exec sed -i 's/\([
]*[A-Z0-9_]*QUAT_OF[A-Z0-9_]*(\)\([a-zA-Z0-9_]*,[
]*\)\([a-zA-Z0-9_]*)\)/\L\1\E\&\2\&\3/g' {} +
and so on...
- [paparazzi-commits] [paparazzi/paparazzi] 56457d: [airborne] use math functions instead of macros,
GitHub <=