News for hackers. Stuff that matters.
Re:Mapping pedestrian traffic light timing in Sydney, Australia by shortcake27 on Tuesday June 13, 2023 @03:40AM (#36306881)
Melbourne is the same. Buttons that change the timing are rare or maybe even non-existent. I can’t think of any intersections where pressing the button does anything other than activate the pedestrian lights.
Re:Mapping pedestrian traffic light timing in Sydney, Australia by bobthepanda on Tuesday June 13, 2023 @11:48AM (#36312016)
I have never seen an intersection where beg buttons favor pedestrians and not drivers, because beg buttons give engineers the latitude to establish red crosswalks unless requested. So help you if you arrive just in time to miss your activation cycle and have to wait a full light cycle for the crosswalk.
Re:Mapping pedestrian traffic light timing in Sydney, Australia by danhor on Tuesday June 13, 2023 @11:55AM (#36312114)
I've seen quite a few intersections (Germany) that only feature one car road, but a crossing pedestrian/bike street that after pressing the beg button immediately begin to switch the light, resulting in a consistent, short wait (apart from signal priority stuff for busses). But anything more complicated, nothing comes to mind.
Re:Mapping pedestrian traffic light timing in Sydney, Australia by Someone on Tuesday June 13, 2023 @12:05PM (#36312253)
https://bicycledutch.wordpress.com/2016/06/21/traffic-lights... has plenty examples of things more complicated, for example:

“In the past, buses always got priority. Now every bus is tagged and the computer knows all the time-tables of every line. The system knows exactly when which bus needs to arrive at a certain intersection. The installation checks whether a bus is too early, on time, or running late and sets the lights accordingly.”

“On the cycleways we always have double loops, separated by 75 centimetres. That way we can measure speed and direction by combining the data the computer receives from the two loops. It also means we don’t need to reserve green time for a cyclist riding against traffic, away from the intersection.” And the pushbutton? “For cyclists that’s not really necessary. They’re only there for reassurance. You often see in the reports that people don’t even bother to push the button.”

Re:Mapping pedestrian traffic light timing in Sydney, Australia by bobthepanda on Tuesday June 13, 2023 @12:35PM (#36312792)
But there the priority is pretty much everything else other than the beg button.

I can't help but wonder if such aggressive timings discussed in the article are good for people with disabilities. People often panic when rushed by a change to red.

Re:Mapping pedestrian traffic light timing in Sydney, Australia by toast0 on Tuesday June 13, 2023 @01:28PM (#36313591)
I've experienced plenty of beg buttons that don't do anything other than activate the crossing light when that direction next goes green for cars. But also plenty where pressing the button takes immediate steps for the pedestrian: if the direction is already green for cars, the walk sign is turned on; otherwise, the current cycle ends and any intermediate cycles proceed with minimum duration; non-dominant directions will have longer minimum cycle time if the pedestrian button has been pressed.

In my experience, if the intersection processes car traffic dynamically, it will also process pedestrian traffic dynamically, and generally favor pedestrians. If the intersection has static timing, it's not going to do anything different for pedestrians. I recall driving in Milwaukee near UWM two decades ago, every morning I could count on the lights showing exactly the same thing at the same time. If I left my apartment at the same time, I'd get the same sequence of missed or made lights. Most other places I've driven had car sensors (usually loops in the pavement, but cameras are cheaper and less maintenance now), so there's no schedule to be learned, although the behavior is predictable if you learn the cycles and observe the stimuli. (Although, sometimes sensors are broken or miswired; there was an intersection near one of my employers where the cyclist button was connected as an left turn lane occupancy sensor; resulting in consistently wrong behavior. it's also not uncommon for a disabled vehicle to be located above a loop, or sometimes a construction / utility vehicle to be parked above a loop; some control systems can adapt and filter that out, but many don't.)

Re:Mapping pedestrian traffic light timing in Sydney, Australia by whophd on Wednesday June 14, 2023 @01:53PM (#36329756)
I don’t see beg buttons in Sydney that turn green mid-phase — where are these? You always have to wait for a complete phase (which can be shortened, with no traffic and no area phasing) before the pedestrian signal is allowed to turn green again.

The only partial exception is pedestrian-only crossings and then only if you are in the part of the phase where enough time still is available to return cars to green.

Re:Mapping pedestrian traffic light timing in Sydney, Australia by jakecopp on Wednesday June 14, 2023 @12:14AM (#36321373)
I also wrote a blog post on beg buttons in the Sydney CBD: https://jakecoppinger.com/2022/12/sydney-cbd-is-bringing-bac...

(194 comments on HN: https://news.ycombinator.com/item?id=34058004)

Re:Mapping pedestrian traffic light timing in Sydney, Australia by Someone on Tuesday June 13, 2023 @11:51AM (#36312069)
> Buttons that change the timing are rare or maybe even non-existent

Buttons are old tech. https://www.flir.com/products/trafione/:

“The FLIR TrafiOne uses thermal imaging and Wi-Fi technology to adapt traffic signals based on the presence detection of vehicles, bicycles and pedestrians, even in total darkness or adverse weather.”

I don’t know how smart that version is, but there are versions that predict whether pedestrians have the intention to cross the street. https://www.tugraz.at/en/tu-graz/services/news-stories/tu-gr...:

“The innovative camera-based system recognises the intention of pedestrians to cross the road and switches to green automatically. What’s more, it optimises the traffic flow further, as Horst Possegger from the Institute of Computer Graphics and Vision explains by way of two examples: “The green phase can be extended in the case of large groups of persons, who require more time to cross the road. And if persons leave the waiting area before the lights have turned to green, this is also passed on to the lights. The traffic lights subsequently don’t switch to green and there are no unnecessary waiting times for motorised traffic.”

[…]

“Using the current configurations, our system signals that wish to cross three to four seconds before the button is pushed,” says Possegger.”

Re:Mapping pedestrian traffic light timing in Sydney, Australia by reaperman on Tuesday June 13, 2023 @01:24PM (#36313543)
Feels like you could do that somewhat cheaper with just visual cameras and any off-the-shelf YOLOv# detection model.
Re:Mapping pedestrian traffic light timing in Sydney, Australia by kimixa on Tuesday June 13, 2023 @01:40PM (#36313778)
For the pedestrian problem at least, it seems even cheaper to just use a button. That also completely bypasses the problem of trying to detect if they intend to cross. Is there really much of a disadvantage? The pedestrian has to be in a specified area beside the crossing already to use it, so likely within arms reach of a pole already. But I can see it being useful for cars and bikes - as a cyclist I've hit a good number of times the magnetic sensors clearly just don't work for a bike, and had to wheel over to the pedestrian crossing to press the button to get the lights to change.

And I expect "person detection" to be much easier with an IR image, there's probably not many places where human body temperature isn't noticeably higher than the background should make it more accurate to pick out. And if you don't need accuracy of temperature reading, an IR camera isn't really any more expensive than a visual camera - it's the same CCD just with a different filter on top. And it completely bypasses any problems of darkness.

I also wouldn't be surprised if the actual camera unit was a near negligible cost of installing something like this, so even if it was multiples of the price, optimizing for that may be the wrong target if it affects accuracy at all.

Re:Mapping pedestrian traffic light timing in Sydney, Australia by iggldiggl on Tuesday June 13, 2023 @03:05PM (#36315241)
> Is there really much of a disadvantage?

Granted it's probably nothing too big in absolute terms, but does feel a little unfair, because vehicles usually get a few seconds head start for free due to being able to call a signal as soon as they reach the location of the green extension detector, which can be a few tens of metres in advance of the stop line.

(On the other hand yes, I do acknowledge the because "turning lanes" don't really work for pedestrian traffic, it's often hard to detect pedestrians much in advance because you'll have no idea which way they'll want to turn at the intersection. But it still feels a little unfair :-) )

And unless the default state of an intersection is "red for all directions", switching the lights will always take a few seconds even in the best of cases. By giving the traffic lights controller some advance warning of somebody approaching, it's possible to switch the traffic lights just in time so that that user doesn't have to stop (if traffic conditions allow it of course – with heavy traffic it's unavoidable that somebody will have to wait eventually).

With semi-flexible traffic light designs (where phase length and whether a phase is called at all depends on traffic conditions, but otherwise they still always cycle through the phases in a fixed sequence), there are also situations where a signal can only turn green (if called) until a certain point in the cycle no later than X (in which case it'll remain green until let's say for example X + 10 seconds). If you miss that time X, you'll have to wait a whole signal cycle until the signal can turn green again. If it just happens that you're reaching the intersection at a time X + 5 seconds, it means that if you could have called the signal while still six seconds away (i.e. at X - 1 second), you still could have crossed successfully (because in that case the signal would have been green between X and X + 10), whereas without that possibility you can only press the button at X + 5 seconds and now have to wait one whole signal cycle.