Auto­no­mous dri­ving— on ever­yo­ne’s lips, over­grown with myths. Inno­va­ti­ve tech­no­lo­gy is being gra­du­al­ly deve­lo­ped day by day. Howe­ver, is 100% code tes­ting nee­ded? Will inno­va­ti­on be dama­ged by strict ISO stan­dards and norms? We tal­ked to Artur Stolar­c­zuk, a Code­lab expert, who deve­lo­ps advan­ced auto­mo­ti­ve IT pro­jects on a dai­ly basis and yet who, after hours, dreams of the joy of dri­ving a tho­roughb­red, gaso­li­ne V8 🙂

Artur – what are you working on in your cur­rent project?

I am invol­ved in the soft­ware deve­lo­p­ment of an ECU that assists the dri­ver in object and obsta­cle detec­tion in front of the vehi­cle. It is a sys­tem based on a came­ra that cap­tures the image in front of the car and sends it out for fur­ther pro­ces­sing. This makes it pos­si­ble to detect other vehi­cles, cyc­lists, pede­stri­ans, or any other objects on the road and allows the car to react accord­in­gly (if the dri­ver does not react on time). In the future, this sys­tem shall be fur­ther deve­lo­ped and adap­ted to ful­ly auto­no­mous driving. 

At this point, it is worth men­tio­ning that it must meet all the strict requi­re­ments impo­sed by the ISO 26262 (Func­tio­n­al Safe­ty for Auto­mo­bi­les) standard.

What is the dif­fe­rence bet­ween the deve­lo­p­ment of ISO 26262 com­pli­ant sys­tems and any other software?

First of all, the­re is a signi­fi­cant focus on two aspects: secu­ri­ty and safe­ty of such sys­tems. To put it sim­ply: the first one deals with all poten­ti­al out­side thre­ats, while the second one copes with all hazards from the sys­tem its­elf that could have an impact on peop­le and resour­ces (e.g. software/hardware malfunction).

The­re­fo­re, for the soft­ware to be com­pli­ant with ISO 26262, it must meet very strict qua­li­ty requi­re­ments, gua­ran­tee the hig­hest pos­si­ble test coverage at pro­duc­tion sta­ge (e.g. 100% code coverage with unit tests, requi­red num­ber of hours of test dri­ves, etc.), and must be writ­ten in com­pli­an­ce with soft­ware deve­lo­p­ment stan­dards for the Auto­mo­ti­ve indus­try (e.g. MISRA).

On the one hand, it makes the deve­lo­p­ment pro­cess qui­te com­pli­ca­ted and cum­ber­so­me, and on the other, we must keep in mind that the sys­tem we crea­te shall be respon­si­ble for future dri­vers’ and their pas­sen­gers’ lives. Ergo, I think it is worth bothe­ring a bit more than usu­al about the qua­li­ty of code we wri­te, at least for our own peace of mind.

Are the cur­rent sta­te-of-the-art Acti­ve Safe­ty sys­tems real­ly safe enough?

Nowa­days, we can find Acti­ve Safe­ty sys­tems in almost every new car avail­ab­le on the mar­ket. In the case of pre­mi­um brands, they have been offe­red for a cou­p­le of years alrea­dy. I think ever­yo­ne has heard about fea­tures like adap­ti­ve crui­se con­trol, par­king assi­stant, or lane depar­tu­re warning sys­tem, right?

Addi­tio­nal­ly, now we have sys­tems that can detect pede­stri­ans and obsta­cles by coope­ra­ting with the emer­gen­cy bra­king sys­tem, night visi­on came­ras, traf­fic jam assi­stants or sway warning systems.

Nevertheless, the­se are the sys­tems that still ope­ra­te on level 2 (of auto­no­my) and OEMs still high­light that the dri­ver should keep their hands on the stee­ring wheel and watch their sur­roun­dings care­ful­ly at all times.

I think that ever­yo­ne who has ever used such goo­dies like adap­ti­ve crui­se con­trol or lane depar­tu­re warning (no mat­ter the manu­fac­tu­rer) can speak very easi­ly about the pros and cons of such solu­ti­ons and indi­ca­te at least a few cor­ner cases whe­re the sys­tem did not behave as expec­ted or fai­led to react at all. The adap­ti­ve crui­se con­trol in my car, for instance, can be very annoy­ing when it loses sight of the vehi­cle ahead on almost every cur­ve (too nar­row of a radar beam) and starts acce­le­ra­ting, just to hit the bra­kes a few seconds later. On the other hand, I heard about use cases (dif­fe­rent car) whe­re the radar beam was too wide and it would wron­gly detect vehi­cles moving in the oppo­si­te direc­tion, employ­ing unex­pec­ted emer­gen­cy bra­king until com­ing to a full stop. The­se cases show that the­re is no per­fect solu­ti­on and the num­ber of chal­len­ges is enormous.

In my opi­ni­on, the­re is still much room for impro­ve­ment, but when loo­king at recent sta­te-of-the-art solu­ti­ons, the future loo­ks bright. Every new soft­ware genera­ti­on that hits the mar­ket works bet­ter and bet­ter. I am loo­king for­ward to see­ing ful­ly auto­no­mous vehi­cles in the streets. In the end, I am respon­si­ble for the deve­lo­p­ment of such sys­tems as well…

Shall cars ever be autonomous?

I think the­re is a very long way to go befo­re we crea­te ful­ly auto­no­mous vehi­cles, des­pi­te the fact that some OEMs claim that their sys­tems shall reach level 4, or even 5, very soon. I think that’s just boas­ting for the moment.

Bes­i­des, I see two dif­fe­rent approa­ches here fol­lo­wed by dif­fe­rent OEMs:

  • Small impro­ve­ments of alrea­dy deve­lo­ped and deploy­ed sys­tems, incre­men­tal updates with new fea­tures and tes­ting the­se chan­ges in the field, making their cus­to­mers beta-tes­ters (just like Tes­la does for instance)
  • Focus on honing the sys­tem and deve­lo­p­ment and deploy­ment of requi­red road infra­st­ruc­tu­re in par­al­lel; this inclu­des all nee­ded com­pon­ents that shall be part of highway/speedway infra­st­ruc­tu­re and shall allow self-dri­ving from the spot. I heard such infra­st­ruc­tu­re was being con­struc­ted in Ger­ma­ny and Chi­na alrea­dy. Howe­ver, ful­ly auto­no­mous dri­ving shall be pos­si­ble up to 80kph only.

I belie­ve the first step is the most dif­fi­cult one, whe­re some cars shall be auto­no­mous among human dri­vers. This shall pro­du­ce a lot of unex­pec­ted cor­ner cases that are very hard to fore­see at the deve­lo­p­ment sta­ge. It may pro­du­ce very dan­ge­rous situa­tions. Inte­res­tin­g­ly, it could be much easier if all vehi­cles would beco­me instant­ly auto­no­mous and com­mu­ni­ca­te with each other.

Howe­ver, I do hope it will not come true too fast and I will have a chan­ce to get some joy from a good-loo­king Young­timer with a V8 under the hood befo­re it shall beco­me illegal…


Artur Stolar­c­zuk, soft­ware archi­tect with over 15 years of expe­ri­ence in deve­lo­p­ment of embed­ded sys­tems, most­ly for the auto­mo­ti­ve indus­try. Per­so­nal­ly a hus­band and father of two, casu­al bass gui­tar play­er and vol­ley­ball fan