macrobomastercontrolteam / Task_Board

Board of all tasks for control team
0 stars 0 forks source link

Optimize math calculations #43

Open GJSK-Novice opened 4 months ago

GJSK-Novice commented 4 months ago

Ways exist to improve our calculations:

  1. use library functions similar to arm_mat_mult_f32 to calculate matrix multiplication instead of a custom for-loop function to make calculation faster.
  2. Seems like arm_sin_cos_f32 can generate sin and cos values in parallel, investigate and use it in our code if applicable.
  3. Some intermediate values can be calculated in parallel and/or reused.