Comments (8)
Hi @serapergun,
I am having some trouble understanding precisely what your problem is.
What I understand is: You want to modify the omnetpp.ini
configuration file (e.g., using a different application type) but the simulation appears unchanged.
Maybe, you are having issues with how configuration overwriting works in OMNeT++ (best match wins) see the manual.
For debugging, it might be helpful to run the Veins/OMNeT++ simulation separately and with the QtEnv GUI enabled, so you can inspect the details. See the Readme of veins-gym on how to do that.
Aside from that, I would need more description or (even better) an example of a changed omnetpp.ini
file to understand what might be the issue.
Best,
Dominik
from serpentine-env.
Hi @dbuse,
Firstly, thank you for quick replay.
You understood me exactly right.
I wrote a new application type about decision making and a new car module.I want to use them.
For example I changes as follow:
network = HeteroScenario
*.manager.moduleType = "serpentine.HeteroGenericNode"
.node[].applType = "DecisionMakerApp"
*.gym_connection.action_space = "gym.spaces.Discrete(2)"
In random_agent file, I added this line:
"user_interface": "Qtenv",
thanks to this line, I saw GUI perfectly. And also the results of rewards and observations in Console.
However, I could not see the effects of my added files.
Regards,
Serap
from serpentine-env.
So the simulation still uses the previous network
/moduleType
/applType
/etc.?
Did you change the lines in the omnetpp.ini
file or add your own at the bottom (potentially in a different config)?
Maybe providing the full diff of the omnetpp.ini
file or pushing your changes to github could help. There is many places where these issues may be coming from.
from serpentine-env.
I just changed the 4 lines in the omnetpp.ini file (in the previous comment) which is under serpentine-env/scenario.
I add project reference as SimulTE. And I used the nodes from there by importing as:
import lib.veins.src.veins.nodes.HeteroNodeCar;
from serpentine-env.
So in the GUI, if you clock on the node[0]
element in the canvas and check its configuration in the explorer on the left, its applType
is still the default and not your "DecisionMakerApp"
?
Again, this is hard do tell from what and how you have posted it.
Though this seems to be a problem located only within the Veins/OMNeT++ side of the system. So you could run your Veins scenario without an agent and inspect/debug it to investigate the error.
from serpentine-env.
Hello
I am trying to replicate the serpentine-env code using Ubuntu 18.04 virtual machine. The requirements installed were Sumo 1.6.0, Omnet++ 5.6.2, and protoc version libprotoc 3.5.0. I have some problems with protoc version. The message is "This file was generated by an older version of protoc which is". Can you tell me the protoc version that you use to test and implement the serpentine env.
Regards, Andres
from serpentine-env.
Hi @andresq99
for our demo environment in the docker container, we successfully used the following version
$ docker run -it --rm ghcr.io/tkn-tub/veins-gym:0.3.3 protoc --version
libprotoc 3.6.1
from serpentine-env.
I forgot to write here.
Whenever I made a change in ini file about gym, I figure out that it should be run snakemake -jall to set environment.
I'm sharing it in case if there is someone who needs it and lost their months like me.
Thanks,
from serpentine-env.
Related Issues (17)
- Error in rule configure_veins_vlc, configure_veins, protobuf HOT 10
- Is it possible to increase followers and leaders? HOT 2
- The Message Types
- Problem while runing 'snamke -jall' for installing HOT 1
- Cannot resolve module type Error
- Error while runing "snakemake -j4"
- Error while runing 'snamke -jall' for installing HOT 2
- command not found while running "snakemake -jall" HOT 1
- snakemake -jall not working on macOS
- pip install veins_gym snakemake HOT 1
- snakemake -jall produces an error HOT 3
- Creating a connection HOT 8
- After snakemake -jall, there are a lot of errors, HOT 2
- I want to see the animation in Qtenv for scenario HOT 2
- ZmQ error HOT 2
- AssertionError: Observation space (None) does not inherit from gym.spaces.Space HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serpentine-env.