Page 1 of 1

vec3d origin; mat3d mat; Not Found Error

Posted: Mon Aug 17, 2020 4:37 pm
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:

Re: vec3d origin; mat3d mat; Not Found Error

Posted: Tue Aug 18, 2020 9:46 am
by arnaud
Hi! I think You need to include "stabilizer_types.h" where these types are declared.