From Consumer Reports:REPORT CARD Highs: Access, fuel economy. Lows:...
A
Alan
I've actually done the math and I can state with confidence that in the area of the "friction circle" where you can maintain the same maximum acceleration (from pure braking through to pure lateral acceleration) the trajectory of the car is segment of a parabola.
Look up trajectory of an object at a velocity (v1) under constant-vector! acceleration (A).
Such trajectories are always parabolic.
:-)
M
Maria Sophia
Hmmmm.... very interesting... Good ideas.
We have some work to do in the python program to calculate them though.
What's interesting is you might be on to a trick that might work. Then again, you might not. I don't know yet.
Why not? Because you seem to think there are straightway's, I think.
Is that what you're assuming? That there are sections of these roads which are actually straight?
Since you guys seem to think people can brake "before" a turn, I wonder why you think that, given the entire road is turns, so there is no "before".
I wonder if you guys are assuming a few things which aren't the case? First off, we have five thousand people on our email alias to teach.
But let's assume all five thousand drivers are willing to brake the way you seem to think is to handle a 10% grade that has almost zero straightaways.
The longest straightaway would be a good thing to add to the Python code. So that's a GREAT IDEA to add to calculate the inherence in the roadway.
Before I do that, I'm gonna estimate the longest straightaway is 30 feet. There might be two or three of those 30-feet straightaways in about 5 miles, but I really need to add it to the GPX file in order to calculate.
First, since I never disagree with any logically sensible viewpoint, the point about track students braking too late and being forced to add brake pressure into the turn is spot on for a racetrack with straightaways.
But what if the racetrack has no straightaways? Then what?
How do you handle braking when the entire course is turn after turn?
According to the GPX track data for these roads, 80% to 84% of the road inherence is an active curve, peppered with hairpins down to a 4.8-meter radius (about 15 feet). On a track, you have a straightaway where you can brake hard in a straight line, release the brakes, apex, and accelerate out.
On our roads, the exit of one 5-meter hairpin immediately bleeds into the entry of the next. Because the road drops continuously at a steep grade, gravity is constantly feeding kinetic energy into the system. If we try to "brake early and accelerate through," we immediately run out of road because there is no straight section to accelerate on before the next hairpin arrives.
Instead, we are caught in a continuous loop as we finish steering through one tight corner, and we are instantly on the brakes trying to scrub off speed before the next ultra-tight lock-to-lock turn. That constant, overlapping cycle of braking and extreme steering angle on a forward-loaded front axle is what chews up the outer shoulders.
It's not bad driving technique or a failure to brake early I don't think, but I do need to add straightaway calculations to the inherence script.
What would you algorithmically define a straightway as, anyway?
A wise person never disagrees with any sensibly logically defensible point.
A
AMuzi
Maybe I missed something there.
Parabolas and catenaries are symmetric. The optimal fastest path of an auto through a turn is definitely not. Any thoughts on that?
Andrew Muzi
am@yellowjersey.org
Open every day since 1 April, 1971
A
Alan
I didn't say the entire trajectory was on a parabolic line. Only the portion from when you end pure braking (just to slow enough to MAKE the corner) through blending braking and cornering to just PAST the end of pure cornering.
It would be if the friction circle were actually a complete circle, but it's not. With only a very few exceptions (if any), cars don't accelerate as well as they corner or brake. In short, the friction circle has a "flat spot" on the acceleration side which varies in size depending on which gear you're using for a particular corner.
You can create a constant acceleration vector (A) up until the point the car has moved around the corner to the point where the acceleration component can't be large enough to keep A constant.
Here:
formatting link
You can see the "friction circle" with its (somewhat exaggerated) flat spot.
The velocity vector of the car entering the corner can be broken into x and y components. As a driver, you want to keep all the x velocity and accelerate in the exact opposite direction to the incoming y velocity.
That works for perfectly constant A all through the first phase of the corner until you reach the point where the flat spot starts to limit A more and more.
BTW, I took a closer look at the diagram you found AND the article from which it was taken, and neither it nor the article it came from are great representations of what actually happens when driving around a corner.
I can get specific if you want, but for instance, the article says (and the way the diagram is drawn mostly agrees):
'Braking during cornering is a big NO. If you remember one thing from the Braking and advanced braking articles, make sure to never brake on a bend. Braking really upsets the cornering balance and will nearly always cause problems, especially if hard braking is required.'
Pretty much braking in there is wrong.
Braking during cornering is now accepted as the fastest way around a corner. Just listen to the engine note while watching F1 and you'll hear it decrease to almost all the way into the apex.
A
Alan
The acceleration phase is purely optional.
Or maybe it's poor driving.
I dare you to show the map of the route you claim has no straightaways.
A
AMuzi
I am not an expert on F1 competition driving, but do that in a Corvair or a Porsche 356 and you're not going to complete that corner; physics will send you elsewhere!
I'll accept that the diagram was accentuated but IME the fastest path through a corner is asymmetric for cars I know well. For other situations or vehicles maybe, maybe not.
Andrew Muzi
am@yellowjersey.org
Open every day since 1 April, 1971
A
Alan
Both present unique challenges, but they're not caused by braking while cornering.
And I didn't say it was symmetric.
A portion of it is on a parabolic path.
Choose your favourite AI assistant and ask it:
'What is the trajectory of an object with an initial velocity undergoing constant acceleration?'
From the point where you have slowed the car enough just to keep the car on the road, to the point where you can no longer maintain a constant acceleration, the car will move on a parabolic path.
I'm not guessing: I've actually done the work.
M
Maria Sophia
In decades of posting to Usenet, I have never even once disagreed with any sensibly logically defensible point, so I take your suggestion seriously.
You have a good idea, perhaps, that I need to add to the python script a calculation of the straightaways in some fashion, when comparing roads.
What would we algorithmically define a straightway as, anyway?
My first-pass idea is to classify any continuous sequence of track points where the radius of curvature is large (R > 200 meters perhaps?) and persists for a minimum distance (e.g., 15+ meters) as a straight section.
That gives me this kind of output. How does it look to you for straightaway inherence for road number 1?
python roadgeometry.py road1.gpx Loaded 421 raw track points from 'road1.gpx'.
Radius: 4.79m | Direction: Left | Lat/Lon: REDACTED
Radius: 5.06m | Direction: Left | Lat/Lon: REDACTED
Radius: 5.28m | Direction: Left | Lat/Lon: REDACTED
Radius: 5.36m | Direction: Right | Lat/Lon: REDACTED
Radius: 6.26m | Direction: Left | Lat/Lon: REDACTED
Analyzing road1, it has 292 sharp curves and 4.79-meter hairpins. Average Straightaway Length: 62.32 meters (roughly 200 feet). Longest Straightaway: 453.67 meters (under 0.3 miles). That is at the bottom, when the road meets flatland proper. . How does it look to you for straightaway inherence for road number 1? a. Do you consider micro-straights acceleration zones? b. Do you think continuous braking is inevitable?
Is a 60-meter straightaway barely long enough to transition from one steering lock to the opposite lock and get off the brakes for a split second before the next corner arrives. Do we have the runway to "accelerate through" a corner when the next hazard is already upon us immediately?
Let's try another local road in the Santa Cruz Mountain range. python roadgeometry.py road2.gpx Loaded 713 raw track points from 'road2.gpx'.
Radius: 4.92m | Direction: Right | Lat/Lon: REDACTED
Radius: 5.43m | Direction: Right | Lat/Lon: REDACTED
Radius: 6.25m | Direction: Left | Lat/Lon: REDACTED
Radius: 6.56m | Direction: Left | Lat/Lon: REDACTED
Radius: 6.67m | Direction: Right | Lat/Lon: REDACTED
a. Average straightaway length is 42.25 meters (about 138 feet) b. Longest straightaway is 102.91 meters (about a football field) c. Curve density is 595 sharp curves versus 58 micro-straights
At a modest speed of 25 mph (about 11 meters per second), the vehiclecrosses a 42-meter average straightaway in roughly 3.8 seconds.
python roadgeometry.py road3.gpx Loaded 319 raw track points from 'road3.gpx'.
Radius: 4.80m | Direction: Right | Lat/Lon: REDACTED
Radius: 4.86m | Direction: Left | Lat/Lon: REDACTED
Radius: 4.86m | Direction: Right | Lat/Lon: REDACTED
Radius: 4.91m | Direction: Right | Lat/Lon: REDACTED
Radius: 4.93m | Direction: Left | Lat/Lon: REDACTED
a. Average straightaway length is 48.90 meters b. The longest straightaway is 147.15 meters c. The tightest hairpin is 4.80 meters
When people who live in flat grid systems or wide suburban layouts try to analyze mountain driving, they picture winding country roads with pleasant straights between corners. But when you run actual gps track data through geometric analysis for steep, single-lane Santa Cruz mountain routes with sustained 10% to 20% descending grades, the math completely shatters the "brake early and accelerate through" theory.
Look at what the data actually reveals across these three roads:
Road 1 has 292 sharp curves with an average straightaway length of 62 meters and a tightest hairpin radius of 4.79 meters.
Road 2 has 595 sharp curves with an average straightaway length of 42 meters and a tightest hairpin of 4.92 meters.
Road 3 has 290 sharp curves into a shorter distance with an average straightaway length of 48 meters and a tightest hairpin of 4.80 meters.
On a 10% to 20% descending grade, gravity acts as a powerful continuous accelerator. Given the average straightaway is 40 to 60 meters long, a car traveling at even 25 mph crosses that stretch in less than four seconds.
On roads like these, are you sure we can consider the "straightaways" to be acceleration zones or are they simply the brief split-second our steering wheel crosses center while transitioning from one hard lock to the opposite lock.
The question is whether there is enough runway to "accelerate through" a corner because the next sub-5-meter hairpin is already arriving fast.
Key to answering that question is whether gravity constantly floods the system with kinetic energy faster than engine braking or short pauses can shed it, such that drivers may be unable to separate braking from turning.
Are drivers forced into a continuous loop of heavy braking while the vehicle is already loaded sideways, resulting in the severe camber scrub that chews up the outer tire shoulders?
Again, I have never disagree with any logical statements in my decades of posting to Usenet, but here, we need to figure out whether it's even possible to do the "track-style" techniques on these mountain roads...
On Usenet, someone always knows something the rest of us don't.
-
-hh
That's classical lift throttle oversteer; happens with 911's too (BTDT) and pretty much any other rear-engine (if you know what you're doing ;-)
It can be symmetrical, as well as being biased early or late, because it really depends on context & needs: curves don't exist in a vacuum, as they can be linked with other curves as well as straightaways...plus there's also traffic, conditions, etc. There's some general principles, but the fastest line even for the same corner is subject to change.
But what does rule them all is the friction circle. In a nutshell, the more you brake/accelerate, the smaller the remaining budget is for lateral turning forces...and likewise, the larger the lateral, the less remains for braking/accelerating.
-hh
A
Alan
AMuzi, don't you find it interesting that the text of yours he left in...
...is NOTHING that he addresses in his reply?
:-)
M
Maria Sophia
Given the discussion about straightawys between curves is an extermely important road inherency metric that I hadn't included, I thank you for bringing up this critically important comparison criteria between roads.
I modified the Python code to output the information I "think" you need to help us determine if braking prior to curves is feasible on some roads.
Here's the output, with the exact coordinates & road names redacted.
python roadgeometry.py road1.gpx Loaded 421 raw track points from 'road1.gpx'.
Radius: 4.80m | Direction: Right | Lat/Lon: XX.XX3416, -XXX.XX8357
Radius: 4.86m | Direction: Left | Lat/Lon: XX.XX0522, -XXX.XX7788
Radius: 4.86m | Direction: Right | Lat/Lon: XX.XX0522, -XXX.XX7788
Radius: 4.91m | Direction: Right | Lat/Lon: XX.XX3657, -XXX.XX7972
Radius: 4.93m | Direction: Left | Lat/Lon: XX.XX3444, -XXX.XX7060
What do you think?
Does the python script output the necessary information for someone like you, who knows cornering techniques, to determine what is feasible?
On Usenet, we teach what we know and learn from others what we don't.
A
Alan
Again...note how nothing that follows has any bearing on the text he left in.
B
Bob West
I was arguing the opposite of net zero, and stating that there is wear in both directions. Someone else was arguing net zero. My mistake was overestimating the wear uphill.
B
Bob West
Yep, you don't hear talk about "chicken strips" on cars.
B
Bob West
You two don't seem to be talking about catenaries in a driving/racing context. I had to Google it myself, and both of you should, too. It refers only to a cross section of the banking on a banked curve, not the path of the car or the shape of the curve. Alan seems to know a lot of technical stuff and terms, mostly useful for racing, but seems to know little about cars in the real world. Most drivers don't live in that racing world, and I'm pretty sure the regular uses out there in Santa Cruz mountains are no exception.
B
Bob West
It says "and/or trail braking. I already mentioned that you cannot read, and you are misreading this, as expected. Of course misreading things is helpful if all you want to do is argue.
M
Maria Sophia
That particular roadway was suggested by "The Real Bev", Chris.
Since I'm a well-educated engineer & scientist, everything I post is fully reproducible by anyone, since I provide the GPX files & the scripts.
The reason I *want* people to reproduce the results, and to test the script on their particular commute, is to IMPROVE OUR CAPBILITIES with their help.
To that end, I appreciated the suggestion of adding the straightaways to the road inherency metrics, so that we can get an idea if the classic brake hard BEFORE turning is even remotely POSSIBLE on our mountain roads.
To that end, the improved python script is included below, where I added the output for the five suggested roads in this thread from Blaine & TRB.
Here's the inherency for three of our roads, but in the documentation below is the inherency for the five roads that were suggested in this thread.
python roadgeometry.py road1.gpx Loaded 421 raw track points from 'road1.gpx'.
Radius: 4.80m | Direction: Right | Lat/Lon: XX.XX3416, -XXX.XX8357
Radius: 4.86m | Direction: Left | Lat/Lon: XX.XX0522, -XXX.XX7788
Radius: 4.86m | Direction: Right | Lat/Lon: XX.XX0522, -XXX.XX7788
Radius: 4.91m | Direction: Right | Lat/Lon: XX.XX3657, -XXX.XX7972
Radius: 4.93m | Direction: Left | Lat/Lon: XX.XX3444, -XXX.XX7060
The key question to answer, given the 10% to 20% constant grade, is whether there is room to "brake before turns" given a short distance between turns.
# ################################################################# # v1.7 20261104 Ran a random control test on Utah mountain roads # Suggested by Blaine Message-ID: <11cficq$pl38$ snipped-for-privacy@dont-email.me # ################################################################# # Four Utah test roads (randomly selected on comp.lang.python) # 1. Moki Dugway # 2. Shafer Canyon Road (Shafer Trail) # 3. Burr Trail # 4. Guardsman Pass # # Shafer Canyon and Burr Trail have steep switchback sections. # Moki Dugway has sustained descending switchbacks. # Guardsman Pass is a paved-mountain-road comparison. # ################################################################### #
formatting link
# 1. Open the appropriate road link below. # 2. Select File > New. # 3. Select the route-planning tool (pen icon). # 4. Select the appropriate routing mode (bicycle). # 5. Trace the complete road or click beginning & ending points. # 6. Select File > Export > Download file. # 7. Save using the suggested filename. # 8. Run the Python analysis. # C:\> python mountaincurves.py [input.gpx] # ------------------------------------------------------------------- #
formatting link
# 1. Open the appropriate road link below. # 2. Delete the existing query in the editor (if any). # 3. Copy ONE query below into the editor and press the "Run" icon. # 4. Press the "Search" icon to zoom into the highlighted results. # 5. Select Export > Data > GPX # 6. Save using the suggested filename. # 7. Run the Python analysis. # C:\> python mountaincurves.py [input.gpx] # ------------------------------------------------------------------- #
formatting link
# Moki Dugway: North to South, descending Cedar Mesa #
formatting link
#
formatting link
#
formatting link
# 1. Point a web browser to
formatting link
# 2. In the top-left pulldown, keep "Trekking bike, Original" # 3. In the left search icon, search for "utah moki dugway" # 4. That will zoom you to the middle of the Moki Dugway # 5. Click the draw/pencil icon in the UI toolbar at left # 6. Start the click on UT 261 just north of the switchbacks, # on top of Cedar Mesa (near the junction pointing toward Muley Point) # 7. End the click on UT 261 just south of the switchbacks down # on the desert floor, near the Valley of the Gods turnoff. # BRouter will automatically snap the route along the road nodes, # calculating the 3-mile, 11% grade descent down the switchbacks. #
formatting link
# 8. If desired, click on "incline coding" at left for color-coded gradients # 9. At top, click the "Export" button, choose a name & tap "Export Route" # 10. The result will be a mukidugway.gpx file that can be analyzed # # Then run the python road inherency script on that gpx output: # python mountaincurves.py mokidugway2.gpx # ################################################################### # Moki Dugway, Utah State Route 261, Cedar Mesa, Utah. # I traced the steep switchback section #
formatting link
#
formatting link
# [out:xml][timeout:60]; # // Moki Dugway - southern hairpin extension # ( # way["highway"] # (37.17,-109.96,37.23,-109.91); # ); # (._;>;); # out body; # Save as mokidugway.gpx # ------------------------------------------------------------------- # Shafer Canyon Road (Shafer Trail) Canyonlands National Park, Utah #
formatting link
#
formatting link
# [out:xml][timeout:60]; # way["highway"]["name"~"Shafer Trail|Shafer Canyon",i] # (38.43,-109.84,38.51,-109.77); # (._;>;); # out body; # Save as shafercanyon.gpx # ------------------------------------------------------------------- # Burr Trail, Boulder, Utah, through Long Canyon and Waterpocket Fold. #
formatting link
#
formatting link
# [out:xml][timeout:60]; # // Burr Trail, Boulder, Utah # // Long Canyon and Waterpocket Fold # ( # way["highway"]["name"~"Burr Trail",i] # (37.81,-111.08,37.90,-110.98); # ); # (._;>;); # out body; # # Save as burrtrail.gpx # ------------------------------------------------------------------- # Guardsman Pass, Wasatch Mountains, between Brighton & Park City, Utah. #
formatting link
#
formatting link
# [out:xml][timeout:60]; # // Guardsman Pass # // Wasatch Mountains, between Brighton and Park City, Utah # ( # way["highway"]["name"~"Guardsman Pass|Guardsman Pass Road",i] # (40.55,-111.62,40.66,-111.48); # ); # Save as guardsmanpass.gpx # ################################################################### # RUNNING THE FOUR TESTS # python mountaincurves.py mokidugway.gpx # python mountaincurves.py shafercanyon.gpx # python mountaincurves.py burrtrail.gpx # python mountaincurves.py guardsmanpass.gpx # ################################################################### import xml.etree.ElementTree as ET import math import sys def parse_gpx(filename): tree = ET.parse(filename) root = tree.getroot() points = [] # Extract all track points in order across all track segments for trkpt in root.iter('{
formatting link
}trkpt'): lat = float(trkpt.get('lat')) lon = float(trkpt.get('lon')) points.append((lat, lon)) return points def calculate_curvature(p1, p2, p3): # Menger curvature / circumcircle radius calculation # Project lat/lon to local meters centered around p2 lat_scale = 111132.92 lon_scale = 111412.84 * math.cos(math.radians(p2[0])) def to_m(p): return ((p[1] - p2[1]) * lon_scale, (p[0] - p2[0]) * lat_scale) A = to_m(p1) B = (0.0, 0.0) # p2 is origin C = to_m(p3) # Side lengths of triangle ABC a = math.hypot(B[0]-C[0], B[1]-C[1]) b = math.hypot(A[0]-C[0], A[1]-C[1]) c = math.hypot(A[0]-B[0], A[1]-B[1]) s = (a + b + c) / 2.0 area_sq = s * (s - a) * (s - b) * (s - c) if area_sq <= 0 or a * b * c == 0: return float('inf'), "Straight" area = math.sqrt(abs(area_sq)) radius = (a * b * c) / (4.0 * area) # Determine turn direction via cross product sign of AB x AC cross = (A[0] - B[0]) * (C[1] - B[1]) - (A[1] - B[1]) * (C[0] - B[0]) direction = "Left" if cross > 0 else "Right" return radius, direction if __name__ == "__main__": # Determine GPX filename from command-line arguments, or default to soda_springs.gpx if len(sys.argv) > 1: gpx_filename = sys.argv[1] else: gpx_filename = 'soda_springs.gpx' print(f"No filename provided. Defaulting to '{gpx_filename}'...") print(f"Tip: You can pass a custom file like: python roadgeometry.py my_route.gpx\n") try: pts = parse_gpx(gpx_filename) except FileNotFoundError: print(f"Error: Could not find GPX file '{gpx_filename}'. Please check the filename or path.") sys.exit(1) print(f"Loaded {len(pts)} raw track points from '{gpx_filename}'.") left_turns = 0 right_turns = 0 curve_records = [] # Store detailed records: (radius, direction, lat, lon) # Straightaway tracking variables straights_count = 0 current_straight_length = 0.0 straight_lengths = [] # Slide a window of 3 points (p1, p2, p3) to analyze curvature for i in range(len(pts) - 2): # Calculate physical distance between consecutive points in meters lat_scale = 111132.92 lon_scale = 111412.84 * math.cos(math.radians(pts[i+1][0])) seg_len1 = math.hypot((pts[i+1][1] - pts[i][1]) * lon_scale, (pts[i+1][0] - pts[i][0]) * lat_scale) seg_len2 = math.hypot((pts[i+2][1] - pts[i+1][1]) * lon_scale, (pts[i+2][0] - pts[i+1][0]) * lat_scale) # Filter out cross-segment data jumps (e.g. disconnected OSM ways > 100m) if seg_len1 > 100.0 or seg_len2 > 100.0: if current_straight_length >= 15.0: straights_count += 1 straight_lengths.append(current_straight_length) current_straight_length = 0.0 continue r, direction = calculate_curvature(pts[i], pts[i+1], pts[i+2]) if r < 200: # Filter for curves with a radius under 200 meters curve_records.append((r, direction, pts[i+1][0], pts[i+1][1])) if direction == "Left": left_turns += 1 elif direction == "Right": right_turns += 1 # If we were tracking a straightaway, check if it met our minimum length (15m) if current_straight_length >= 15.0: straights_count += 1 straight_lengths.append(current_straight_length) current_straight_length = 0.0 else: # Accumulate length of the straight/gentle section current_straight_length += seg_len2 # Catch any trailing straightaway at the very end of the track if current_straight_length >= 15.0: straights_count += 1 straight_lengths.append(current_straight_length) # Calculate total path length and bending statistics total_length = sum(straight_lengths) + sum([r for r, _, _, _ in curve_records]) # placeholder for distance accumulation # Alternatively, summing segment lengths properly: total_path_length = sum(math.hypot((pts[k+1][1] - pts[k][1]) * 111412.84 * math.cos(math.radians(pts[k+1][0])), (pts[k+1][0] - pts[k][0]) * 111132.92) for k in range(len(pts)-1)) curved_distance = sum(straight_lengths) # logic can be adapted to sum curve segment lengths print(f"\n--- Road Geometric Analysis: {gpx_filename} ---") print(f"Total road length: {total_path_length:.2f} meters") print(f"Detected sharp/moderate curves (R < 200m): {len(curve_records)}") print(f"Detected qualifying straightaways (R >= 200m, >= 15m): {straights_count}") if straight_lengths: print(f"Average straightaway length: {sum(straight_lengths)/len(straight_lengths):.2f} meters") print(f"Longest straightaway: {max(straight_lengths):.2f} meters") print(f"Left-hand turning distribution: {left_turns}") print(f"Right-hand turning distribution: {right_turns}") if curve_records: # Sort curve records by radius ascending to find the tightest hairpins first curve_records.sort(key=lambda x: x[0]) print(f"Minimum corner radius (tightest hairpin): {curve_records[0][0]:.2f} meters") print(f"\n--- Top 5 Tightest Hairpins / Curves ---") for idx, (r, direction, lat, lon) in enumerate(curve_records[:5], 1): print(f"{idx}. Radius: {r:.2f}m | Direction: {direction} | Lat/Lon: {lat:.6f}, {lon:.6f}") # ################################################################### # END OF mountaincurves.py # ################################################################### # Results: # C:\> python mountaincurves.py mokidugway.gpx # Loaded 220 raw track points from 'mokidugway.gpx'. # # --- Road Geometric Analysis: mokidugway.gpx --- # Total road length: 4012.66 meters # Detected sharp/moderate curves (R < 200m): 154 # Detected qualifying straightaways (R >= 200m, >= 15m): 21 # Average straightaway length: 87.21 meters # Longest straightaway: 267.93 meters # Left-hand turning distribution: 76 # Right-hand turning distribution: 78 # Minimum corner radius (tightest hairpin): 5.89 meters # # --- Top 5 Tightest Hairpins / Curves --- # 1. Radius: 5.89m | Direction: Right | Lat/Lon: 37.276825, -109.935955 # 2. Radius: 7.00m | Direction: Left | Lat/Lon: 37.272532, -109.944278 # 3. Radius: 7.67m | Direction: Left | Lat/Lon: 37.272507, -109.944243 # 4. Radius: 8.48m | Direction: Right | Lat/Lon: 37.276883, -109.935927 # 5. Radius: 8.84m | Direction: Right | Lat/Lon: 37.276849, -109.935935 # # C:\> python mountaincurves.py shafercanyon.gpx # Loaded 162 raw track points from 'shafercanyon.gpx'. # # --- Road Geometric Analysis: shafercanyon.gpx --- # Total road length: 3494.97 meters # Detected sharp/moderate curves (R < 200m): 131 # Detected qualifying straightaways (R >= 200m, >= 15m): 15 # Average straightaway length: 63.69 meters # Longest straightaway: 247.76 meters # Left-hand turning distribution: 66 # Right-hand turning distribution: 65 # Minimum corner radius (tightest hairpin): 3.97 meters # # --- Top 5 Tightest Hairpins / Curves --- # 1. Radius: 3.97m | Direction: Right | Lat/Lon: 38.449308, -109.820485 # 2. Radius: 4.44m | Direction: Left | Lat/Lon: 38.448474, -109.818339 # 3. Radius: 6.81m | Direction: Left | Lat/Lon: 38.447882, -109.818434 # 4. Radius: 7.10m | Direction: Left | Lat/Lon: 38.447199, -109.819240 # 5. Radius: 7.93m | Direction: Right | Lat/Lon: 38.450305, -109.819414 # # C:\> python mountaincurves.py burrtrail.gpx # Loaded 199 raw track points from 'burrtrail.gpx'. # # --- Road Geometric Analysis: burrtrail.gpx --- # Total road length: 3970.66 meters # Detected sharp/moderate curves (R < 200m): 139 # Detected qualifying straightaways (R >= 200m, >= 15m): 26 # Average straightaway length: 66.65 meters # Longest straightaway: 378.64 meters # Left-hand turning distribution: 71 # Right-hand turning distribution: 68 # Minimum corner radius (tightest hairpin): 4.70 meters # # --- Top 5 Tightest Hairpins / Curves --- # 1. Radius: 4.70m | Direction: Left | Lat/Lon: 37.848198, -111.024654 # 2. Radius: 6.16m | Direction: Left | Lat/Lon: 37.848657, -111.023535 # 3. Radius: 6.88m | Direction: Right | Lat/Lon: 37.850700, -111.027191 # 4. Radius: 7.59m | Direction: Right | Lat/Lon: 37.850662, -111.027217 # 5. Radius: 7.73m | Direction: Right | Lat/Lon: 37.850838, -111.025700 # # C:\> python mountaincurves.py guardsmanpass.gpx # Loaded 219 raw track points from 'guardsmanpass.gpx'. # # --- Road Geometric Analysis: guardsmanpass.gpx --- # Total road length: 5248.45 meters # Detected sharp/moderate curves (R < 200m): 135 # Detected qualifying straightaways (R >= 200m, >= 15m): 31 # Average straightaway length: 87.77 meters # Longest straightaway: 277.35 meters # Left-hand turning distribution: 70 # Right-hand turning distribution: 65 # Minimum corner radius (tightest hairpin): 2.04 meters # # --- Top 5 Tightest Hairpins / Curves --- # 1. Radius: 2.04m | Direction: Left | Lat/Lon: 40.620587, -111.495800 # 2. Radius: 2.04m | Direction: Left | Lat/Lon: 40.620605, -111.495784 # 3. Radius: 2.29m | Direction: Left | Lat/Lon: 40.620597, -111.495796 # 4. Radius: 2.33m | Direction: Right | Lat/Lon: 40.620464, -111.495741 # 5. Radius: 2.71m | Direction: Right | Lat/Lon: 40.620569, -111.495601 # # C:\> python mountaincurves.py angelescrest.gpx # Loaded 632 raw track points from 'angelescrest.gpx'. # # --- Road Geometric Analysis: angelescrest.gpx --- # Total road length: 12591.62 meters # Detected sharp/moderate curves (R < 200m): 424 # Detected qualifying straightaways (R >= 200m, >= 15m): 69 # Average straightaway length: 81.22 meters # Longest straightaway: 260.03 meters # Left-hand turning distribution: 207 # Right-hand turning distribution: 217 # Minimum corner radius (tightest hairpin): 10.28 meters # # --- Top 5 Tightest Hairpins / Curves --- # 1. Radius: 10.28m | Direction: Left | Lat/Lon: 34.222522, -118.192759 # 2. Radius: 18.12m | Direction: Right | Lat/Lon: 34.220180, -118.191992 # 3. Radius: 21.20m | Direction: Right | Lat/Lon: 34.222678, -118.192989 # 4. Radius: 38.06m | Direction: Left | Lat/Lon: 34.228787, -118.183125 # 5. Radius: 39.78m | Direction: Left | Lat/Lon: 34.228913, -118.182865 # # C:\> python mountaincurves.py mulholland.gpx # Loaded 318 raw track points from 'mulholland.gpx'. # # --- Road Geometric Analysis: mulholland.gpx --- # Total road length: 7071.52 meters # Detected sharp/moderate curves (R < 200m): 221 # Detected qualifying straightaways (R >= 200m, >= 15m): 37 # Average straightaway length: 78.48 meters # Longest straightaway: 356.05 meters # Left-hand turning distribution: 117 # Right-hand turning distribution: 104 # Minimum corner radius (tightest hairpin): 9.33 meters # # --- Top 5 Tightest Hairpins / Curves --- # 1. Radius: 9.33m | Direction: Right | Lat/Lon: 34.129665, -118.468754 # 2. Radius: 15.26m | Direction: Left | Lat/Lon: 34.129776, -118.466845 # 3. Radius: 16.88m | Direction: Left | Lat/Lon: 34.129803, -118.466891 # 4. Radius: 17.45m | Direction: Right | Lat/Lon: 34.131688, -118.431116 # 5. Radius: 18.41m | Direction: Right | Lat/Lon: 34.129666, -118.466773 # ################################################################### # ###################################################################
On Usenet, we pool our knowledge so everyone's a little smarter.
B
Bob West
Trail braking is braking, but probably not what your are envisioning. It'll help on any vehicle.
M
Maria Sophia
If someone wishes to be helpful, please select from one to three mountain twisty roads in the Santa Cruz Mountains for us to run the full test on.
Trying to stay on track so all of us have a better method to determine road inherencies that affect 10% to 20% constant downhill tight turns with almost no straightaways in between, I can't give out where I live exactly in the Santa Cruz Mountains, but if someone wants to randomly select what they consider to be a twisty mountain road in these mountains, please do.
Pick a twisty mountain road either in Santa Cruz County or Santa Clara County that you feel would be a good test of the current python analysis.
Note I still need to add elevation and grade, but also bank angle, which, well, the bank angle may be impossible to add given we need the data first.
Since I'm an engineer & scientist, I want EVERYONE to be able to run the same analysis that I'm running, especially as there has been a good discussion that some people suggest there's room for braking between turns.
Is there room? I don't know yet.
If someone can pick a representative road in the Santa Cruz Mountains, I'll run the full suite of tests on that road and publish it here for us to see.
Then, working together, we can test if the suggestions of braking before turns are even possible, given that the grade is from 10% to 20% on some.
If someone wishes to be helpful, please select from one to three mountain twisty roads in the Santa Cruz Mountains for us to run the full test on.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.