Giter VIP home page Giter VIP logo

amod's Introduction

amodeus.amod Build Status

This repository allows to run an autonomous mobility-on-demand scenario using the amodeus library.

Try it, orchestrate your own fleet of amod-taxis! Watch a visualization of a traffic simulation in San Francisco generated using this repository.

p1t1

p1t4

p1t3

p1t2

Admins

AMoDeus is jointly maintained and further developed by the Admins and Code Owners Christian Fluri (ETH Zürich), Joel Gächter (ETH Zürich), Sebastian Hörl (ETH Zürich), Claudio Ruch, Jan Hakenberg, ChengQi Lu (TU Berlin), and Marc Albert (nuTonomy).

Please let us know if you'd like to contribute!

First steps in the amod repository

Prerequisites

  • You may work on a Linux, Mac or Windows OS with a set of different possible IDEs. The combination Ubuntu, Java 8, Eclipse has worked well.
  • Install Java SE Development Kit (version 8, or above)
  • Install Apache Maven
  • Install IDE (ideally Eclipse Oxygen or Photon)
  • Install GLPK and GLPK for Java (Ensure you install compatible versions, e.g. here)
    • Prerequisites are: GCC, Libtool, Swig and Subversion
  • Install Git and connect to GitHub with SSH

The code format of the amod repository is specified in the amodeus profile that you can import from amodeus-code-style.xml.

Getting Started

Follow these step-by-step instructions or the video to set up, prepare, and run your first simulation. You can get a sample simulation scenario at https://www.amodeus.science/

  1. Clone amod
  2. Import to eclipse as existing maven project (Package Explorer->Import) using the pom.xml in the top folder of this repository.
  3. Set up Run Configurations for: (ScenarioPreparer; ScenarioServer; ScenarioViewer), chose the Working Directory to be the top Simulation Folder directory.
  4. Adjust the simulation settings in the 3 config files: av.xml for av fleet values (e.g. number vehicles), AmodeusOptions.properties for AMoDeus settings (e.g. max number of people) and config.xml for Matsim settings (e.g. output directory).
  5. Add JAVA VM arguments if necessary, e.g., -Xmx10000m to run with 10 GB of RAM and -Dmatsim.preferLocalDtds=true to prefer the local Dtds.
  6. Run the ScenarioPreparer as a Java application: wait until termination
  7. Run the ScenarioServer as a Java application: the simulation should run
  8. Run the ScenarioViewer as a Java application: the visualization of the scenario should open in a separate window

Gallery

usecase_amodeus

Zurich

p1t5

San Francisco

San Francisco

San Francisco

String Interface

TODO improve and adapt documentation, de-dockerize Run docker-compose up to run the San Fransisco simulation. This will run two services, aido-host and aido-guest, which will communicate over port 9382.

The protocol is specified here.


ethz300

amod's People

Contributors

andreacensi avatar breandan avatar claudioglasses avatar datahaki avatar dependabot[bot] avatar huevosabio avatar joelgaechter avatar lsieber avatar sebhoerl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

amod's Issues

'AVConfigGroup doesn't accept unkown parameters' error

Hi all. I've downloaded the amod-tutorial project and the San Francisco scenario and tried to run the 'ScenarioPreparer' on it, but got the following exception:

Exception in thread "main" java.lang.IllegalArgumentException: Module av of type ch.ethz.matsim.av.config.AVConfigGroup doesn't accept unkown parameters. Parameter config is not part of the valid parameters: [useAccessEgress, numberOfParallelRouters, passengerAnalysisInterval, allowedLinkMode, vehicleAnalysisInterval, enableDistanceAnalysis]
	at org.matsim.core.config.ReflectiveConfigGroup.addParam(ReflectiveConfigGroup.java:225)
	at org.matsim.core.config.ConfigReaderMatsimV2.startParameter(ConfigReaderMatsimV2.java:71)
	at org.matsim.core.config.ConfigReaderMatsimV2.startTag(ConfigReaderMatsimV2.java:61)
	at org.matsim.core.config.ConfigReader.startTag(ConfigReader.java:67)
	at org.matsim.core.utils.io.MatsimXmlParser.startElement(MatsimXmlParser.java:346)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
	at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:766)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at org.matsim.core.utils.io.MatsimXmlParser.parse(MatsimXmlParser.java:193)
	at org.matsim.core.utils.io.MatsimXmlParser.parse(MatsimXmlParser.java:169)
	at org.matsim.core.config.ConfigUtils.loadConfig(ConfigUtils.java:105)
	at org.matsim.core.config.ConfigUtils.loadConfig(ConfigUtils.java:72)
	at ch.ethz.idsc.amod.ScenarioPreparer.run(ScenarioPreparer.java:56)
	at ch.ethz.idsc.amod.ScenarioPreparer.main(ScenarioPreparer.java:34)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMainV2.main(AppMainV2.java:131)

How can I know which configuration file is the problematic one? Is there something crucial I'm missing? Should I try to download the scenario again?
Thanks,
Ruty

Issues When Running ScenarioCreator

Hello guys:

My research mainly focuses on AV ABM simulation. I saw many AMoDeus implementations in the recent publications, therefore I would like to have a try of this interesting platform. But I am new to Maven and Java, so thank you in advance if my questions are too naive :)

I have cloned the latest version AMoDeuS to my IDE (IntelliJ Idea) and used Maven to load the project (following your detailed guidance video). However, my IDE cannot resolve some packages in the class ScenarioCreator as below:
image

I think the content of my pom.xml is complete, but in case there are problems, I have attached it here.
pom.txt

Can anyone give me some suggestions regarding how to make it work on my laptop? Thanks very much for your help!

Cheers,
Jingjun

docker-compose up fails with guice inject errors

jayyuan@jayy-C02WC0ADHTDG:~/code/amod$ docker-compose up
Recreating amod_aido-host_1 ... done
Recreating amod_aido-guest_1 ... done
Attaching to amod_aido-host_1, amod_aido-guest_1
aido-host_1 | StringServerSocket: accept connections
aido-host_1 | StringServerSocket: accept connections
aido-host_1 | StringServerSocket: closed
aido-host_1 | StringServerSocket: thread stop
aido-host_1 | AidoHost config: {SanFrancisco.20080518}
aido-host_1 | obtain as resource: [/scenario/SanFrancisco/20080518/scenario.zip]
aido-host_1 | Using scenario directory: /amod/target
aido-host_1 | 2019-01-04 22:27:40,100 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:40,847 INFO Logger:? dataFileCache open start
aido-host_1 | 2019-01-04 22:27:41,344 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,450 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,450 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,455 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,492 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,533 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,534 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,542 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,552 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,558 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,559 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,561 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,567 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,595 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | 2019-01-04 22:27:41,595 WARN MGC:175 Assuming that coordinates are in longitude first notation, i.e. (longitude, latitude).
aido-host_1 | working in directory
aido-host_1 | /amod/target
aido-host_1 | 2019-01-04 22:27:41,726 INFO Config:563 setting context to [file:/amod/target/]
aido-host_1 | 2019-01-04 22:27:41,817 INFO MatsimXmlParser:155 starting to parse xml from url file:/amod/target/config_full.xml ...
aido-host_1 | 2019-01-04 22:27:41,907 INFO ConfigReader:102 using config_v2-reader
aido-host_1 | 2019-01-04 22:27:41,908 INFO MatsimXmlParser:306 Using local DTD from classpath:dtd/config_v2.dtd
aido-host_1 | 2019-01-04 22:27:41,919 WARN PlanCalcScoreConfigGroup$ActivityParams:744 Setting minimalDuration different from zero is discouraged. It is probably implemented correctly, but there is as of now no indication that it makes the results more realistic. KN, Sep'08 This message given only once.
aido-host_1 | 2019-01-04 22:27:41,925 INFO Config:563 setting context to [file:/amod/target/config_full.xml]
aido-host_1 | 2019-01-04 22:27:41,950 INFO Config:563 setting context to [file:/amod/target/]
aido-host_1 | 2019-01-04 22:27:41,983 INFO ScenarioLoaderImpl:108 loading scenario from base directory: /amod/target/
aido-host_1 | 2019-01-04 22:27:41,983 INFO ScenarioLoaderImpl:130 loading network from file:/amod/target/network.xml.gz
aido-host_1 | 2019-01-04 22:27:41,985 INFO MatsimXmlParser:155 starting to parse xml from url file:/amod/target/network.xml.gz ...
aido-host_1 | 2019-01-04 22:27:41,995 INFO MatsimNetworkReader:95 using network_v2-reader.
aido-host_1 | 2019-01-04 22:27:41,995 INFO MatsimXmlParser:306 Using local DTD from classpath:dtd/network_v2.dtd
aido-host_1 | 2019-01-04 22:27:42,001 INFO NetworkImpl:156 node # 1
aido-host_1 | 2019-01-04 22:27:42,001 INFO NetworkImpl:156 node # 2
aido-host_1 | 2019-01-04 22:27:42,002 INFO NetworkImpl:156 node # 4
aido-host_1 | 2019-01-04 22:27:42,003 INFO NetworkImpl:156 node # 8
aido-host_1 | 2019-01-04 22:27:42,005 INFO NetworkImpl:156 node # 16
aido-host_1 | 2019-01-04 22:27:42,007 INFO NetworkImpl:156 node # 32
aido-host_1 | 2019-01-04 22:27:42,011 INFO NetworkImpl:156 node # 64
aido-host_1 | 2019-01-04 22:27:42,018 INFO NetworkImpl:156 node # 128
aido-host_1 | 2019-01-04 22:27:42,030 INFO NetworkImpl:156 node # 256
aido-host_1 | 2019-01-04 22:27:42,053 INFO NetworkImpl:156 node # 512
aido-host_1 | 2019-01-04 22:27:42,081 INFO NetworkImpl:156 node # 1024
aido-host_1 | 2019-01-04 22:27:42,103 INFO NetworkImpl:156 node # 2048
aido-host_1 | 2019-01-04 22:27:42,123 INFO NetworkImpl:156 node # 4096
aido-host_1 | 2019-01-04 22:27:42,167 INFO NetworkImpl:156 node # 8192
aido-host_1 | 2019-01-04 22:27:42,215 INFO NetworkImpl:156 node # 16384
aido-host_1 | 2019-01-04 22:27:42,257 INFO NetworkImpl:152 link # 1
aido-host_1 | 2019-01-04 22:27:42,258 INFO NetworkImpl:152 link # 2
aido-host_1 | 2019-01-04 22:27:42,259 INFO NetworkImpl:152 link # 4
aido-host_1 | 2019-01-04 22:27:42,260 INFO NetworkImpl:152 link # 8
aido-host_1 | 2019-01-04 22:27:42,261 INFO NetworkImpl:152 link # 16
aido-host_1 | 2019-01-04 22:27:42,263 INFO NetworkImpl:152 link # 32
aido-host_1 | 2019-01-04 22:27:42,266 INFO NetworkImpl:152 link # 64
aido-host_1 | 2019-01-04 22:27:42,270 INFO NetworkImpl:152 link # 128
aido-host_1 | 2019-01-04 22:27:42,277 INFO NetworkImpl:152 link # 256
aido-host_1 | 2019-01-04 22:27:42,283 INFO NetworkImpl:152 link # 512
aido-host_1 | 2019-01-04 22:27:42,291 INFO NetworkImpl:152 link # 1024
aido-host_1 | 2019-01-04 22:27:42,313 WARN LinkImpl:148 length=0.0 of link id 1150 may cause problems
aido-host_1 | 2019-01-04 22:27:42,313 WARN LinkImpl:150 Future occurences of this logging statement are suppressed.
aido-host_1 | 2019-01-04 22:27:42,313 WARN LinkImpl:108 fromNode=toNode=[id=3430831397][coord=[x=1443109.3028544427][y=429941.83570740046]][type=null][nof_inlinks=0][nof_outlinks=0]: link is a loop
aido-host_1 | 2019-01-04 22:27:42,314 WARN LinkImpl:110 Future occurences of this logging statement are suppressed.
aido-host_1 | 2019-01-04 22:27:42,314 WARN NodeImpl:87 [id=3430831397][coord=[x=1443109.3028544427][y=429941.83570740046]][type=null][nof_inlinks=0][nof_outlinks=1]: inlink_id=1150 is now in- and out-link
aido-host_1 | 2019-01-04 22:27:42,315 WARN NodeImpl:88 This message given only once.
aido-host_1 | 2019-01-04 22:27:42,321 INFO NetworkImpl:152 link # 2048
aido-host_1 | 2019-01-04 22:27:42,343 INFO NetworkImpl:152 link # 4096
aido-host_1 | 2019-01-04 22:27:42,395 INFO NetworkImpl:152 link # 8192
aido-host_1 | 2019-01-04 22:27:42,484 INFO NetworkImpl:152 link # 16384
aido-host_1 | 2019-01-04 22:27:42,647 INFO NetworkImpl:152 link # 32768
aido-host_1 | 2019-01-04 22:27:42,949 INFO ScenarioLoaderImpl:182 no facilities file set in config, therefore not loading any facilities. This is not a problem except if you are using facilities
aido-host_1 | 2019-01-04 22:27:42,949 INFO ScenarioLoaderImpl:192 no facility-attributes file set in config, not loading any facility attributes
aido-host_1 | 2019-01-04 22:27:42,949 INFO ScenarioLoaderImpl:199 loading population from file:/amod/target/population.xml.gz
aido-host_1 | 2019-01-04 22:27:42,955 INFO MatsimXmlParser:155 starting to parse xml from url file:/amod/target/population.xml.gz ...
aido-host_1 | 2019-01-04 22:27:42,959 INFO PopulationReader:109 using population_v6-reader.
aido-host_1 | 2019-01-04 22:27:42,959 INFO MatsimXmlParser:306 Using local DTD from classpath:dtd/population_v6.dtd
aido-host_1 | 2019-01-04 22:27:42,969 INFO PopulationImpl:112 person # 1
aido-host_1 | 2019-01-04 22:27:42,970 INFO PopulationImpl:112 person # 2
aido-host_1 | 2019-01-04 22:27:42,971 INFO PopulationImpl:112 person # 4
aido-host_1 | 2019-01-04 22:27:42,972 INFO PopulationImpl:112 person # 8
aido-host_1 | 2019-01-04 22:27:42,974 INFO PopulationImpl:112 person # 16
aido-host_1 | 2019-01-04 22:27:42,976 INFO PopulationImpl:112 person # 32
aido-host_1 | 2019-01-04 22:27:42,981 INFO PopulationImpl:112 person # 64
aido-host_1 | 2019-01-04 22:27:42,989 INFO PopulationImpl:112 person # 128
aido-host_1 | 2019-01-04 22:27:43,000 INFO PopulationImpl:112 person # 256
aido-host_1 | 2019-01-04 22:27:43,015 INFO PopulationImpl:112 person # 512
aido-host_1 | 2019-01-04 22:27:43,035 INFO PopulationImpl:112 person # 1024
aido-host_1 | 2019-01-04 22:27:43,085 INFO PopulationImpl:112 person # 2048
aido-host_1 | 2019-01-04 22:27:43,135 INFO PopulationImpl:112 person # 4096
aido-host_1 | 2019-01-04 22:27:43,219 INFO PopulationImpl:112 person # 8192
aido-host_1 | 2019-01-04 22:27:43,338 INFO PopulationImpl:112 person # 16384
aido-host_1 | 2019-01-04 22:27:43,446 INFO PopulationUtils:992 person # 23475
aido-host_1 | 2019-01-04 22:27:43,447 INFO ScenarioLoaderImpl:235 no person-attributes file set in config, not loading any person attributes
aido-host_1 | 2019-01-04 22:27:43,447 INFO ScenarioLoaderImpl:247 no households file set in config, not loading households
aido-host_1 | 2019-01-04 22:27:43,447 INFO ScenarioLoaderImpl:258 no household-attributes file set in config, not loading any household attributes
aido-host_1 | 2019-01-04 22:27:43,447 INFO ScenarioLoaderImpl:284 no transit schedule file set in config, not loading any transit schedule
aido-host_1 | 2019-01-04 22:27:43,448 INFO ScenarioLoaderImpl:311 no transit vehicles file set in config, not loading any transit vehicles
aido-host_1 | 2019-01-04 22:27:43,453 INFO MatsimXmlParser:147 starting to parse xml from file /amod/target/av.xml ...
aido-host_1 | 2019-01-04 22:27:43,457 INFO MatsimXmlParser:306 Using local DTD from classpath:dtd/av_v1.dtd
aido-host_1 | 2019-01-04 22:27:43,462 WARN ReflectiveConfigGroup:227 unknown parameter dispatchPeriod for group dispatcher. Here are the valid parameter names: []
aido-host_1 | 2019-01-04 22:27:43,463 WARN ReflectiveConfigGroup:228 Only the string value will be remembered
aido-host_1 | aidoprep NumberOfVehicles=500
aido-host_1 | ++++++++++++++++++++++++ NETWORK PREPARER +++++++++++++++++++++++++++++++
aido-host_1 | Network (Link) size original: 56394
aido-host_1 | 2019-01-04 22:27:43,470 INFO NetworkWriter:68 Writing network to file: preparedNetwork.xml.gz...
aido-host_1 | 2019-01-04 22:27:44,228 INFO NetworkWriter:71 done.
aido-host_1 | Opening the gzip file.......................... : preparedNetwork.xml.gz
aido-host_1 | Transferring bytes from the compressed file to the output file........: Transfer successful
aido-host_1 | The file and stream is ......closing.......... : closed
aido-host_1 | saved converted network to: preparedNetwork.xml
aido-guest_1 | Nominal fleet size: 587
aido-guest_1 | Chosen fleet size: 20
aido-guest_1 | minimum longitude in network: -122.5324551802933
aido-guest_1 | maximum longitude in network: -122.34399574000841
aido-guest_1 | minimum latitude in network: 37.55197020161227
aido-guest_1 | maximum latitude in network: 37.84836063248121
aido-host_1 | 2019-01-04 22:27:44,873 INFO PopulationTools:31 All people in population which have activities outside network are removed.
aido-host_1 | we are at person # 1.
aido-host_1 | we are at person # 2.
aido-host_1 | we are at person # 4.
aido-host_1 | we are at person # 8.
aido-host_1 | we are at person # 16.
aido-host_1 | we are at person # 32.
aido-host_1 | we are at person # 64.
aido-host_1 | we are at person # 128.
aido-host_1 | we are at person # 256.
aido-host_1 | we are at person # 512.
aido-host_1 | we are at person # 1024.
aido-host_1 | we are at person # 2048.
aido-host_1 | we are at person # 4096.
aido-host_1 | we are at person # 8192.
aido-host_1 | we are at person # 16384.
aido-host_1 | population size after removing all people outside the network: 23475
aido-host_1 | 2019-01-04 22:27:44,915 INFO PopulationTools:67 All people in population which have activities outside the time interval [0, 108000) are removed.
aido-host_1 | we are at person # 1.
aido-host_1 | we are at person # 2.
aido-host_1 | we are at person # 4.
aido-host_1 | we are at person # 8.
aido-host_1 | we are at person # 16.
aido-host_1 | we are at person # 32.
aido-host_1 | we are at person # 64.
aido-host_1 | we are at person # 128.
aido-host_1 | we are at person # 256.
aido-host_1 | we are at person # 512.
aido-host_1 | we are at person # 1024.
aido-host_1 | we are at person # 2048.
aido-host_1 | we are at person # 4096.
aido-host_1 | we are at person # 8192.
aido-host_1 | we are at person # 16384.
aido-host_1 | population size after removing all people outside the time interval: 23475
aido-host_1 | 2019-01-04 22:27:45,036 INFO Counter:61 [PopulationWriter] dumped person # 1
aido-host_1 | 2019-01-04 22:27:45,036 INFO Counter:61 [PopulationWriter] dumped person # 2
aido-host_1 | 2019-01-04 22:27:45,036 INFO Counter:61 [PopulationWriter] dumped person # 4
aido-host_1 | 2019-01-04 22:27:45,037 INFO Counter:61 [PopulationWriter] dumped person # 8
aido-host_1 | 2019-01-04 22:27:45,037 INFO Counter:61 [PopulationWriter] dumped person # 16
aido-host_1 | 2019-01-04 22:27:45,038 INFO Counter:61 [PopulationWriter] dumped person # 32
aido-host_1 | 2019-01-04 22:27:45,039 INFO Counter:61 [PopulationWriter] dumped person # 64
aido-host_1 | 2019-01-04 22:27:45,041 INFO Counter:61 [PopulationWriter] dumped person # 128
aido-host_1 | 2019-01-04 22:27:45,044 INFO Counter:61 [PopulationWriter] dumped person # 256
aido-host_1 | 2019-01-04 22:27:45,049 INFO PopulationWriter:139 Population written to: preparedPopulation.xml.gz
aido-host_1 | 2019-01-04 22:27:45,050 INFO Counter:67 [PopulationWriter] dumped person # 500
aido-host_1 | Opening the gzip file.......................... : preparedPopulation.xml.gz
aido-host_1 | Transferring bytes from the compressed file to the output file........: Transfer successful
aido-host_1 | The file and stream is ......closing.......... : closed
aido-host_1 | 2019-01-04 22:27:45,055 INFO Config:563 setting context to [file:/amod/target/]
aido-host_1 | 2019-01-04 22:27:45,058 INFO Config:563 setting context to [file:/amod/target/]
aido-host_1 | changing dispatcher to AidoDispatcherHost
aido-host_1 | looking for av.xml file at /amod/target/av.xml
aido-host_1 | changing vehicle number to 20
aido-host_1 | looking for av.xml file at /amod/target/av.xml
aido-host_1 | working in directory
aido-host_1 | /amod/target
aido-host_1 | server available...
aido-host_1 | 2019-01-04 22:27:45,138 INFO Config:563 setting context to [file:/amod/target/]
aido-host_1 | 2019-01-04 22:27:45,139 INFO MatsimXmlParser:155 starting to parse xml from url file:/amod/target/config.xml ...
aido-host_1 | 2019-01-04 22:27:45,141 INFO ConfigReader:102 using config_v2-reader
aido-host_1 | 2019-01-04 22:27:45,141 INFO MatsimXmlParser:306 Using local DTD from classpath:dtd/config_v2.dtd
aido-host_1 | 2019-01-04 22:27:45,144 INFO GlobalConfigGroup:71 setting number of threads to: 2
aido-host_1 | 2019-01-04 22:27:45,146 WARN PlanCalcScoreConfigGroup$ReflectiveDelegate:1305 Setting pathSizeLogitBeta different from zero is experimental. KN, Sep'08
aido-host_1 | 2019-01-04 22:27:45,150 INFO PlanCalcScoreConfigGroup:416 scoring parameters for subpopulation null were just overwritten.
aido-host_1 | 2019-01-04 22:27:45,155 INFO Config:563 setting context to [file:/amod/target/config.xml]
aido-host_1 | 2019-01-04 22:27:45,155 INFO ScenarioLoaderImpl:108 loading scenario from base directory: /amod/target/
aido-host_1 | 2019-01-04 22:27:45,156 INFO ScenarioLoaderImpl:130 loading network from file:/amod/target/preparedNetwork.xml.gz
aido-host_1 | 2019-01-04 22:27:45,156 INFO MatsimXmlParser:155 starting to parse xml from url file:/amod/target/preparedNetwork.xml.gz ...
aido-host_1 | 2019-01-04 22:27:45,157 INFO MatsimNetworkReader:95 using network_v2-reader.
aido-host_1 | 2019-01-04 22:27:45,158 INFO MatsimXmlParser:306 Using local DTD from classpath:dtd/network_v2.dtd
aido-host_1 | 2019-01-04 22:27:45,159 INFO NetworkImpl:156 node # 1
aido-host_1 | 2019-01-04 22:27:45,160 INFO NetworkImpl:156 node # 2
aido-host_1 | 2019-01-04 22:27:45,160 INFO NetworkImpl:156 node # 4
aido-host_1 | 2019-01-04 22:27:45,161 INFO NetworkImpl:156 node # 8
aido-host_1 | 2019-01-04 22:27:45,161 INFO NetworkImpl:156 node # 16
aido-host_1 | 2019-01-04 22:27:45,162 INFO NetworkImpl:156 node # 32
aido-host_1 | 2019-01-04 22:27:45,163 INFO NetworkImpl:156 node # 64
aido-host_1 | 2019-01-04 22:27:45,165 INFO NetworkImpl:156 node # 128
aido-host_1 | 2019-01-04 22:27:45,168 INFO NetworkImpl:156 node # 256
aido-host_1 | 2019-01-04 22:27:45,171 INFO NetworkImpl:156 node # 512
aido-host_1 | 2019-01-04 22:27:45,174 INFO NetworkImpl:156 node # 1024
aido-host_1 | 2019-01-04 22:27:45,180 INFO NetworkImpl:156 node # 2048
aido-host_1 | 2019-01-04 22:27:45,190 INFO NetworkImpl:156 node # 4096
aido-host_1 | 2019-01-04 22:27:45,208 INFO NetworkImpl:156 node # 8192
aido-host_1 | 2019-01-04 22:27:45,240 INFO NetworkImpl:156 node # 16384
aido-host_1 | 2019-01-04 22:27:45,269 INFO NetworkImpl:152 link # 1
aido-host_1 | 2019-01-04 22:27:45,269 INFO NetworkImpl:152 link # 2
aido-host_1 | 2019-01-04 22:27:45,270 INFO NetworkImpl:152 link # 4
aido-host_1 | 2019-01-04 22:27:45,270 INFO NetworkImpl:152 link # 8
aido-host_1 | 2019-01-04 22:27:45,270 INFO NetworkImpl:152 link # 16
aido-host_1 | 2019-01-04 22:27:45,271 INFO NetworkImpl:152 link # 32
aido-host_1 | 2019-01-04 22:27:45,271 INFO NetworkImpl:152 link # 64
aido-host_1 | 2019-01-04 22:27:45,272 INFO NetworkImpl:152 link # 128
aido-host_1 | 2019-01-04 22:27:45,274 INFO NetworkImpl:152 link # 256
aido-host_1 | 2019-01-04 22:27:45,276 INFO NetworkImpl:152 link # 512
aido-host_1 | 2019-01-04 22:27:45,279 INFO NetworkImpl:152 link # 1024
aido-host_1 | 2019-01-04 22:27:45,287 INFO NetworkImpl:152 link # 2048
aido-host_1 | 2019-01-04 22:27:45,299 INFO NetworkImpl:152 link # 4096
aido-host_1 | 2019-01-04 22:27:45,324 INFO NetworkImpl:152 link # 8192
aido-host_1 | 2019-01-04 22:27:45,372 INFO NetworkImpl:152 link # 16384
aido-host_1 | 2019-01-04 22:27:45,511 INFO NetworkImpl:152 link # 32768
aido-host_1 | 2019-01-04 22:27:45,638 INFO ScenarioLoaderImpl:182 no facilities file set in config, therefore not loading any facilities. This is not a problem except if you are using facilities
aido-host_1 | 2019-01-04 22:27:45,638 INFO ScenarioLoaderImpl:192 no facility-attributes file set in config, not loading any facility attributes
aido-host_1 | 2019-01-04 22:27:45,638 INFO ScenarioLoaderImpl:199 loading population from file:/amod/target/preparedPopulation.xml.gz
aido-host_1 | 2019-01-04 22:27:45,638 INFO MatsimXmlParser:155 starting to parse xml from url file:/amod/target/preparedPopulation.xml.gz ...
aido-host_1 | 2019-01-04 22:27:45,640 INFO PopulationReader:109 using population_v6-reader.
aido-host_1 | 2019-01-04 22:27:45,640 INFO MatsimXmlParser:306 Using local DTD from classpath:dtd/population_v6.dtd
aido-host_1 | 2019-01-04 22:27:45,642 INFO PopulationImpl:112 person # 1
aido-host_1 | 2019-01-04 22:27:45,643 INFO PopulationImpl:112 person # 2
aido-host_1 | 2019-01-04 22:27:45,643 INFO PopulationImpl:112 person # 4
aido-host_1 | 2019-01-04 22:27:45,643 INFO PopulationImpl:112 person # 8
aido-host_1 | 2019-01-04 22:27:45,644 INFO PopulationImpl:112 person # 16
aido-host_1 | 2019-01-04 22:27:45,644 INFO PopulationImpl:112 person # 32
aido-host_1 | 2019-01-04 22:27:45,645 INFO PopulationImpl:112 person # 64
aido-host_1 | 2019-01-04 22:27:45,647 INFO PopulationImpl:112 person # 128
aido-host_1 | 2019-01-04 22:27:45,649 INFO PopulationImpl:112 person # 256
aido-host_1 | 2019-01-04 22:27:45,652 INFO PopulationUtils:992 person # 500
aido-host_1 | 2019-01-04 22:27:45,652 INFO ScenarioLoaderImpl:235 no person-attributes file set in config, not loading any person attributes
aido-host_1 | 2019-01-04 22:27:45,652 INFO ScenarioLoaderImpl:247 no households file set in config, not loading households
aido-host_1 | 2019-01-04 22:27:45,652 INFO ScenarioLoaderImpl:258 no household-attributes file set in config, not loading any household attributes
aido-host_1 | 2019-01-04 22:27:45,652 INFO ScenarioLoaderImpl:284 no transit schedule file set in config, not loading any transit schedule
aido-host_1 | 2019-01-04 22:27:45,653 INFO ScenarioLoaderImpl:311 no transit vehicles file set in config, not loading any transit vehicles
aido-host_1 | /amod/target/linkSpeedData
aido-host_1 | INFO loading link speed data from file /amod/target/linkSpeedData
aido-host_1 | StringServerSocket: closed
aido-host_1 | com.google.inject.CreationException: Unable to create injector, see the following errors:
aido-host_1 |
aido-host_1 | 1) Explicit bindings are required and ch.ethz.idsc.amodeus.traveldata.TravelData is not explicitly bound.
aido-host_1 | while locating ch.ethz.idsc.amodeus.traveldata.TravelData
aido-host_1 | for field at ch.ethz.idsc.amodeus.matsim.mod.VehicleToVSGenerator$Factory.travelData(VehicleToVSGenerator.java:119)
aido-host_1 | at ch.ethz.idsc.amodeus.matsim.mod.AmodeusVehicleGeneratorModule.install(AmodeusVehicleGeneratorModule.java:18) (via modules: com.google.inject.util.Modules$CombinedModule -> com.google.inject.util.Modules$CombinedModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> ch.ethz.idsc.amodeus.matsim.mod.AmodeusVehicleGeneratorModule)
aido-host_1 |
aido-host_1 | 2) Explicit bindings are required and ch.ethz.idsc.amodeus.virtualnetwork.VirtualNetwork<org.matsim.api.core.v01.network.Link> is not explicitly bound.
aido-host_1 | while locating ch.ethz.idsc.amodeus.virtualnetwork.VirtualNetwork<org.matsim.api.core.v01.network.Link>
aido-host_1 | for field at ch.ethz.idsc.amodeus.matsim.mod.VehicleToVSGenerator$Factory.virtualNetwork(VehicleToVSGenerator.java:119)
aido-host_1 | at ch.ethz.idsc.amodeus.matsim.mod.AmodeusVehicleGeneratorModule.install(AmodeusVehicleGeneratorModule.java:18) (via modules: com.google.inject.util.Modules$CombinedModule -> com.google.inject.util.Modules$CombinedModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> ch.ethz.idsc.amodeus.matsim.mod.AmodeusVehicleGeneratorModule)
aido-host_1 |
aido-host_1 | 2 errors
aido-host_1 | at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)
aido-host_1 | at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
aido-host_1 | at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
aido-host_1 | at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:232)
aido-host_1 | at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:236)
aido-host_1 | at org.matsim.core.controler.Injector.createInjector(Injector.java:73)
aido-host_1 | at org.matsim.core.controler.Controler.run(Controler.java:189)
aido-host_1 | at amod.aido.AidoServer.simulate(AidoServer.java:134)
aido-host_1 | at amod.aido.AidoHost.main(AidoHost.java:116)
aido-host_1 | Exception in thread "main" com.google.inject.CreationException: Unable to create injector, see the following errors:
aido-host_1 |
aido-host_1 | 1) Explicit bindings are required and ch.ethz.idsc.amodeus.traveldata.TravelData is not explicitly bound.
aido-host_1 | while locating ch.ethz.idsc.amodeus.traveldata.TravelData
aido-host_1 | for field at ch.ethz.idsc.amodeus.matsim.mod.VehicleToVSGenerator$Factory.travelData(VehicleToVSGenerator.java:119)
aido-host_1 | at ch.ethz.idsc.amodeus.matsim.mod.AmodeusVehicleGeneratorModule.install(AmodeusVehicleGeneratorModule.java:18) (via modules: com.google.inject.util.Modules$CombinedModule -> com.google.inject.util.Modules$CombinedModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> ch.ethz.idsc.amodeus.matsim.mod.AmodeusVehicleGeneratorModule)
aido-host_1 |
aido-host_1 | 2) Explicit bindings are required and ch.ethz.idsc.amodeus.virtualnetwork.VirtualNetwork<org.matsim.api.core.v01.network.Link> is not explicitly bound.
aido-host_1 | while locating ch.ethz.idsc.amodeus.virtualnetwork.VirtualNetwork<org.matsim.api.core.v01.network.Link>
aido-host_1 | for field at ch.ethz.idsc.amodeus.matsim.mod.VehicleToVSGenerator$Factory.virtualNetwork(VehicleToVSGenerator.java:119)
aido-host_1 | at ch.ethz.idsc.amodeus.matsim.mod.AmodeusVehicleGeneratorModule.install(AmodeusVehicleGeneratorModule.java:18) (via modules: com.google.inject.util.Modules$CombinedModule -> com.google.inject.util.Modules$CombinedModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> ch.ethz.idsc.amodeus.matsim.mod.AmodeusVehicleGeneratorModule)
aido-host_1 |
aido-host_1 | 2 errors
aido-host_1 | at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)
aido-host_1 | at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
aido-host_1 | at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
aido-host_1 | at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:232)
aido-host_1 | at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:236)
aido-host_1 | at org.matsim.core.controler.Injector.createInjector(Injector.java:73)
aido-host_1 | at org.matsim.core.controler.Controler.run(Controler.java:189)
aido-host_1 | at amod.aido.AidoServer.simulate(AidoServer.java:134)
aido-host_1 | at amod.aido.AidoHost.main(AidoHost.java:116)

Missing maven artifacts

I get errors when importing the Maven dependencies on several MATSim artifacts. I am wondering whether this is related to MATSim recently switching their repository? I have pasted the output of one of the Maven errors below:

Description Resource Path Location Type
Failed to read artifact descriptor for org.matsim:matsim:jar:12.0

org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.matsim:matsim:jar:12.0
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:276)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:192)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:539)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:522)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:411)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:365)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:353)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:507)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:460)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:365)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:353)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:507)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:460)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:365)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:353)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:256)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:282)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:169)
at org.apache.maven.project.DefaultProjectBuilder.resolveDependencies(DefaultProjectBuilder.java:212)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:185)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:116)
at org.eclipse.m2e.core.internal.embedder.MavenImpl.readMavenProject(MavenImpl.java:636)
at org.eclipse.m2e.core.internal.project.registry.DefaultMavenDependencyResolver.resolveProjectDependencies(DefaultMavenDependencyResolver.java:63)
at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refreshPhase2(ProjectRegistryManager.java:530)
at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager$3.call(ProjectRegistryManager.java:492)
at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager$3.call(ProjectRegistryManager.java:1)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:496)
at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:351)
at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:298)
at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration0(ProjectConfigurationManager.java:405)
at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:352)
at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:1)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1351)
at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:349)
at org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(UpdateMavenProjectJob.java:77)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.matsim:matsim:pom:12.0 from/to pt2matsim (http://dl.bintray.com/polettif/matsim): Access denied to http://dl.bintray.com/polettif/matsim/org/matsim/matsim/12.0/matsim-12.0.pom. Error code 403, Forbidden
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:422)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:224)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:201)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:261)
... 41 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.matsim:matsim:pom:12.0 from/to pt2matsim (http://dl.bintray.com/polettif/matsim): Access denied to http://dl.bintray.com/polettif/matsim/org/matsim/matsim/12.0/matsim-12.0.pom. Error code 403, Forbidden
at io.takari.aether.connector.AetherRepositoryConnector$2.wrap(AetherRepositoryConnector.java:856)
at io.takari.aether.connector.AetherRepositoryConnector$2.wrap(AetherRepositoryConnector.java:1)
at io.takari.aether.connector.AetherRepositoryConnector$GetTask.flush(AetherRepositoryConnector.java:630)
at io.takari.aether.connector.AetherRepositoryConnector.get(AetherRepositoryConnector.java:309)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:498)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:399)
... 44 more
Caused by: io.takari.aether.connector.AuthorizationException: Access denied to http://dl.bintray.com/polettif/matsim/org/matsim/matsim/12.0/matsim-12.0.pom. Error code 403, Forbidden
at io.takari.aether.connector.AetherRepositoryConnector.handleResponseCode(AetherRepositoryConnector.java:368)
at io.takari.aether.connector.AetherRepositoryConnector.access$8(AetherRepositoryConnector.java:362)
at io.takari.aether.connector.AetherRepositoryConnector$GetTask.resumableGet(AetherRepositoryConnector.java:574)
at io.takari.aether.connector.AetherRepositoryConnector$GetTask.run(AetherRepositoryConnector.java:452)
at io.takari.aether.connector.AetherRepositoryConnector.get(AetherRepositoryConnector.java:303)
... 46 more
pom.xml /amod line 1 Maven Dependency Problem

AI-DO project implementation to connect with amodeus

Hi there,
does anyone of the developers have the runnable implementation of the AI Driving Olympics project? There are some branches like ´clruch023´ where the AIDO folder is inside (java.ch.ethz.idsc.aido) but I would like to use the runnable project with the correct ´amodeus´ library. Thank you very much!

Geo lab library error: org.opengis.referencing.datum.DatumFactory is not an ImageIO SPI class

I downloaded the master version of AMOD, performed Maven Install and tried to run ScenarioPreparer.java. The system gives following error:

Exception in thread "main" java.lang.ExceptionInInitializerError
at amod.demo.ext.UserLocationSpecs.(UserLocationSpecs.java:11)
at amod.demo.ext.Static.setup(Static.java:13)
at amod.demo.ScenarioServer.simulate(ScenarioServer.java:65)
at amod.demo.ScenarioServer.main(ScenarioServer.java:57)
Caused by: java.lang.IllegalArgumentException: org.opengis.referencing.datum.DatumFactory is not an ImageIO SPI class
at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
at java.desktop/javax.imageio.spi.ServiceRegistry.(ServiceRegistry.java:117)
at org.geotools.factory.FactoryRegistry.(FactoryRegistry.java:155)
at org.geotools.factory.FactoryRegistry.(FactoryRegistry.java:146)
at org.geotools.factory.FactoryCreator.(FactoryCreator.java:82)
at org.geotools.referencing.ReferencingFactoryFinder.getServiceRegistry(ReferencingFactoryFinder.java:115)
at org.geotools.referencing.ReferencingFactoryFinder.getFactory(ReferencingFactoryFinder.java:197)
at org.geotools.referencing.ReferencingFactoryFinder.getCRSFactory(ReferencingFactoryFinder.java:288)
at org.geotools.referencing.CRS.parseWKT(CRS.java:535)
at org.matsim.core.utils.geometry.geotools.MGC.getCRS(MGC.java:172)
at org.matsim.core.utils.geometry.transformations.GeotoolsTransformation.(GeotoolsTransformation.java:57)
at amod.demo.ext.UserReferenceFrames.(UserReferenceFrames.java:12)
... 4 more

