Skip to content

GearsPlus example sketch (mech model) crashes Giga R1 #3

Open
@MaffooClock

Description

@MaffooClock

After successfully compiling and uploading the GearsPlus example sketch (nothing changed, so MODEL == MECH), the Giga R1 crashes immediately. I observed this in release v0.0.1 as well as with the HEAD revision.

I don't have a way to connect to Serial1 to obtain the crash dump at this time, but I will update this issue later when I do.

In the meantime, I did a little troubleshooting the ol' fashioned way: commenting out chunks until it worked, then un-commenting one piece at a time until it crashed again. I found that the crash occurs in these places:

  1. gluDisk(BarrelFace[i], 0.1, 0.15, 16, 10);
  2. gluCylinder(Barrel2[i], 0.1, 0.1, 0.1, 16, 5);
  3. gluDisk(BarrelFace2[i], 0.06, 0.1, 16, 5);

...if I comment out those three lines, I see a walking wireframe mech character.

I understand that this is just a demo, and that the library is experimental, so I don't expect this to be any sort of a priority. I'm primarily sharing this for anyone else who might want to try the GearsPlus example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions