Skip to content

Commit

Permalink
#427 Corrected order in struct for LH geometry data and set it to packed
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed May 3, 2019
1 parent 2371997 commit dbb8feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/interface/lighthouse/lighthouse_geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
typedef float vec3d[vec3d_size];

typedef struct baseStationGeometry_s {
float mat[3][3];
float origin[3];
} baseStationGeometry_t;
float mat[3][3];
} __attribute__((packed)) baseStationGeometry_t;

bool lighthouseGeometryGetPosition(baseStationGeometry_t baseStations[2], float angles[4], vec3d position, float *position_delta);

0 comments on commit dbb8feb

Please sign in to comment.