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
I am using Reinforcement Learning with Artery and wanted to integrate veins-gym. Based on the example provided here, I want to build an executable using opp_makemake and make, which I can be used in conjunction with a Python script via veins-gym.
I have managed to integrate the connection between Artery and veins-gym, allowing me to run a simulation with an OpenAI agent (with cmake --build build --target run_my_reinforcement_scenario). However, to automate the learning phase, I want to try to create an executable just like Omnet++ vanilla does.
Is there a way to build the executable without directly running the simulation when using CMake? I haven't found a solution yet. Am I missing something in the process, or is there an alternative approach to achieve this?
Thank you for your help!
Here is the result with (with cmake --build build --target run_my_reinforcement_scenario) :
The text was updated successfully, but these errors were encountered:
From what I have seen, I think you don't strictly need a standalone Artery executable, but the command line arguments needed to start your particular scenario. At least I have found no reason why an "artery" executable would be superior to the existing "opp_run".
We have already created a kind of wrapper script named "run_artery.sh" in the build directory, which allows you to start up an Artery simulation without using CMake run_X targets. Maybe that is already suitable for your use case? If it's not quite there, we may be able to extend it for your use case?
Hello,
I am using Reinforcement Learning with Artery and wanted to integrate veins-gym. Based on the example provided here, I want to build an executable using opp_makemake and make, which I can be used in conjunction with a Python script via veins-gym.
I have managed to integrate the connection between Artery and veins-gym, allowing me to run a simulation with an OpenAI agent (with cmake --build build --target run_my_reinforcement_scenario). However, to automate the learning phase, I want to try to create an executable just like Omnet++ vanilla does.
Is there a way to build the executable without directly running the simulation when using CMake? I haven't found a solution yet. Am I missing something in the process, or is there an alternative approach to achieve this?
Thank you for your help!
Here is the result with (with cmake --build build --target run_my_reinforcement_scenario) :
The text was updated successfully, but these errors were encountered: