Skip to content

[Critical BUG] Motor position counter keeps at zero in KISS IDE simulator, breaking several functions #10

@Artoria2e5

Description

@Artoria2e5

I am using the KISS IDE 5.2.2 bundle (at least it claims itself to be 5.2.2 on the program title), on Windows 10. I am not sure what the libkovan version is, since the doxygen doc only gives a dummy value 1 (ah, another bug).

So here is the minimal code to reproduce it:

// Say, Um, motors.h?

int main(void)
{
    motor (0, 100);
    while (msleep (50), 1)
        printf ("POS\t%d\n", get_motor_position_counter(0));
    return 0;
}

On a robot it will be fine, but on a simulator it keeps giving zero. This breaks important functions include move_relative_position, and causes a lot of trouble since coders (especially Botball participants) will always need an actual bot to test the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions