Comments (6)
I can't tell from the error message, and right now don't have enough time to run this myself.
The speedy alt router for dvrp is in principle replaceable, but you are right that it does not use the config setting from controler. If you wanted to bushwhack your way forward, the approach would be:
- inline the
TaxiControlerCreator
material. - inline the
MultiModeTaxiModule
material. - inline the
TaxiModeModule
material. And there, change the routing factory.
But I am not recommending this. :-|
People tell me that "drt" is better maintained than "taxi". Can't say of that would help in this case here ...
I will ask other people to step in with help.
PS: Thank you so much for providing so much material.
from matsim-maas.
Thanks for reporting this issue. There was a bug in the landmark calculation, it should be fixed now: matsim-org/matsim-libs#2559.
There is also one more error: please remove the route
element from all taxi legs
in the input plans.
from matsim-maas.
This PR brings in the fix in matsim-libs to matsim-maas: #106. Please use this matsim version (or newer).
from matsim-maas.
Great, thank you for looking into this so quickly.
I also suspected missing landmarks in the roundabout network, so my plan for today was to try with a bigger network, but I will now go on with the fix and report back.
from matsim-maas.
Thanks again, the scenario robotaxi+roundabout runs through now.
One minor comment/question:
QSim seems to want the agents to walk:
Caused by: java.lang.RuntimeException: just encountered mode for which no scoring parameters are defined: walk
at org.matsim.core.scoring.functions.CharyparNagelLegScoring.calcLegScore(CharyparNagelLegScoring.java:114)
at org.matsim.core.scoring.functions.CharyparNagelLegScoring.handleLeg(CharyparNagelLegScoring.java:192)
at org.matsim.core.scoring.SumScoringFunction.handleLeg(SumScoringFunction.java:115)
at org.matsim.core.scoring.ScoringFunctionsForPopulation.handleLeg(ScoringFunctionsForPopulation.java:232)
at org.matsim.core.scoring.EventsToLegs.handleEvent(EventsToLegs.java:354)
at org.matsim.core.scoring.ScoringFunctionsForPopulation.handleEvent(ScoringFunctionsForPopulation.java:185)
at org.matsim.core.events.EventsManagerImpl.callHandlerFast(EventsManagerImpl.java:294)
at org.matsim.core.events.EventsManagerImpl.processEvent(EventsManagerImpl.java:119)
at org.matsim.core.events.SimStepParallelEventsManagerImpl$ProcessEventsRunnable.run(SimStepParallelEventsManagerImpl.java:344)
at java.base/java.lang.Thread.run(Thread.java:833)
But neither the original robotaxi_config.xml nor the roundabout.xml define modeParams
for walk
. When I add walk
in my modeParams
, the simulation runs through again:
<parameterset type="modeParams">
<param name="mode" value="walk" />
</parameterset>
So while I appreciate QSim to motivate the agents for physical activity, I still wonder why this situation never happened when I ran roundabout and robotaxi seperately, both without defining a modeParam
for walk
?
from matsim-maas.
Matsim may need walk legs to "bushwhack" from facilities to the network. So it is in principle possible that it needs scoring values for walk even if walk is not used as a "main" mode. So maybe such a "bushwhacking walk" was not necessary in the robotaxi example, but they become necessary when combining robotaxi and roundabout. (Or not: Please spend some time checking at least in the plans file where these walk legs show up.)
from matsim-maas.
Related Issues (20)
- event handling for drt wait times HOT 2
- Error trying to build and run examples in mass/drt HOT 4
- Deepening Understanding of dvrp Assignment Algorythm HOT 5
- Sharaeble av fleet with congestion pricing network HOT 1
- Is DVRP executed in synchronous way with the simulation? HOT 3
- Via aggregation analysis of drt wait time HOT 3
- Question about multi modal simulation
- Error in running MATSim-MAAS example HOT 4
- Where to Start For Using DVRP Extension HOT 1
- org.matsim.run.gui does not exist HOT 3
- What is the Coordinate System of the Cottbus Scenario in this package? HOT 1
- Trying to understand walk-legs within taxi and drtdoor2door trips HOT 4
- How to make sav cruising HOT 4
- AbstractDvrpModeModule.bindModal error
- General question about autonomous vehicles
- Implementing private cars and compare with drt scenario
- Implement charging points for electric autonomous vehicles
- illogical result of the total kilometers driven by the vehicles
- how differentiate driverless and human-driven door-to-door scenario?
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 matsim-maas.