You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the configuration table is saved on an JSON file: it is easy to work with and we do not need to compile each time the project to make a change effective.
These configurations are saved on the commun directory, and previous tables examples are still in the project. For example, this is the 2018's json file.
Every new year, we need to create this file using the Cup rules. This task is very important to make working:
the simulator
the known environment of the robot
emplacement of unauthorized moves
emplacement of each object to work with
To realize this job more conveniently, @BynaryCobweb developed a python graphical application which exports a the json file. Then, the file needs to be saved in the same directory that previous years' configurations.
Remember, after each modification, you should rerun cmake (in CLion: Tools -> CMake -> Reload CMake Project) to make modifications effective, because the configuration is copied by this CMakeLists.txt on the C++ code.
The file needs to contain these data:
type, angle, size and dimensions - used by both environment and simulator
color, dynamic type, mass, enabled flag - for the simulator
enabled flag - for the environment; walls are enabled to make the robot able to calculate its trajectory, but cubes are not because they don't influence the navigation
All the configuration table is saved on an JSON file: it is easy to work with and we do not need to compile each time the project to make a change effective.
These configurations are saved on the
commun
directory, and previous tables examples are still in the project. For example, this is the 2018's json file.Every new year, we need to create this file using the Cup rules. This task is very important to make working:
To realize this job more conveniently, @BynaryCobweb developed a python graphical application which exports a the json file. Then, the file needs to be saved in the same directory that previous years' configurations.
Remember, after each modification, you should rerun cmake (in CLion:
Tools -> CMake -> Reload CMake Project
) to make modifications effective, because the configuration is copied by this CMakeLists.txt on the C++ code.The file needs to contain these data:
If it might help you, the JSON file is used here for the environment and here for the simulator.
The text was updated successfully, but these errors were encountered: