Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/main' into Netedit_dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	tests/netedit/contextualMenuOperations.py
#	tests/netedit/network/edges/contextual_menu/edge_operations/add_reverse_direction/net.tll.xml
#	tests/netedit/network/edges/contextual_menu/edge_operations/testsuite.netedit
#	tests/netedit/network/edges/contextual_menu/edge_operations/testsuite.neteditcheckoutput
#	tests/netedit/network/edges/contextual_menu/lane_operations/remove_restricted_lane/testsuite.netedit
#	tests/netedit/network/edges/contextual_menu/lane_operations/remove_restricted_lane/testsuite.neteditcheckoutput
#	tests/netedit/network/edges/contextual_menu/lane_operations/testsuite.netedit
#	tests/netedit/network/edges/contextual_menu/lane_operations/testsuite.neteditcheckoutput
#	tests/netedit/network/edges/contextual_menu/lane_operations/transform_restricted_lane/testsuite.netedit
#	tests/netedit/network/edges/contextual_menu/lane_operations/transform_restricted_lane/testsuite.neteditcheckoutput
#	tests/netedit/network/edges/contextual_menu/reset_lenght/net.tll.xml
#	tests/netedit/network/edges/contextual_menu/template_operations/testsuite.netedit
#	tests/netedit/network/edges/contextual_menu/template_operations/testsuite.neteditcheckoutput
#	tests/netedit/network/edges/contextual_menu/testsuite.netedit
#	tests/netedit/network/edges/contextual_menu/testsuite.neteditcheckoutput
#	tests/netedit/network/edges/inspect_selected/allow_dialog/net.netccfg
#	tests/netedit/network/edges/inspect_selected/allow_dialog/net.tll.xml
#	tests/netedit/network/edges/inspect_selected/stopexception_dialog/net.netccfg
#	tests/netedit/network/edges/inspect_selected/stopexception_dialog/net.tll.xml
#	tests/netedit/network/edges/templates/net.tll.xml
#	tests/netedit/network/lanes/contextual_menu/remove_restricted_lane/testsuite.netedit
#	tests/netedit/network/lanes/contextual_menu/remove_restricted_lane/testsuite.neteditcheckoutput
#	tests/netedit/network/lanes/contextual_menu/transform_restricted_lane/testsuite.netedit
#	tests/netedit/network/lanes/contextual_menu/transform_restricted_lane/testsuite.neteditcheckoutput
  • Loading branch information
palvarezlopez committed Aug 6, 2024
2 parents d18e79a + d0e3e8e commit 58a6bad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/web/docs/TraCI/Interfacing_TraCI_from_Python.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ endEdge according to the estimated travel times in the network at the
time of departure. For details of this mechanism see
[Demand/Automatic_Routing](../Demand/Automatic_Routing.md).

### coordinate transformations
### Coordinate transformations

```python
x, y = traci.vehicle.getPosition(vehID)
Expand Down
3 changes: 2 additions & 1 deletion src/microsim/devices/MSDevice_StationFinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ MSDevice_StationFinder::notifyMove(SUMOTrafficObject& veh, double /*oldPos*/, do
}
}
} else if (myChargingStation == nullptr &&
(myUpdateSoC - currentSoC > DEFAULT_SOC_INTERVAL || (mySearchState == SEARCHSTATE_UNSUCCESSFUL && now - myLastSearch >= myRepeatInterval))) {
(myUpdateSoC - currentSoC > DEFAULT_SOC_INTERVAL || (mySearchState == SEARCHSTATE_UNSUCCESSFUL &&
now - myLastSearch >= myRepeatInterval && !myHolder.isStopped()))) {
// check if a charging stop is already planned without the device, otherwise reroute inside this device
if (!alreadyPlannedCharging() && now > myHolder.getDeparture()) {
rerouteToChargingStation();
Expand Down

0 comments on commit 58a6bad

Please sign in to comment.