FMS Data

How can we test our code that will be based on FMS data? Is there a way to emulate a game or the data in order to perform the tests?

You can send custom game data through the Driver Station

Is there a way to emulate “pushing” the FMS data to the Driver Station? In other words, I don’t want to manually enter this data, I want to see that my Driver Station pulls it.

The page Jaci linked might clarify this for you. In the new DS, you can input the “game specific” data and code will treat it as if it’s FMS data, same code as the real deal. Specifically, here’s something which I think answers your question For the 2020 season software documentation has been moved to Documentation for KOP items can still be found here. | FRC KOP Documentation .

You still have to manually enter data, but not in a magic number style, and it emulates FMS as well.

Right, I’ve read through that page, and you have to manually enter the data. I would like to automate that task so that there isn’t any ‘human intervention’ in setting practice autons.

It doesn’t look like there is a built in way to automate this.

One idea would be to set some invalid data in the DS (like “XXX”) and then in the code do something else when it sees that data, like read from network tables to decide what to do.

Or you could just detect if the FMS is connected and ignore the data from the DS.