paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [paparazzi/paparazzi] ef2d4e: [math] pprz_algebra_fl


From: GitHub
Subject: [paparazzi-commits] [paparazzi/paparazzi] ef2d4e: [math] pprz_algebra_float: convert some macros to ...
Date: Mon, 15 Sep 2014 08:22:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/paparazzi/paparazzi
  Commit: ef2d4edad0a2697e07353cef71d18f0a2fc4b013
      
https://github.com/paparazzi/paparazzi/commit/ef2d4edad0a2697e07353cef71d18f0a2fc4b013
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_float.h

  Log Message:
  -----------
  [math] pprz_algebra_float: convert some macros to functions


  Commit: 4a1f4b1cf35361423daa8a13eea063a8e9074dd1
      
https://github.com/paparazzi/paparazzi/commit/4a1f4b1cf35361423daa8a13eea063a8e9074dd1
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_double.h

  Log Message:
  -----------
  [math] pprz_algebra_double: convert some macros to functions


  Commit: 4d906368dc47248317e9c30d5065439c4b4fe8bb
      
https://github.com/paparazzi/paparazzi/commit/4d906368dc47248317e9c30d5065439c4b4fe8bb
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_int.h
    M sw/airborne/math/pprz_trig_int.h

  Log Message:
  -----------
  [math] pprz_algebra_int: convert some macros to functions


  Commit: 1f87b900a3059d2d275107c570df2b15ddb1a993
      
https://github.com/paparazzi/paparazzi/commit/1f87b900a3059d2d275107c570df2b15ddb1a993
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_int.h

  Log Message:
  -----------
  [math] pprz_algebra_int: convert more macros to functions


  Commit: ce002e79fd9a14419b2364b39977ae4248596d9b
      
https://github.com/paparazzi/paparazzi/commit/ce002e79fd9a14419b2364b39977ae4248596d9b
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_trig_int.c
    M sw/airborne/math/pprz_trig_int.h

  Log Message:
  -----------
  [math] convert some trig macros to functions


  Commit: 27c8ace5ce267b787a5a3c01afa03d020c77557e
      
https://github.com/paparazzi/paparazzi/commit/27c8ace5ce267b787a5a3c01afa03d020c77557e
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_int.h

  Log Message:
  -----------
  [math] int32_sqrt as function


  Commit: ae12f27fa7586c98d50f182f17b758be920dcbf1
      
https://github.com/paparazzi/paparazzi/commit/ae12f27fa7586c98d50f182f17b758be920dcbf1
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M sw/airborne/test/test_algebra.c

  Log Message:
  -----------
  [test] update test_algebra


  Commit: a65df6e1c8439a7da0fbc4bcafb80d4fa18130b5
      
https://github.com/paparazzi/paparazzi/commit/a65df6e1c8439a7da0fbc4bcafb80d4fa18130b5
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_double.h
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/subsystems/ahrs/ahrs_float_mlkf.c
    M sw/simulator/nps/nps_ivy_common.c
    M sw/simulator/nps/nps_sensor_accel.c
    M sw/simulator/nps/nps_sensor_mag.c

  Log Message:
  -----------
  [math] add double_quat_vmult, fixes for nps


  Commit: 88d33daf8b1e8fd289748c78f50fc989cda64873
      
https://github.com/paparazzi/paparazzi/commit/88d33daf8b1e8fd289748c78f50fc989cda64873
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra.h
    M sw/airborne/math/pprz_algebra_double.h
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/math/pprz_algebra_int.h
    M sw/airborne/math/pprz_geodetic.h
    M sw/airborne/math/pprz_geodetic_double.c
    M sw/airborne/math/pprz_geodetic_double.h
    M sw/airborne/math/pprz_geodetic_float.c
    M sw/airborne/math/pprz_geodetic_float.h
    M sw/airborne/math/pprz_geodetic_int.c
    M sw/airborne/math/pprz_geodetic_int.h
    M sw/airborne/math/pprz_geodetic_utm.h
    M sw/airborne/math/pprz_geodetic_wgs84.h
    M sw/airborne/math/pprz_geodetic_wmm2010.c
    M sw/airborne/math/pprz_geodetic_wmm2010.h
    M sw/airborne/math/pprz_isa.h
    M sw/airborne/math/pprz_matrix_decomp_float.c
    M sw/airborne/math/pprz_matrix_decomp_float.h
    M sw/airborne/math/pprz_orientation_conversion.c
    M sw/airborne/math/pprz_orientation_conversion.h
    M sw/airborne/math/pprz_rk_float.h
    M sw/airborne/math/pprz_simple_matrix.h
    M sw/airborne/math/pprz_stat.h
    M sw/airborne/math/pprz_trig_int.c
    M sw/airborne/math/pprz_trig_int.h

  Log Message:
  -----------
  [math] cleanup

headers, extern C, etc...


  Commit: eb82253b5803cd5babbe3d19a9382540c35cf2e2
      
https://github.com/paparazzi/paparazzi/commit/eb82253b5803cd5babbe3d19a9382540c35cf2e2
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M conf/firmwares/rotorcraft.makefile
    M conf/firmwares/subsystems/fixedwing/autopilot.makefile
    M conf/firmwares/subsystems/rotorcraft/fdm_jsbsim.makefile
    A sw/airborne/math/pprz_algebra_double.c
    M sw/airborne/math/pprz_algebra_double.h

  Log Message:
  -----------
  [math] algebra_double functions in c file


  Commit: 0d443e866f6d049bf5e8c54dd344f7d0d2c33991
      
https://github.com/paparazzi/paparazzi/commit/0d443e866f6d049bf5e8c54dd344f7d0d2c33991
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M conf/firmwares/rotorcraft.makefile
    M conf/firmwares/subsystems/fixedwing/autopilot.makefile
    M conf/firmwares/subsystems/rotorcraft/fdm_jsbsim.makefile
    A sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h

  Log Message:
  -----------
  [math] algebra_float functions in c file


  Commit: 8cbbf0fa56e21b6c8cf68556aa8b5b6ccc4e7f8d
      
https://github.com/paparazzi/paparazzi/commit/8cbbf0fa56e21b6c8cf68556aa8b5b6ccc4e7f8d
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M conf/firmwares/rotorcraft.makefile
    M conf/firmwares/subsystems/fixedwing/autopilot.makefile
    M conf/firmwares/subsystems/rotorcraft/fdm_jsbsim.makefile
    A sw/airborne/math/pprz_algebra_int.c
    M sw/airborne/math/pprz_algebra_int.h

  Log Message:
  -----------
  [math] algebra_int functions in c file


  Commit: 976ef3de8f64d73a5d34612f7b0f3c5670fa29bf
      
https://github.com/paparazzi/paparazzi/commit/976ef3de8f64d73a5d34612f7b0f3c5670fa29bf
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M sw/ground_segment/misc/Makefile

  Log Message:
  -----------
  [misc] fix natnet2ivy compilation


  Commit: 2fc981e7d8bcf195e53ea5a9193e20051bcceea0
      
https://github.com/paparazzi/paparazzi/commit/2fc981e7d8bcf195e53ea5a9193e20051bcceea0
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_orientation_conversion.c

  Log Message:
  -----------
  [math] use math functions in orientation conversion


  Commit: 97edec12eea7487e9a52c49de6053ecd476394e7
      
https://github.com/paparazzi/paparazzi/commit/97edec12eea7487e9a52c49de6053ecd476394e7
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_geodetic_wgs84.h
    M sw/airborne/modules/ins/ins_xsens.c
    M sw/airborne/modules/ins/ins_xsens700.c

  Log Message:
  -----------
  [math] wgs84_ellipsoid_to_geoid as function


  Commit: ec3d29278e59daec1ef730269285ef303d3ead5d
      
