GradleRIO icon indicating copy to clipboard operation
GradleRIO copied to clipboard

Feature Request: Differentiate between Desktop Simulation and Desktop-with-hardware

Open JCaporuscio opened this issue 2 years ago • 2 comments

Up until now the desktop use-case has only been for pure simulation.

With CANivore the Phoenix libraries now support running a desktop application that utilizes a locally (USB) connected CANivore for the CAN bus. We can currently support this by having users swap out the Phoenix vendordep depending on if they want pure simulation or hardware-attached simulation, but it would be significantly easier if GradleRIO/vscode natively supported each of these configurations.

Ideally this would be an addition to the debug drop-down menu with an appropriate key addition to the vendordep json spec.

JCaporuscio avatar Feb 05 '22 00:02 JCaporuscio

I'm not sure this is something we could get done for this season, as I'd probably want to take some time to flesh out the design. I definitely think its worth doing something though. Getting this working in C++ is also more invasive especially on the VS Code side, as we would have to switch between modes before doing a build, which is a pretty major change.

ThadHouse avatar Feb 05 '22 04:02 ThadHouse

On the RobotPy side, I'm strongly biased towards some kind of runtime switch instead of a compile time switch.

virtuald avatar Feb 20 '22 03:02 virtuald

I think this is complete and can be closed? Since "Hardware Simulate Robot" is now an option. Unless there's still a user-facing documentation component that's still missing.

JCaporuscio avatar Mar 02 '23 14:03 JCaporuscio

This can be closed. I want to do more documentation, but thats just a general thing.

ThadHouse avatar Sep 01 '23 21:09 ThadHouse