vec3d origin; mat3d mat; Not Found Error

Topics related to the Lighthouse positioning system, configuration and use
Post Reply
barismetin
Beginner
Posts: 7
Joined: Wed May 27, 2020 7:25 pm

vec3d origin; mat3d mat; Not Found Error

Post by barismetin »

I try to implement the position function in to cubeMX IDE STM32F303RE controller. The system outputs the following error I am not sure what kind of issue is related. I include all the libraries and other directory in to the complying. Thank you.


Part of the code is giving Error
typedef struct baseStationGeometry_s {
vec3d origin;
mat3d mat;
} __attribute__((packed)) baseStationGeometry_t;

ERROR MESSAGE:

../Inc/lighthouse_geomerty.h:20:3: error: unknown type name 'vec3d'
vec3d origin;
^~~~~
../Inc/lighthouse_geomerty.h:21:3: error: unknown type name 'mat3d'
mat3d mat;
^~~~~

The image : https://ibb.co/BG0rDYd

:geek:
Attachments
Capture.png
arnaud
Bitcraze
Posts: 2310
Joined: Tue Feb 06, 2007 12:36 pm

Re: vec3d origin; mat3d mat; Not Found Error

Post by arnaud »

Hi! I think You need to include "stabilizer_types.h" where these types are declared.
Post Reply