https://github.com/paparazzi/paparazzi/commit/ec3d29278e59daec1ef730269285ef303d3ead5d
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_float.h

  Log Message:
  -----------
  [math] add missing alias


  Commit: fd4454b5bacb796a80fc51ca0a03d90211dca38e
      
https://github.com/paparazzi/paparazzi/commit/fd4454b5bacb796a80fc51ca0a03d90211dca38e
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-31 (Sun, 31 Aug 2014)

  Changed paths:
    M sw/airborne/test/Makefile
    M sw/airborne/test/stabilization/setup.py

  Log Message:
  -----------
  [test] add math c files


  Commit: 561d318b8c1e6f5216b8d369e24937ae5325a78a
      
https://github.com/paparazzi/paparazzi/commit/561d318b8c1e6f5216b8d369e24937ae5325a78a
  Author: Felix Ruess <address@hidden>
  Date:   2014-08-31 (Sun, 31 Aug 2014)

  Changed paths:
    M sw/airborne/math/Makefile
    M sw/airborne/math/README

  Log Message:
  -----------
  [math] set default PAPARAZZI_SRC


  Commit: 43fe5cd2a662056596562b55bad71303f21f4372
      
https://github.com/paparazzi/paparazzi/commit/43fe5cd2a662056596562b55bad71303f21f4372
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-01 (Mon, 01 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h

  Log Message:
  -----------
  [math] add float_quat_integrate_fi


  Commit: 8d52fef350819296b1e62657d8b8c5c11c9ad209
      
https://github.com/paparazzi/paparazzi/commit/8d52fef350819296b1e62657d8b8c5c11c9ad209
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M 
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_transformations.c
    M sw/airborne/fms/libeknav/libeknav_from_log.cpp
    M sw/airborne/math/pprz_algebra.h
    M sw/airborne/math/pprz_algebra_double.h
    M sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/modules/mission/mission_rotorcraft_nav.c
    M sw/airborne/modules/nav/nav_survey_disc.c
    M sw/airborne/modules/nav/nav_survey_polygon.c
    M sw/airborne/subsystems/ahrs/ahrs_float_cmpl.c
    M sw/airborne/subsystems/ins/ins_float_invariant.c

  Log Message:
  -----------
  [math] remove some unused or type specifc VECTx macros

find sw -path sw/airborne/math -prune -o -name "*.[ch]" -exec sed -ri 
's/FLOAT_(VECT[23]_(ASSIGN|COPY|SMUL|DIFF|SUM|ADD|SUB|DOT_PRODUCT|CROSS_PRODUCT))/\1/g'
 {} +


  Commit: 43d563f9e2a48bf592b47ddcc74dc70feb0cb9d5
      
https://github.com/paparazzi/paparazzi/commit/43d563f9e2a48bf592b47ddcc74dc70feb0cb9d5
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_geodetic_double.h
    M sw/airborne/math/pprz_geodetic_float.c
    M sw/airborne/math/pprz_geodetic_float.h
    M sw/airborne/math/pprz_geodetic_int.c
    M sw/airborne/math/pprz_geodetic_int.h

  Log Message:
  -----------
  [math] geodetic: RMat instead of Mat33 for ltp_of_ecef


  Commit: 63d67a322f6c2bab75ac1f8e20ed4332654bf83b
      
https://github.com/paparazzi/paparazzi/commit/63d67a322f6c2bab75ac1f8e20ed4332654bf83b
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra.h
    M sw/airborne/math/pprz_algebra_double.c
    M sw/airborne/math/pprz_algebra_double.h
    M sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/math/pprz_algebra_int.c
    M sw/airborne/math/pprz_algebra_int.h
    M sw/airborne/math/pprz_geodetic.h
    M sw/airborne/math/pprz_geodetic_double.c
    M sw/airborne/math/pprz_geodetic_float.c
    M sw/airborne/math/pprz_geodetic_int.c
    M sw/airborne/math/pprz_geodetic_int.h
    M sw/airborne/math/pprz_geodetic_wgs84.h
    M sw/airborne/math/pprz_geodetic_wmm2010.c
    M sw/airborne/math/pprz_geodetic_wmm2010.h
    M sw/airborne/math/pprz_isa.h
    M sw/airborne/math/pprz_matrix_decomp_float.c
    M sw/airborne/math/pprz_matrix_decomp_float.h
    M sw/airborne/math/pprz_orientation_conversion.c
    M sw/airborne/math/pprz_orientation_conversion.h
    M sw/airborne/math/pprz_rk_float.h
    M sw/airborne/math/pprz_stat.h
    M sw/airborne/math/pprz_trig_int.c

  Log Message:
  -----------
  [math] fix code style


  Commit: aa10dbe2a8de7bfb69911c999d03a0482d1bcfe8
      
https://github.com/paparazzi/paparazzi/commit/aa10dbe2a8de7bfb69911c999d03a0482d1bcfe8
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h

  Log Message:
  -----------
  [math] more x_integrate_fi functions


  Commit: 1a8be652fc22e79ba716e76e7c89ad93c90a4ea0
      
https://github.com/paparazzi/paparazzi/commit/1a8be652fc22e79ba716e76e7c89ad93c90a4ea0
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M sw/airborne/firmwares/rotorcraft/navigation.c
    M sw/airborne/firmwares/rotorcraft/navigation.h
    M 
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_float.c
    M sw/airborne/math/pprz_algebra.h
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/math/pprz_algebra_int.h
    M sw/airborne/math/pprz_geodetic_int.c
    M sw/airborne/modules/mission/mission_rotorcraft_nav.c
    M sw/airborne/modules/multi/follow.c
    M sw/airborne/state.h
    M sw/airborne/subsystems/ahrs/ahrs_float_cmpl.c
    M sw/airborne/subsystems/ahrs/ahrs_int_cmpl_quat.c
    M sw/airborne/subsystems/ins/ins_float_invariant.c

  Log Message:
  -----------
  [math] algebra: remove some more type specific macros


  Commit: 3f984923f2e76e64b18e4d7a5d90297c8628e4f0
      
https://github.com/paparazzi/paparazzi/commit/3f984923f2e76e64b18e4d7a5d90297c8628e4f0
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_int.c
    M sw/airborne/math/pprz_algebra_int.h

  Log Message:
  -----------
  [math] int32_rmat_*mult functions


  Commit: 336defae491ef84e4f9fc333df941eb3b2ab822b
      
https://github.com/paparazzi/paparazzi/commit/336defae491ef84e4f9fc333df941eb3b2ab822b
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M sw/airborne/firmwares/rotorcraft/navigation.c
    M sw/airborne/math/pprz_algebra.h
    M sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/math/pprz_algebra_int.h
    M sw/airborne/modules/digital_cam/hackhd.c
    M sw/airborne/modules/mission/mission_rotorcraft_nav.c
    M sw/airborne/modules/nav/nav_spiral.c
    M sw/airborne/state.c
    M sw/airborne/test/pprz_algebra_print.h

  Log Message:
  -----------
  [math] VECTx_NORM updates

- norm functions/macros return the scalar value, don't take norm as arg
- remove some type specific macros where the generic ones can be used


  Commit: b8349ce252f64d1bea61888b3d554d4d251cdf4b
      
https://github.com/paparazzi/paparazzi/commit/b8349ce252f64d1bea61888b3d554d4d251cdf4b
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_double.h
    M sw/airborne/modules/geo_mag/geo_mag.c
    M sw/airborne/modules/geo_mag/geo_mag.h
    M sw/simulator/nps/nps_fdm_jsbsim.cpp

  Log Message:
  -----------
  [math] add double versions for vect3/quat norm


  Commit: c7fcf10745b479b9f4345966598541a2ea6e3c54
      
https://github.com/paparazzi/paparazzi/commit/c7fcf10745b479b9f4345966598541a2ea6e3c54
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    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_ref_quat_float.c
    M 
sw/airborne/firmwares/rotorcraft/stabilization/stabilization_attitude_ref_quat_int.c
    M sw/airborne/math/pprz_algebra_double.h
    M sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/math/pprz_algebra_int.h
    M sw/airborne/subsystems/ahrs/ahrs_float_mlkf.c
    M sw/airborne/subsystems/ins/ins_float_invariant.c
    M sw/airborne/test/test_algebra.c

  Log Message:
  -----------
  [math] rmat|quat_identity functions


  Commit: 8d6d84376db6282d7f482e74e0acf05f444cc99a
      
https://github.com/paparazzi/paparazzi/commit/8d6d84376db6282d7f482e74e0acf05f444cc99a
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra.h
    M sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/math/pprz_algebra_int.c
    M sw/airborne/math/pprz_algebra_int.h
    M sw/airborne/subsystems/ahrs/ahrs_float_cmpl.c
    M sw/airborne/subsystems/ahrs/ahrs_float_utils.h
    M sw/airborne/subsystems/ins/ins_ardrone2.c

  Log Message:
  -----------
  [math] more cleanup, e.g. rmat_[transp]_vmult

for consistency always call the fuctions x_rmat_[transp]_vmult,
FLOAT_RMAT_VECT3_MUL and FLOAT_RMAT_VECT3_TRANSP_MUL are removed.


  Commit: a3e860ccb7565db3e0ab4e7d5df4ee4003589664
      
https://github.com/paparazzi/paparazzi/commit/a3e860ccb7565db3e0ab4e7d5df4ee4003589664
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/math/pprz_algebra_int.c
    M sw/airborne/math/pprz_algebra_int.h

  Log Message:
  -----------
  [math] some dox updates


  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...


  Commit: dd1746bd83421c130bf861138124482861a9dbeb
      
https://github.com/paparazzi/paparazzi/commit/dd1746bd83421c130bf861138124482861a9dbeb
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M sw/airborne/math/pprz_algebra_float.h
    M sw/airborne/subsystems/ins/ins_float_invariant.c

  Log Message:
  -----------
  [math][ins] rewrite/move some math to ins_float_invariant

- use float_quat_vmult instead of FLOAT_QUAT_RMAT_B2N|N2B
- use float_quat_derivative instead of float_quat_vmul_left


  Commit: 42192213e5e63151a1bcd6944c99cb7fdf2f0b9c
      
https://github.com/paparazzi/paparazzi/commit/42192213e5e63151a1bcd6944c99cb7fdf2f0b9c
  Author: Felix Ruess <address@hidden>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M conf/firmwares/rotorcraft.makefile
    M conf/firmwares/subsystems/fixedwing/autopilot.makefile
    M conf/firmwares/subsystems/rotorcraft/fdm_jsbsim.makefile
    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/navigation.h
    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/fms/libeknav/libeknav_from_log.cpp
    M sw/airborne/math/Makefile
    M sw/airborne/math/README
    M sw/airborne/math/pprz_algebra.h
    A sw/airborne/math/pprz_algebra_double.c
    M sw/airborne/math/pprz_algebra_double.h
    A sw/airborne/math/pprz_algebra_float.c
    M sw/airborne/math/pprz_algebra_float.h
    A sw/airborne/math/pprz_algebra_int.c
    M sw/airborne/math/pprz_algebra_int.h
    M sw/airborne/math/pprz_geodetic.h
    M sw/airborne/math/pprz_geodetic_double.c
    M sw/airborne/math/pprz_geodetic_double.h
    M sw/airborne/math/pprz_geodetic_float.c
    M sw/airborne/math/pprz_geodetic_float.h
    M sw/airborne/math/pprz_geodetic_int.c
    M sw/airborne/math/pprz_geodetic_int.h
    M sw/airborne/math/pprz_geodetic_utm.h
    M sw/airborne/math/pprz_geodetic_wgs84.h
    M sw/airborne/math/pprz_geodetic_wmm2010.c
    M sw/airborne/math/pprz_geodetic_wmm2010.h
    M sw/airborne/math/pprz_isa.h
    M sw/airborne/math/pprz_matrix_decomp_float.c
    M sw/airborne/math/pprz_matrix_decomp_float.h
    M sw/airborne/math/pprz_orientation_conversion.c
    M sw/airborne/math/pprz_orientation_conversion.h
    M sw/airborne/math/pprz_rk_float.h
    M sw/airborne/math/pprz_simple_matrix.h
    M sw/airborne/math/pprz_stat.h
    M sw/airborne/math/pprz_trig_int.c
    M sw/airborne/math/pprz_trig_int.h
    M sw/airborne/modules/cam_control/rotorcraft_cam.c
    M sw/airborne/modules/digital_cam/hackhd.c
    M sw/airborne/modules/geo_mag/geo_mag.c
    M sw/airborne/modules/geo_mag/geo_mag.h
    M sw/airborne/modules/ins/ins_vn100.c
    M sw/airborne/modules/ins/ins_xsens.c
    M sw/airborne/modules/ins/ins_xsens700.c
    M sw/airborne/modules/mission/mission_rotorcraft_nav.c
    M sw/airborne/modules/multi/follow.c
    M sw/airborne/modules/nav/nav_catapult.c
    M sw/airborne/modules/nav/nav_spiral.c
    M sw/airborne/modules/nav/nav_survey_disc.c
    M sw/airborne/modules/nav/nav_survey_polygon.c
    M sw/airborne/state.c
    M sw/airborne/state.h
    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_ardrone2.c
    M sw/airborne/subsystems/ins/ins_float_invariant.c
    M sw/airborne/subsystems/ins/ins_int.c
    M sw/airborne/test/Makefile
    M sw/airborne/test/ahrs/run_ahrs_on_synth.c
    M sw/airborne/test/pprz_algebra_print.h
    M sw/airborne/test/stabilization/setup.py
    M sw/airborne/test/test_algebra.c
    M sw/airborne/test/test_bla.c
    M sw/ground_segment/misc/Makefile
    M sw/ground_segment/misc/natnet2ivy.c
    M sw/simulator/nps/nps_fdm_jsbsim.cpp
    M sw/simulator/nps/nps_ivy_common.c
    M sw/simulator/nps/nps_sensor_accel.c
    M sw/simulator/nps/nps_sensor_mag.c

  Log Message:
  -----------
  Merge branch 'math_functions'

Convert most type specific macros to functions and general cleanup.
This should make the code easier to use, debug and wrap externally. 
Additionally code size probably reduces since it's not all inline anymore...

Also cleaned up all the headers and added extern "C" to all the header files 
the math lib can easier be used in C++ applications.

So far the macros still exist and call the respective functions for backwards 
compatibility.

Merging pull request #819

* math_functions: (32 commits)
  [math][ins] rewrite/move some math to ins_float_invariant
  [airborne] use math functions instead of macros
  [math] some dox updates
  [math] more cleanup, e.g. rmat_[transp]_vmult
  [math] rmat|quat_identity functions
  [math] add double versions for vect3/quat norm
  [math] VECTx_NORM updates
  [math] int32_rmat_*mult functions
  [math] algebra: remove some more type specific macros
  [math] more x_integrate_fi functions
  [math] fix code style
  [math] geodetic: RMat instead of Mat33 for ltp_of_ecef
  [math] remove some unused or type specifc VECTx macros
  [math] add float_quat_integrate_fi
  [math] set default PAPARAZZI_SRC
  [test] add math c files
  [math] add missing alias
  [math] wgs84_ellipsoid_to_geoid as function
  [math] use math functions in orientation conversion
  [misc] fix natnet2ivy compilation
  ...


Compare: 
https://github.com/paparazzi/paparazzi/compare/005327a516bd...42192213e5e6

reply via email to

[Prev in Thread] Current Thread [Next in Thread]