| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
fix(fuzzypid): change membership_types storage array to uint32_t to match algorithm interface and fix ARM cross-compilation incompatible pointer type error
| Back | FazBrowse Home | New Git URL |
Pico 2 dual-architecture BSP is complete. But only support M33 , RISC-V has been't already .
fix(fuzzypid): change membership_types storage array to uint32_t to match algorithm interface and fix ARM cross-compilation incompatible pointer type error
typedef struct { int rules[PIKA_FUZZYPID_RULE_VALUE_COUNT]; int mf_parameters[PIKA_FUZZYPID_MF_PARAMETER_COUNT]; PikaFuzzyPidState pids[PIKA_FUZZYPID_DOF_LIMIT]; PikaFuzzyPidInference fuzzy[PIKA_FUZZYPID_DOF_LIMIT]; - unsigned int mf_types[PIKA_FUZZYPID_DOF_LIMIT] + uint32_t mf_types[PIKA_FUZZYPID_DOF_LIMIT] [PIKA_FUZZYPID_MAX_MF_TYPES]; float fuzzy_outputs[PIKA_FUZZYPID_DOF_LIMIT] [PIKA_FUZZYPID_MAX_FUZZY_OUTPUTS]; uint8_t directions[PIKA_FUZZYPID_DOF_LIMIT]; uint8_t count; uint8_t closed; uint8_t active; } PikaFuzzyPidController;