* first draft copy, needs updates
* gate behind exp mode
* can be one line
* this is no longer true
* toggle isn't just e2e long now, rename
* don't enable/disable
* kinda works!
* remove old giant qstring
* comment clean up
* similar breakpoint
* more clean up
* fixup onroad
* preserve planner behavior, and we don't need to look at confirmed param if we're onroad
* update translations
* vanish translations
* use scene for op long
* lowercase!
* updated copy
* need to check longitudinal here now too
* clean up!
* here is better
* used
* no nav emoji
* don't check param if not valid
* revert this
revert this
* ed
old-commit-hash: f973d605b2
.arg(tr("openpilot defaults to driving in <b>chill mode</b>. Experimental mode enables <b>alpha-level features</b> that aren't ready for chill mode. Experimental features are listed below:"))
.arg(tr("🌮 End-to-End Longitudinal Control 🌮"))
.arg(tr("Let the driving model control the gas and brakes. openpilot will drive as it thinks a human would, including stopping for red lights and stop signs. "
"Since the driving model decides the speed to drive, the set speed will only act as an upper bound. This is an alpha quality feature; mistakes should be expected."))
.arg(tr("New Driving Visualization"))
.arg(tr("The driving visualization will transition to the road-facing wide-angle camera at low speeds to better show some turns. The Experimental mode logo will also be shown in the top right corner."));
QMap<QString,QString>exp_features;
exp_features["e2e_long"]=tr("Let the driving model control the gas and brakes. openpilot will drive as it thinks a human would, including stopping for red lights and stop signs. "
"Since the driving model decides the speed to drive, the set speed will only act as an upper bound. This is an alpha quality feature; mistakes should be expected.");
exp_features["nav_on_op"]=tr("When navigation has a destination, openpilot will input the map information into the model. This generally improves behavior and allows openpilot to keep left or right appropriately at forks/exits and take turns. "
"Lane change behavior is unchanged and still activated by the driver. This is an alpha quality feature; mistakes should be expected.");
exp_features["visualization"]=tr("The driving visualization will transition to the road-facing wide-angle camera at low speeds to better show some turns. The Experimental mode logo will also be shown in the top right corner.");
constQStringunavailable=tr("Experimental mode is currently unavailable on this car since the car's stock ACC is used for longitudinal control.");
// prepended note that end-to-end longitudinal control will not be used
constQStringunavailable=tr("End-to-End Longitudinal Control is currently unavailable on this car since the car's stock ACC is used for longitudinal control.");
QStringlong_desc=unavailable+""+ \
tr("openpilot longitudinal control may come in a future update.");
if(CP.getExperimentalLongitudinalAvailable()){
if(is_release){
long_desc=unavailable+""+tr("An alpha version of openpilot longitudinal control can be tested, along with Experimental mode, on non-release branches.");
long_desc=unavailable+""+tr("An alpha version of openpilot longitudinal control can be tested, along with End-to-End Longitudinal Control, on non-release branches.");
}else{
long_desc=tr("Enable experimental longitudinal control to allow Experimental mode.");
long_desc=tr("Enable experimental longitudinal control to use End-to-End Longitudinal Control.");
QStringe2e_description=tr("openpilot defaults to driving in <b>chill mode</b>. Experimental mode enables <b>alpha-level features</b> that aren't ready for chill mode. Experimental features are listed below:")+"<br>";