Autodesk/synthesis

The json skeleton file created by Invertor Robot Exporter does not function correctly with emulator code

Mechanist0 opened this issue · 1 comments

The Bug
Apon using InventorRobotExporter, the skeleton.json file is incorrect somehow and causes emulation code to break. The problem gets fixed when the skeleton.json gets manually translated to a skeleton.bxdj.

To Reproduce
Steps to reproduce the behavior:

  1. Choose the robot "[Test 2(Json)] (https://github.com/Autodesk/synthesis/files/6416720/Test.2.Json.zip)
  2. Go to emulation and start the emulator
  3. Click select code and choose [IDK.jar] (https://github.com/Autodesk/synthesis/files/6416730/IDK.zip)
  4. Click Run with the emulator
  5. Run the robot in autonomous
  6. Robot does not move

Expected behavior
Robot Should move forward forever

Proof of fix

  1. Choose the robot [Test 2(BXDJ)] (https://github.com/Autodesk/synthesis/files/6416719/Test.2.BXDJ.zip)
  2. Go to emulation and start the emulator
  3. Click select code and choose [IDK.jar] (https://github.com/Autodesk/synthesis/files/6416730/IDK.zip)
  4. Click Run with the emulator
  5. Run the robot in autonomous
  6. Wait 10-20 seconds and the robot will move

Versions

  • Windows 10
  • Synthesis Version 4.3.3.2
  • WPIlib version 2021.2.2

Closing because Inventor Addin is no longer supported.