-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand the options for vehicle types #15
Comments
Truck icons (SVG format) attached: |
Metadata about truck types: |
Please ensure the default parameters for each vehicle type match the values in the attached EXCEL file (tab 1). Also, "other" and "custom" can be combined. |
Vehicle parameters need a little more work. User can only specify whole numbers, but need ability to enter and display value to the second decimal (i.e., Width 2.60 m, Height 4.15 m, Length 12.50 m). Also, when trying to change the values, the app switches to the "Other" category. User should be able to specify different parameters for each vehicle type. |
Theres a UI semantics problem here. If the expectation is to change be able to change the height/weight for a given vehicle type, is the app then expected to retain those values for the next time the app is invoked? Which leads to another more general question: Should the app remember it's settings from one invocation to the next? It is relatively easy to have the app presist settings on the same browser. Persisting settings across different browsers and/or machines is significantly more difficult. |
Also, the older demo had support for imperial & metric units for truck parameters. Is that required? |
Thanks for clarifying. A couple of comments:
Based on the vehicle specifications you entered, you may require a municipal and/or Provincial permit. The driver and/or carrier is responsible for ensuring the default vehicle parameters or user-entered vehicle parameters are an accurate representation of the actual vehicle, for verifying all clearances and restrictions on the route, and for ensuring the vehicle is operated in compliance with all applicable municipal bylaws and provincial and federal regulations. [LINK to Municipal and Provincial contact information]
|
If I understand correctly then, the values in https://github.com/bcgov/smk-tlink/blob/develop/vehicle-types.js for each vehicle type/axle should be regarded as the max allowable for that pair? If a larger value is put in it will trigger the warning quoted above, as well as mark the entire route in red. Regarding the metric/imperial distinction, there are lots of uses of distance units in SMK. It would probably make sense to have an application-wide setting for choice of units. |
We could add "other" to the axle drop down, but the default values would have to be the max default weight for the highest axle count. For example, the max legislated weight for a straight truck with 5 axles is 39,200 kg (ignoring logging truck weight allowances, which add another 1,500 kg). Max legal weight for a tractor semi-trailer is 57,100kg All other parameters are independent of axle count, except as noted below: Max legislated width is 2.6 m (regardless of vehicle type and axle count) One caveat is that a dump truck with a reg. compliant tarping mechanism gets an additional 15 cm allowance (i.e., 4.30 m). However, this would add complexity to the vehicle configurator, which is why we ignore this allowance for the default vehicle types. Length varies depending on vehicle type (regardless of axle count/weight): Straight truck 2 axles is 12.50 m, as is a straight truck with 3, 4, or 5 axles. There are exceptions - max length for a tractor semi-trailer with up to 6 axles is 23.0 m. There are outliers that could be up 23.5 m (single steer, tridem drive, tandem trailer axle). Buses: |
Thank you for addressing the noted issues. A couple of minor tweaks/suggestions:
Height <=4.15 --> Blue Width <= 2.60 m --> Blue Length <= Default value (e.g., 12.50 m) --> Blue |
Thank you. Nearly complete. Suggest closing this card (getting too long). I will create a new card for the remaining issue:
|
The original beta app built by Translink had a list of vehicle types. We need to expand the truck types and reflect the provided graphics as appropriate.
The text was updated successfully, but these errors were encountered: