First udp communcation is working

This commit is contained in:
Pascal Serrarens 2025-02-24 12:54:06 +01:00
parent fea15c31ca
commit 95a248ab6e
2 changed files with 12 additions and 0 deletions

View File

@ -91,6 +91,12 @@ protected:
using DirectionSingle = DirectionOf<float>; using DirectionSingle = DirectionOf<float>;
using Direction16 = DirectionOf<signed short>; using Direction16 = DirectionOf<signed short>;
#if defined(ARDUINO)
using Direction = Direction16;
#else
using Direction = DirectionSingle;
#endif
} // namespace LinearAlgebra } // namespace LinearAlgebra
} // namespace Passer } // namespace Passer
using namespace Passer::LinearAlgebra; using namespace Passer::LinearAlgebra;

View File

@ -180,6 +180,12 @@ using SphericalSingle = SphericalOf<float>;
/// hardware /// hardware
using Spherical16 = SphericalOf<signed short>; using Spherical16 = SphericalOf<signed short>;
#if defined(ARDUINO)
using Spherical = Spherical16;
#else
using Spherical = SphericalSingle;
#endif
} // namespace LinearAlgebra } // namespace LinearAlgebra
} // namespace Passer } // namespace Passer
using namespace Passer::LinearAlgebra; using namespace Passer::LinearAlgebra;