Releases: averbraeck/opentrafficsim
OTS v1.7.5
The following issues have been handled in this release:
- Issue #73. Geometry utility to deal with offsets, widths and lane connections consistency enhancement invalid
- Issue #85. Parse input parameters to evaluate expressions
- Issue #92. Running
TJunction
demo withGtu.ALIGNED = false
- Issue #106. Strategies Demo vehicle number
- Issue #108. Dead-end deceleration vs. shoulder lane
- Issue #109. Update libraries to latest version (fewer bugs and vulnerabilities)
- Issue #110. Update Java version of OTS to Java-17
- Issue #111. Site generation has to be updated due to plugin updates
- Issue #112. Generation for readthedocs needs to be updated
- Issue #113. Integrate DJUNITS 2.1.1 in editor
- Issue #114. Implement records where suitable
- Issue #115. Injections Id order
- Issue #116. Update maven site generation on server to site version 2.0.0
- Issue #118. New lane structure consistency enhancement
- Issue #121. Some changes for
CommonRoad
coupling - Issue #123. Non-String
FilterDataType
cannot be saved - Issue #124. Remove maven-changes-plugin from pom file and
site.xml
- Issue #125. IDMPlusTest.computeAcceleration() does not run
- Issue #126. LaneChangeModelTest.changeRight() does not run
- Issue #127. AbstractLaneBasedGtuTest.abstractLaneBasedGtuTest() has an assertion failure
- Issue #128. VerifyPerceptionCategoryMethods.perceptionCategoryTest assertion failure
- Furthermore, all maven plugins and libraries have been updated to the latest versions.
OTS v1.7.4
The following issues have been addressed in this version:
- Issue #16 Remove direction / directionality from XML format
- Issue #68 Locale makes OTS demos run or not bug
- Issue #47 Enhance use of random streams in XML parsing consistency
- Issue #46 Parsing of GTUTEMPLATEMIX enhancement
- Issue #69 Simulation speed slider below 1 bug
- Issue #71 Merge SinkDetector and DestinationDetector consistency enhancement invalid simplification
- Issue #72 Clothoid specification enhancement
- Issue #70 Offset artefacts due to fixLateralOffset / fixTightInnerCurve invalid
- Issue #74 Query.getTrajectoryGroups() result always empty bug
- Issue #67 interruptMove() confuses Time and Duration bug
- Issue #75 Remove xxxSI() methods and use xxx().si instead consistency simplification
- Issue #76 Replace Math.sqrt(dxdx + dydy) with Math.hypot(dx, dy) consistency
- Issue #78 Cleanup XML parser code consistency enhancement
- Issue #82 Simplify aOneOrTwoOrThree in generated XML parsing code enhancement simplification
- Issue #84 Update unit tests from JUnit 4 to JUnit 5 enhancement
- Issue #79 Prepare XML types for expressions enhancement
- Issue #83 Restrict Id names in OTS definitions bug
- Issue #81 Research options for XML Schema 1.1 parsing and validation enhancement
- Issue #63 Animation from simulation or editing enhancement
- Issue #64 Restructuring of animation code enhancement
- Issue #86 Duplicate Identifiable consistency simplification
- Issue #87 Support DistLogNormalTrunc enhancement
- Issue #80 Clean up ConflictBuilder and ConflictBuilderParallel documentation simplification
- Issue #88 Stripes ||, :| and |: are not drawn correctly bug
- Issue #91 Implement perception over- or under-estimation as a parameter. simplification
- Issue #89 Support offset in LoopDetector enhancement
- Issue #96 Turn right on red enhancement
- Issue #99 Use actual bounds to click on items enhancement
- Issue #102 Synchronize interval based sampling enhancement
- Issue #104 Sampler cannot deal with Direction bug
- Issue #105 Bindings contains old references bug
- Issue #103 GTU generation on multiple lanes enhancement
- Issue #107 Custom simulation enhancement
Furthermore, the ots-editor project has been added, and it is becoming quite mature to create and edit XML-files for OTS.
OTS v1.7.3
Minor updates to v1.7.2 due to building errors.
OTS v1.7.2
ots v1.7.1
Addressed a number of vulnerabilities by updating the versions of the libraries of:
- djunits
- djutils
- dsol
- jetty
- fastcsv
The updates needed a few changes in ots:
- There is now a
VisualizationPanel
instead of aGridPanel
in dsol-animation. This has been adapted in the animation code of ots. - Classes in dsol have been renamed to Pascal case, so DEVS... is now Devs...
- The validators for numbers in djunits do not accept numbers starting with a + sign. The unit tests using this havebeen adapted.
- Several updates have been made to the ots-editor project.
- Some method names in packages on which ots is dependent haven been changed. The updates have been made.
OTS v1.7.0
The following issues have been addressed:
- Issue #2. Renaming
GTU
toGtu
in all classes. - Issue #3. Simplify
Route
/CompleteRoute
, and deleteCompleteRoute
. - Issue #4. Remove cloning since it is not implemented properly.
- Issue #5. Remove
LongitudinalDirectionality
from the code. - Issue #6. Simplify and streamline
Compatibility
. The code hasCompatibility
andCompatible
interfaces. It is not clear what the difference is, since they both have theisCompatible(..)
method. The structure has been heavily simplified. - Issue #7. Make Sensors a full infrastructure element.
- Issue #8. Handle
DEFAULTS
in another way.DefaultsNl
now includes defaultLinkType
s.DefaultsRoadNl
contains defaultLaneType
s. An instance can be reached atDefaultsRoad.NL
.DefaultsRoad
extendsDefaults
. Through static methodsgetByName
default types may be found.Defaults
has a protected static helper method such that subclasses can easily find fields in their own class. - Issue #9. Move route finding methods from
Lane
toLaneBasedGtu
. - Issue #10. Remove
GTUDirectionality
from the code. - Issue #11. Rename acronyms to camel case, and in case of class names, to Pascal case.
- Issue #12.
Detector
andDetectorType
to replaceSensor
. - Issue #13.
LinkType.isConnector()
to give false by default. - Issue #14. Create
NodeType
class. - Issue #15. Book
Gtu
onLane
only with reference point. - Issue #17. Make class names in comments consistent with refactoring (directionality removed; Xml -> Xml, OTS -> Ots, etc.).
- Issue #19. Add a
HierarchicallyTyped
interface. - Issue #21. Remove deprecated demo's.
- Issue #23. repair wrong brake lights equation.
- Issue #24. Simplifying inheritance structure of
Gtu
. - Issue #25. Simplifying inheritance structure of
CrossSectionElement
. - Issue #26. Imports in XML not parsed.
- Issue #27. Add marker type to GTU type.
- Issue #28. Make
StripeAnimation.TYPE
a property of aStripe
. - Issue #29. Conflicts based on null
GtuType
. - Issue #30.
LaneBasedGenerator
based on nullGtuType
. - Issue #31. Simplify and finish sampler tables.
- Issue #32.
Sampler
does not sample a new GTU correctly. - Issue #33. Merge ots-kpi and djutils-data table functionality.
- Issue #34.
Lane.ADD_GTU_EVENT
lane in payload and event order. - Issue #35.
Sampler
generics types to includeLaneData
. - Issue #36. What to do with the compressedfiles package in ots-base?
- Issue #37. Self-referring links in manual are broken.
- Issue #38. Simplifying Sensor class structure and names.
- Issue #39. A* shortest path algorithm added.
- Issue #42.
LoopDetector
s should be able to present themselves as aTable
. - Issue #43. Visualization of GTU generators and generator functionality.
- Issue #44. GTU generation from injection files.
- Issue #45.
TrafflicLightDetector
operations. - Issue #48. Simplifying
LaneBasedGtuCharacteristicsGenerator
inheritance structure. - Issue #49. Change Type from abstract class to interface?
- Issue #50. Remove package [road].network.factory.xml.demand?
- Issue #51. Remove source from deprecated event scheduling method calls (DSOL update).
- Issue #52. Simplify
Network
/Link
/Node
inheritance structure. - Issue #53. Streamline object.trafficlight and ots-trafficcontrol.
- Issue #54.
Lane
nextLanes
/prevLanes
override. - Issue #55. Removal of duplicate resources.
- Issue #56. Merge ots-xsd project into ots-xml project.
- Issue #57. Streamline XSD management.
- Issue #58. Provide GTUs with a flexible String attribute.
- Issue #60. Exporting
SuperDemo
as an executable JAR file.
OTS v1.6.0
OpenTrafficSim version 1.6.0
- Code moved from SVN to github, retaining full version history
- Adapted project to git, updated to Java 11, new folder structure
- GroupId of the project changed to org.opentrafficsim because of deployment
- Rebased the project to be fully modular "under" the ots umbrella project
- Added README.md
- Added official BSD-3 License file
- Updated settings and checkstyle configurations to be self supportive under Eclipse
- Maven pom updated with resource copy and newest plugin versions
- MkDocs manual for OTS for ReadTheDocs included in /docs folder
- Removed the aimsun modules from ots: these connect to a commercial project, and will be made available in a separate project
- Removed multislider project from the standard ots library, and moved relevant code to ots-swing
- Removed ots-build-tools as a module (relevant files are in /config)
- Removed ots-rail, ots-water and ots-multimodal modules (these were empty)
- Removed dependency on java3d (taken over by djutils-draw)
- djunits dependency upgraded to v5.0.1 (available on Maven Central)
- djutils dependency upgraded to v2.0.1 (available on Maven Central)
- sim0mq upgraded to v2.1.0 (available on Maven Central)
- dsol updated to version 4.0.1 (available on Maven Central -- see also below *)
- Dependency on protobuf removed (was only needed for aimsum modules)
- Removed dependency on geotools; also removed shape demo
- Removed dependency on osmosis
- CompressedFiles simplified by taking out dependency on commons-compress
- Compiled resources reside in classes/resources/, so URLResource.getResource("/ replaced with URLResource.getResource("/resources/"
Major open issues in this version:
- Destroy GTU when not registered on a lane. The registration problem still happens in a number of cases, with a fractional position of larger than 1.0. When this happens, An error message is printed, and the GTU is removed from the simulation. Unfortunately, this triggers a new error for the animation that still has to be resolved.
- Sin0MQ PublisherDemo cannot run due to a hard coded file path (ots-sim0mq-swing project)
- Sm0MQPublsihertest does not work because of null pointer to this.publisher (ots-sim0mq-swing project)
- It is expected that these issues will be fixed in version 1.6.1
*) Upgrade to DSOL v4.0.1:
Most important changes as a result of this update concern the simplification of the Time notion for the Simulator and related objects. Instead of generics [AbsoluteTime, RelativeTime, TimeObject], only the generic [RelativeTime] remains. This makes writing the code a lot easier. Since OTS works with absolute Time for the simulation events and internal time notation, the OTSSimulatorInterface has been adapted with a number of easy access methods for using Time objects and requesting the absolute simulation time. The OTSReplication contains the absolute startTime, which is the "zero" value for the absolute time. This means that absolute simulation time is Replication.getStartTimeAbs().plus(relative_simulation_time), and the relative simulation time can always be retrieved from an absolute time
by subtracting replication.getStartTimeAbs(). To make this even easier, the OTSSimulatorInterface has a method getStartTimeAbs() that retrieves
the absolute start time from the corresponding replication.