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
My scenario:
A truck controlled by Storyboard will stop and send a DEN message, and vehicles receiving this message will stop or avoid the choosing the road where the truck is.
My work:
I added my DEN use case (IcyRoadUseCase) under artery/src/artery/application/den/ and modified mt-its2017 scenario to use my usecase (the reason I modified is because I don't know how to create a new one, I tried this: #49 but I wasn't successful) .
The problem and relevant test:
Whenever I run the altered mt-its2017, i get the following error:
Class "artery::den::IcyRoad" not found -- perhaps its code was not linked in, or
the class wasn't registered with Register_Class(), or in the case of modules and channels,
with Define_Module()/Define_Channel() -- in module (artery::DenService) World.node[0].middleware.DEN (id=85),
at t=0.1s, event 2
From my understanding, the error is saying that the module is not defined, but it is:
So it seems the Makefiles are not compiling my IcyRoadUseCase, because in src/artery/CMakeFiles/core.dir/application/den it only shows the other usecases.o
I am very grateful of the work you have done and am using it for my master's thesis. Thank you for your help :D
Additional information:
services.xml:
service type="artery.application.DenService" name="DEN">
listener port="2002" />
please add your new source files to src/artery/CMakeLists.txt so they are compiled and linked into the final binary. In your particular case this would be a line "application/den/IcyRoadUseCase.cc" added to the add_library(core ...) target.
Hello,
With the help of your work, I can build some simple scenarios of my own. Thanks so much!!
Much similarly to #60 (comment)
My scenario:
A truck controlled by Storyboard will stop and send a DEN message, and vehicles receiving this message will stop or avoid the choosing the road where the truck is.
My work:
I added my DEN use case (IcyRoadUseCase) under artery/src/artery/application/den/ and modified mt-its2017 scenario to use my usecase (the reason I modified is because I don't know how to create a new one, I tried this: #49 but I wasn't successful) .
The problem and relevant test:
Whenever I run the altered mt-its2017, i get the following error:
Class "artery::den::IcyRoad" not found -- perhaps its code was not linked in, or
the class wasn't registered with Register_Class(), or in the case of modules and channels,
with Define_Module()/Define_Channel() -- in module (artery::DenService) World.node[0].middleware.DEN (id=85),
at t=0.1s, event 2
From my understanding, the error is saying that the module is not defined, but it is:
So it seems the Makefiles are not compiling my IcyRoadUseCase, because in src/artery/CMakeFiles/core.dir/application/den it only shows the other usecases.o
I am very grateful of the work you have done and am using it for my master's thesis. Thank you for your help :D
Additional information:
services.xml:
service type="artery.application.DenService" name="DEN">
listener port="2002" />
usecases.xml:
usecase type="artery.application.den.IcyRoad" />
The text was updated successfully, but these errors were encountered: