New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meaningless motorizedInteraction
s in bicycle contrib
#2103
Comments
I have never tested the Motorized interaction. Looking at the code now, it looks more like a test set up than anything which is usable already. I will reach out to @dziemke about the state of this feature.
This is indeed expectable. The |
Like @Janekdererste assumes the |
Thanks @Janekdererste and @dziemke for the insight. It would be good to signpost/warn the potential user about this somewhere, I spent a non trivial amount of time convinced that if all of this stuff around |
Hello, I'm attempting to run simulations using the bicycle contrib and trying to understand the
motorizedInteraction
events. So far I have only managed to see them appear when using the RunBicycleExample and changing considerMotorizedInteraction totrue
. The resulting events seem meaningless, they appear every 3 seconds and don't carry any data:Reading the code for MotorizedInteractionEngine explains the 3 seconds frequency, though I would still expect the events to look in the following way:
The events of type
motorizedInteraction
are used later in link scoring, so there must be a way to have them appear in a meaningful way, and I have a feeling it may have something to do with my not being able to switch them on with my own controller. I noted the comment in MotorizedInteractionEngine, in particular:In my own controller I only rely on the config setting
which I think is equivalent to what I see in the example bicycle controller (running my controller in debug mode, I can see the same
StringSetter
methodsetMotorizedInteraction
being used).So there are a couple of things I'm confused about:
motorizedInteraction
, but the events appear.MotorizedInteractionEngine
- do I need to set something up myself?I would appreciate any pointers you can give me to be able to set up meaningful
motorizedInteraction
s. Thanks in advance!my setup notes
matsim and bicycle contrib version 14.0
my controller:
bicycle module config
Mobsim: Hermes
The text was updated successfully, but these errors were encountered: