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
vec3d origin; mat3d mat; Not Found Error
-
- Beginner
- Posts: 7
- Joined: Wed May 27, 2020 7:25 pm
Re: vec3d origin; mat3d mat; Not Found Error
Hi! I think You need to include "stabilizer_types.h" where these types are declared.