Hi Marie, congratulations on that and thank you for the feedback. It's great to hear that I could help you with that.
Can somebody explain how setting the bits of vehicle speed mode works? Is a car with all 5 bits of speed mode set to 0 supposted to stop in front of a red traffic light? Because if I understood the last emails right, speed mode set to 0,0,0,0,0 should result in the car ignoring a red traffic light. Right in this moment I have an idea: Setting deceleration to 0 should make it impossible for the car to break in front of a traffic light, doesn't it? After Entering the intersection I can reenable the deceleration to get some accident breaking behaviour. I will try this as soon as I arrive at home. This should come close to my desired behaviour. But it still would be great to understand how this speed mode bits work, and how they are being set :) Thanks a lot, Marcus > Am 04.09.2014 um 10:23 schrieb Marie-Ange Lebre <[email protected]>: > > Hi Marcus, > > Thanks a lot for your email ! > With setting "tau" to the value 0, my vehicle ignores the yellow traffic > light ;-) exactly what I wanted ! > Many thanks !! > > I hope you'll find a solution for your simulations, > Best Regards and good luck ;-) > > Marie-Ange > > > 2014-09-03 20:49 GMT+02:00 Marcus Müller <[email protected]>: >> Hi Marie, Hi guys, >> >> >> >> I’m sorry to say, but I still was not successful on getting this „speed >> mode“ bits set. I’ve implemented something >> >> Which at least doesn’t throw an error ;) but in my short little testing >> scenario, cars keep holding in front of a all-time-red >> >> Traffic light instead of ignoring it. Am I just awaiting too much here, or >> should the cars ignore the traffic light, when speed mode is >> >> Set to 0 (= 0 0 0 0 0 )? >> >> >> >> With this said, I at least successfully generated some accidents via either >> setting my Ego-cars deceleration or Tau to 0, while approaching the leading >> car with high speed. I found this … >> >> >> >> “MSLane::handleCollision“ >> >> >> >> …which deals with the accident and now I am thinking about implementing some >> TraCI boolean, which can be queried, to check whether a car is subject to an >> accident or not. Before I start working, I wanted to ask, whether there >> already is a solution for that, or whether this would be new? >> >> >> >> @ Stefan: where have you guys implemented the “crash” animation? Do you >> stick with SUMO or do you also somehow send it to Matlab ( I guess the plots >> are Matlab) ? >> >> >> >> >> >> Many many thanks, >> >> >> >> marcus >> >> >> >> >> >> From: Jakob Erdmann [mailto:[email protected]] >> Sent: Mittwoch, 3. September 2014 13:25 >> To: Marcus Müller >> Cc: Marie-Ange Lebre; sumo-user >> >> >> Subject: Re: [sumo-user] Let car ignore traffic light or other rules >> >> >> Hello, >> >> to be honest, I was not aware that this method is missing in the current >> python-TraCI-client. This is now tracked here: >> http://sumo-sim.org/trac.wsgi/ticket/1423 and should not take long to fix. >> If you want to implement it yourself, take a look at the implementation of >> the setLaneChangeMode() command. >> >> regards, >> >> Jakob >> >> >> >> 2014-09-03 12:19 GMT+02:00 Marcus Müller <[email protected]>: >> >> Hi Marie, >> >> I'm stuck at the same point right now. Having problems to understand how >> the TraCI Syntax works, espacially in case of a Bitstream argument. >> >> Please checkout TraCI4Matlab or TraCI4J which provide wrappers for Matlab or >> Java. >> They have lots of TraCI methods already implemented. >> >> Right now I am trying to implement the setSpeedMode() method, because >> exactly this one is missing. >> But hopefully I am close to a solution as I just found the >> "traci.sendByteCmd". >> >> Lets see... >> >> Regards, >> >> Marcus >> >> > Am 03.09.2014 um 12:07 schrieb Marie-Ange Lebre >> > <[email protected]>: >> >> > >> > Hi Stefan, hi Marcus >> > >> > Thank you for your explanation ! Very useful, and thanks a lot for sharing >> > your paper ! >> > I just have a question, I don't know how to add additonal bits to the >> > traci command Change Vehicle State/speed mode, in order to configure the >> > behavior at intersections in files of sumo ... What lines I have to modify >> > in which files ? >> > >> > Can you help me ? >> > >> > Best Regards, >> > >> > Marie-Ange >> > >> > >> > 2014-09-02 20:22 GMT+02:00 Marcus Müller <[email protected]>: >> >> Wow, >> >> >> >> thank you so much! I'm very grateful to have you as a contact who is >> >> already performing this >> >> successful. Thanks for sharing the paper. >> >> Do you already know where your Demo will take place? >> >> >> >> Regards, >> >> >> >> marcus >> >> >> >> -----Original Message----- >> >> From: Stefan Joerer [mailto:[email protected]] >> >> Sent: Dienstag, 2. September 2014 19:39 >> >> To: [email protected] >> >> Subject: Re: [sumo-user] Let car ignore traffic light or other rules >> >> >> >> Hi Marie, hi Marcus, >> >> >> >> I have been using SUMO for quite a while to simulate crashes at >> >> intersections. In the past this was a bit tricky, but since Version >> >> 0.20.0 this is very easy accessible via TraCI: >> >> >> >> Quote from ChangeLog: >> >> "added additonal bits to the traci command Change Vehicle State/speed >> >> mode to configure the behavior at intersections. This can be used to make >> >> vehicles ignore right-of-way rules and also to force them to drive across >> >> a red light." >> >> >> >> Have a look at: >> >> >> >> http://sumo-sim.org/userdoc/TraCI/Change_Vehicle_State.html >> >> >> >> speed mode (0xb3) >> >> >> >> bit3: Regard right of way at intersections >> >> >> >> Hope this helps you! We have also proposed a simple intersection approach >> >> model which resembles different driver behaviors for intersection >> >> approaches: >> >> >> >> Stefan Joerer, Bastian Bloessl, Matthaeus Huber, Abbas Jamalipour and >> >> Falko Dressler, "Simulating the Impact of Communication Performance on >> >> Road Traffic Safety at Intersections," Proceedings of 20th ACM >> >> International Conference on Mobile Computing and Networking (MobiCom >> >> 2014), Demo Session, Maui, HI, September 2014. (to appear) >> >> >> >> Available: http://www.ccs-labs.org/bib/joerer2014simulating/ >> >> >> >> Cheers, >> >> Stefan >> >> >> >> -- >> >> Stefan Joerer, MSc >> >> Institute of Computer Science >> >> University of Innsbruck, Austria >> >> Phone: +43 512 507 53254 >> >> http://ccs-labs.org/~joerer/ >> >> >> >> On 09/03/2014 02:26 AM, Marcus Müller wrote: >> >> > Hi Marie, >> >> > >> >> > >> >> > >> >> > please be aware that I am completely new to this – so please don’t >> >> > take my word for gold :) >> >> > >> >> > But in this very question I have already two answers of Jakob which I >> >> > would like to append, >> >> > >> >> > in case that you are not member of the sumo-dev group. >> >> > >> >> > Today I had some problems getting TraCI to run, but now, that these >> >> > probs are solved I start to >> >> > >> >> > try out the following suggestions: >> >> > >> >> > >> >> > >> >> > “””””””””””# 1 #””””””””””” >> >> > >> >> > Hello, >> >> > >> >> > it should be quite easy to modify the car-following model so as to >> >> > force (rear collision) accidents. >> >> > >> >> > The current (default) model computes the maximum speed which still >> >> > allows braking if the leaders were to brake. This velocity is then used >> >> > by the vehicle (if the vehicle parameters and speed limit allow). By >> >> > modifying the model so as to return a larger value, the vehicle will >> >> > drive in an "unsafe" manner and will crash if the leader vehicle brakes >> >> > hard. >> >> > >> >> > Note, that sumo will flag the situation as a collision as soon as the >> >> > leader comes within the "minGap" of the follewer vehicle and will >> >> > immediately "teleport" to follower vehicle to a subsequent lane (if you >> >> > want to make sure that vehicles intersect closely you should set the >> >> > minGap attribute to 0). >> >> > >> >> > Flanking collisions are more difficult to create. Head-on collisions >> >> > are currently not possible. >> >> > >> >> > Also, sumo hardly models any physics, besides limiting acceleration and >> >> > deceleration. You need to modify these parametesr ("accel" and "decel") >> >> > to simulation different road conditions. >> >> > >> >> > >> >> > >> >> > regards, >> >> > Jakob. >> >> > >> >> > “”””””””””””””””””””””””””” >> >> > >> >> > >> >> > >> >> > “””””””””””# 2 #””””””””””” >> >> > >> >> > Hello, >> >> > >> >> > see <http://sumo-sim.org/wiki/TraCI/Change_Vehicle_State> >> >> > http://sumo-sim.org/wiki/TraCI/Change_Vehicle_State >> >> > >> >> > The commands 'speed mode' and 'lane change mode' have some >> >> > safety-relevant flags. >> >> > >> >> > You can only set these via TraCI at the moment. >> >> > >> >> > regards, >> >> > Jakob >> >> > >> >> > “”””””””””””””””””””””””””” >> >> > >> >> > >> >> > >> >> > Hope this helps, >> >> > >> >> > >> >> > >> >> > Marcus >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > From: Marie-Ange Lebre [mailto:[email protected]] >> >> > Sent: Dienstag, 2. September 2014 18:08 >> >> > To: Marcus Müller >> >> > Cc: sumo-user >> >> > Subject: Re: [sumo-user] Let car ignore traffic light or other rules >> >> > >> >> > >> >> > >> >> > Hi Marcus, >> >> > >> >> > >> >> > >> >> > Thanks a lot for your answer and your help ! >> >> > >> >> > Ok, I understand that commands with Traci are not able to break the >> >> > security mode tanks to your email. >> >> > >> >> > >> >> > >> >> > Maybe my question is stupid but do you know where we can modify the >> >> > settings "speed mode" or "lane change mode" in sumo roots? >> >> > >> >> > >> >> > >> >> > Best Regards and thanks a lot, >> >> > >> >> > >> >> > >> >> > M-Ange >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > 2014-09-02 17:35 GMT+02:00 Marcus Müller <[email protected] >> >> > <mailto:[email protected]> >: >> >> > >> >> > Hi Marie, >> >> > >> >> > >> >> > >> >> > Good to hear that there is someone working on this topic too. >> >> > >> >> > >> >> > >> >> > As far as I understand right now, the different models in SUMO, here >> >> > especially the car following model and maybe the junction model, are >> >> > designed to avoid such dangerous situations. (As we would do as real >> >> > drivers as well). >> >> > >> >> > I guess the maximum speed parameters doesn't overwrite such security >> >> > critical decisions like breaking at a traffic light. >> >> > >> >> > >> >> > >> >> > I think there are other settings, like "speed mode" and "lane chnage >> >> > mode" highlighted by Jakob before, which can be used to achieve the >> >> > desired red-light behaviour. >> >> > >> >> > >> >> > >> >> > I will keep you updated with my latest results on that. >> >> > >> >> > >> >> > >> >> > Regards, >> >> > >> >> > >> >> > >> >> > Marcus >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > Am 02.09.2014 um 17:10 schrieb Marie-Ange Lebre >> >> > <[email protected] <mailto:[email protected]> >: >> >> > >> >> > Hello, >> >> > >> >> > I try also to push cars to ignore traffic lights. I use >> >> > traci.vehicle.setSpeed(vehID, Maxspeed) to allow cars to have the >> >> > maximum allowed speed ; but in the simulation, car doesn't take into >> >> > account my command and stops at the yellow light. >> >> > >> >> > Can you suggest an idea ? >> >> > >> >> > Regards and thanks a lot, >> >> > >> >> > M.Ange >> >> > >> >> > >> >> > >> >> > 2014-09-01 8:57 GMT+02:00 Jakob Erdmann <[email protected] >> >> > <mailto:[email protected]> >: >> >> > >> >> > Hello, >> >> > see <http://sumo-sim.org/wiki/TraCI/Change_Vehicle_State> >> >> > http://sumo-sim.org/wiki/TraCI/Change_Vehicle_State >> >> > The commands 'speed mode' and 'lane change mode' have some >> >> > safety-relevant flags. >> >> > You can only set these via TraCI at the moment. >> >> > regards, >> >> > Jakob >> >> > >> >> > >> >> > >> >> > 2014-08-31 23:32 GMT+02:00 Marcus Müller < >> >> > <mailto:[email protected]> [email protected]>: >> >> > >> >> >> Hi all, >> >> >> >> >> >> >> >> >> >> >> >> Is there a way to make cars ignore traffic lights or other rules to >> >> >> force “accident like behavior” ? >> >> >> >> >> >> What do you think, would be the best approach ? >> >> >> >> >> >> >> >> >> >> >> >> Regards and many thanks in advance, >> >> >> >> >> >> >> >> >> >> >> >> marcus >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> --------- >> >> >> Slashdot TV. >> >> >> Video for Nerds. Stuff that matters. >> >> >> <http://tv.slashdot.org/> http://tv.slashdot.org/ >> >> >> _______________________________________________ >> >> >> sumo-user mailing list >> >> >> <mailto:[email protected]> >> >> >> [email protected] >> >> >> <https://lists.sourceforge.net/lists/listinfo/sumo-user> >> >> >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> >> >> >> >> > ---------------------------------------------------------------------- >> >> > -------- >> >> > Slashdot TV. >> >> > Video for Nerds. Stuff that matters. >> >> > <http://tv.slashdot.org/> http://tv.slashdot.org/ >> >> > _______________________________________________ >> >> > sumo-user mailing list >> >> > <mailto:[email protected]> >> >> > [email protected] >> >> > <https://lists.sourceforge.net/lists/listinfo/sumo-user> >> >> > https://lists.sourceforge.net/lists/listinfo/sumo-user >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > ---------------------------------------------------------------------- >> >> > -------- >> >> > Slashdot TV. >> >> > Video for Nerds. Stuff that matters. >> >> > http://tv.slashdot.org/ >> >> > _______________________________________________ >> >> > sumo-user mailing list >> >> > [email protected] >> >> > https://lists.sourceforge.net/lists/listinfo/sumo-user >> >> > >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Slashdot TV. >> >> Video for Nerds. Stuff that matters. >> >> http://tv.slashdot.org/ >> >> _______________________________________________ >> >> sumo-user mailing list >> >> [email protected] >> >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