As per my research, this error is the result of incompatibility of geotools jar file used by matsim and JDK 8.
Can someone suggest what should I do to get rid of this issue?

Incompatibility with current Maven repository of Amodeus

I have encountered an unresolvable import of ch.ethz.refactoring.AmodeusConfigurator and ch.ethz.idsc.amodeus.analysis.plot.AmodeusChartUtils.

It looks like amod went ahead of current Maven repository of amodeus.
The package ch.ethz.refactoring appeared in amodeus 6 days ago while the last deployment to the mvn-repo was 8 days ago.

Packages virtualnetwork and subpackage core

Hello,
When trying to compile amod on master, I get errors related to the dependency

import ch.ethz.idsc.amodeus.virtualnetwork.core.VirtualNetworkGet;

It seems that in the library that is downloaded, the VirtualNetworkGet class in directly in virtualnetwork and not in the subpackage .core

Is there a version mismatch?

Thanks.

Best,

Rafael

Running scenarioServer file gives LinkSpeedDataContainer class incompatibility error

Hi,
I downloaded AMOD, ran scenarioPreparer on SanFransico data and then ran scenarioServer. Its giving me following error:

Exception in thread "main" java.io.InvalidClassException: ch.ethz.idsc.amodeus.linkspeed.LinkSpeedDataContainer; local class incompatible: stream classdesc serialVersionUID = 4966479030061221834, local class serialVersionUID = 4797404069347600867 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:699) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431) at ch.ethz.idsc.tensor.io.Serialization.parse(Serialization.java:48) at ch.ethz.idsc.tensor.io.ObjectFormat.parse(ObjectFormat.java:37) at ch.ethz.idsc.tensor.io.Import.object(Import.java:60) at ch.ethz.idsc.amodeus.linkspeed.LinkSpeedUtils.loadLinkSpeedData(LinkSpeedUtils.java:24) at amod.demo.ScenarioServer.simulate(ScenarioServer.java:108) at amod.demo.ScenarioServer.main(ScenarioServer.java:57)

Can someone suggest how to handle this?

Missing links in AIDO client protocol.md

Hi,

I want to use docker and search some documentation or tutorials about this.

I found many links in AIDO client protocol.md are missing.

Could you fix up the lack of documentation?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.