Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Artoria2e5 opened this issue Oct 22, 2015 · 0 comments

Comments

@Artoria2e5
Copy link

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.

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

No branches or pull requests

1 participant