FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add Raspberry Pi Pico 2 ARM support by lily-Robot · Pull Request #379 · pikasTech/PikaPython · GitHub

feat: add Raspberry Pi Pico 2 ARM support - #379

Open
lily-Robot wants to merge 1 commit into
pikasTech:v2from
lily-Robot:v2
Open

feat: add Raspberry Pi Pico 2 ARM support#379
lily-Robot wants to merge 1 commit into
pikasTech:v2from
lily-Robot:v2

Conversation

Copy link
Copy Markdown

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;

fix(fuzzypid): change membership_types storage array to uint32_t to match algorithm interface and fix ARM cross-compilation incompatible pointer type error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL