nasa / trick

Trick Simulation Environment. Trick provides a common set of simulation capabilities and utilities to build simulations automatically.
Other
34 stars 19 forks source link

how to use json in nasaTrick #1725

Closed fzehraa closed 4 months ago

fzehraa commented 4 months ago

Hi! I'm attempting to read data from a JSON file to update my object's state. I've tried including and adding different libraries for this task, but none of them seem to be working. Could you help me out?

sharmeye commented 4 months ago

This is a very case-specific issue with your sim implementation. Trick has no native support for JSON parsing, so you'll likely need to investigate why your system doesn't have the right packages installed. If you need help, perhaps you might consult https://www.w3schools.com.