Skip to content
Snippets Groups Projects
Commit 528d19b7 authored by Matteo Pancotti's avatar Matteo Pancotti Committed by Nicolò Caruso
Browse files

[ARP] propagator with acceleration

[ARP] chage of some names in PropagatorState structure

[ARP] suggested changes

[ARP]PropagatorData could not be logged, propagator algorithm improved

[ARP] format

[ARP] Last changes before internal merge

Now only z-axis acceleration is used to propagate + some comments added.

[ARP] Propagator max propagation time

- Propagator: Changed a little the structure to have an overall maximum time for the propagation from the last received packet

[ARP] Fixed max time propagation and acceleration

- Acceleration (Propagator): Now the time to compute the acceleration is correctly converted to seconds (before it was wrongly on micros)

- Fix max time (Propagator): The maximum propagation time was not applied due to wrong sign in the statement to check the propagation time

[ARP] Fixed type issue with acceleration

- Fixed error type for the acceleration: Since all types were uint, the casting was to uint for the acceleration. This caused infinite acceleration to be reached in case of times near to 0 seconds

[ARP] Minor fixes for MR

- Follwer: Added mutex for the init function, removed unused init variable

- Propagator: Using now chrono for the MAX_ACCELERATION_TIME and to constexpr
parent a3a0b767
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment