Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Traci vehicle pick up passenger
  • From: <Maria.Armellini@xxxxxx>
  • Date: Tue, 30 Mar 2021 10:46:29 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-hdrordr: A9a23:vHt6dKkto5pJvEMfDwUNo89JIhfpDfNJimdD5ilNYBxZY6Wkvu illvgDyFvQgDEeRHkvlbm7Sc29aFnb8oN45pRUGL+kUhXvtmfAFvAE0aLJxTr8FyristNMzK sISdkFNPTcBUV35Pyb3CCWCNAlqePrzImJgqPkw25pXUVWbchbnmJEIyK6NmEzewVcH5o+E/ Onl7d6jh6tY24eYMj+JlRtZZmhm/TxmJjrYQELCnccgWHk5w+A07L0HwOV2R0TSVp0sNUf2F LYmA/07LjLiZ6G4yLczGPa4tB3n9bs27J4ZfCkt8kPJj3gzjuvfYRqMoftgBkJpoiUhGoCoZ 3pmVMAN942w27Ndmu1yCGdvTXI4XIL0Tve7nO2xVHkutf0QTomDdEpv/MhTjLJr0w6vN9916 pX32WW85pPZCmw5BjV9pzUU1VxkVev5WAnjPd7tQ0lbbcj
  • Ironport-phdr: A9a23:v39yOR1rqGANmOlCsmDOvAQyDhhPgJ3EezUN459isYplN5qZl7zcN UDSrc9gkEXOFd2Cra4d2qyP7vGrBDRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxB sVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLd/I A+roQjRssQajotvJroswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmV LJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv4 7t3RBLulSwKMSMy/mPKhcxqlK9VoAyvqQFjw4DaY4+VOvhxfqLBctwVXmdORNpdVy5bD4+gc 4cCDewMNvtYoYnnoFsOqAOzCA6rCuz10D9Ih2X50bcm3uQ7FAHJwgggH9YPsHTSrdX4L7odU eSvzKXS0DrMcepb1DHg44fHbh4vu+uDXa5sccXP00kvERvIg1SOpIH7Iz+Y2esDvnWb4eRvV u+ilm8qpgVvrzWu2MohlJTFip8Wx13H6Cl0wJo4KMOlRUN/Y9OqEIZcui+bOoZwX8gsTWZou CMgxb0Hv562ZDUFyJA9xxLFdvOIbY6F6Q/gWuaJOTp0mW5pdKiiixux/kWs0PDwW8e33VpQs CZJj8HAum0P2hDN8MSLVOZx8l281TuN1g3f8PxILEYpnqTBMZEh2KQ/lp8LvETGGS/5hVv5g beNdkUh5uio8+PnYqj6ppOEN497lAX+MqM2l8KxB+o2PAcAUWib9+q717Pt+lf3TKtXgvM5k 6bUrorWJcUdpq6lGQ9ayJwv5Au7Dze8ytgXgGcIIEpEeBKBkYfpJ0nDLO3kAfulnlihkzhmy +rbMrDvAZjBNGbPnKr5cbZ48UFcyQ4zzd5F55JTD7EMOPX9VVXrtNzZFBA1KRC5w/ziCNpj0 oMeXWOPAqmYMK7JrFCI4vgvL/ORa4ALoDr9MeQq5+byjX8lnl8QZbKp3YYSaHC/B/hmPl6Zb mT2gtoaD2gFog4+TO3yiF2ZTzFffXGyX7gz5mJzNIXzWZzeQ4fonaeMxg+2FZlXfntLTFeWH iG7WZ+DXqJYTSuII8YnuyYBWLylSokg/R2qrkn2xuw0faLv5iQEuMe7h5BO7OrJmERqnQE=
  • Ironport-sdr: Afgptmx508cl9uR9ms5SbVpIQ/I71Qx5oUkw11Jl2+1dljk5a2X8DeR9GDhHkyd6xDOKYPD8ky ENggLV8ue0Eg==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXJRKeSRbhwiaaL0q7RjHkmkFw+qqcPFFw
  • Thread-topic: [sumo-user] Traci vehicle pick up passenger

Hi Rachael,

 

Have you previously defined a ride element for both persons with that vehicle? If so, when the vehicle arrives at the stop, then both persons will board the vehicle.

For example, if you have defined the persons in the input file as:

<person id="A" depart="0">

    <walk edges="a b c"/>

    <ride from="c" to="d" lines="vehicle1"/>

</person>

<person id="B" depart="0">

    <walk edges="a b c"/>

    <ride from="c" to="h" lines="vehicle1"/>

</person>

Then when vehicle1 arrives at edge c, both persons are picked up.

 

If you want to simulate taxis or DRT, maybe the taxi device would be interesting for you. But you will need a new version of sumo for that, I would recommend to use the last development version (link). You can find more information about taxi device here.

 

Regards,

Giuliana

 

Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von Rachael Yuan
Gesendet: Dienstag, 30. März 2021 05:13
An: sumo-user@xxxxxxxxxxx
Betreff: [sumo-user] Traci vehicle pick up passenger

 

Hi,

 

I am using Traci to control the vehicle and the person in SUMO 1.2.0. I let the vehicle stop at one edge to pick up the passengers that have already been waiting at the same position, is it possible to pick up only one of those passengers? 

 

For example, person A and B are waiting at the same position, I used "traci.person.appendDrivingSatge" to assign person A a driving stage with vehicle A and did nothing with B since I only wanted A to be picked up. However, when vehicle A comes to the position, B will also be onboard. I am not sure what is wrong, could you please give me some suggestions?

 

Thank you.

Rachael


Back to the top