<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Renault Digital - Medium]]></title>
        <description><![CDATA[Accélérer l’évolution vers des mobilités durables pour tous - Medium]]></description>
        <link>https://medium.com/renault-digital?source=rss----2db017d110ad---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Renault Digital - Medium</title>
            <link>https://medium.com/renault-digital?source=rss----2db017d110ad---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:42:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/renault-digital" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Plongée au cœur du Centre d’Excellence IA de Renault Digital]]></title>
            <link>https://medium.com/renault-digital/plong%C3%A9e-au-c%C5%93ur-du-centre-dexcellence-ia-de-renault-digital-6ed6391ac9e5?source=rss----2db017d110ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/6ed6391ac9e5</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Christelle Lusso]]></dc:creator>
            <pubDate>Thu, 10 Jul 2025 08:59:02 GMT</pubDate>
            <atom:updated>2025-07-10T08:59:02.751Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QqZxOGlafX7jJMQcQiT4Dw.jpeg" /></figure><h3>1) Introduction</h3><p>Afin de répondre à l’ambition de Renault Group de devenir le « premier constructeur automobile entièrement opéré par l’IA », Renault Digital a créé le Centre d’Excellence IA (CoE IA).</p><h3>2) Qu’est-ce que le Centre d’Excellence IA de Renault Digital ?</h3><p>Le Centre d’Excellence IA (CoE IA) regroupe au sein de Renault Digital les équipes qui constituent le moteur d’innovation et d’expertise en intelligence artificielle pour l’ensemble du Groupe. Créé pour accompagner le déploiement de l’IA dans l’entreprise, le CoE IA rassemble plus de 40 experts qui, en lien avec les équipes Data et IA des business, développent, déploient et pérennisent des solutions d’intelligence artificielle dans tous les métiers du groupe.</p><h3>3) Les missions du Centre d’Excellence IA</h3><p>Le CoE IA remplit plusieurs missions qui structurent son activité et définissent sa valeur ajoutée pour le Groupe</p><h3>3.1) Industrialiser l’IA</h3><p>L’une des missions du CoE IA est de fournir les briques technologiques, les outils, les modèles et les frameworks qui permettent aux équipes métiers de déployer l’IA de manière robuste et sécurisée. Le CoE IA garantit la pertinence et la valeur ajoutée des solutions fournies, en s’appuyant sur l’expertise métier. Le défi majeur est de passer à l’échelle en déployant des solutions IA robustes, maintenables et durables, qui génèrent un impact mesurable.</p><h3>3.2) Apporter de l’expertise</h3><p>Selon la maturité des équipes locales, le CoE IA met à disposition des experts capables d’intégrer les projets, sur des durées variables, afin d’aider à développer et déployer des solutions d’IA adaptées aux besoins spécifiques des métiers. Cette expertise couvre tout le cycle de vie des projets : compréhension métier, sélection des données, modélisation, déploiement, et suivi de la performance. Cette approche collaborative est fondamentale : en s’appuyant sur les métiers, qui connaissent leurs problématiques et leurs données, le CoE IA apporte une expertise pointue pour déployer l’IA auprès des différentes équipes métiers.</p><p>Cette double mission se traduit par une activité à la fois très technique (développement de modèles, gestion de la stack cloud — principalement GCP/Vertex AI, Python, Dataiku, Azure…) et profondément ancrée dans la réalité métier. Comprendre le métier est aussi important que maîtriser la data : c’est la clé pour créer des solutions IA qui font sens et créent de la valeur.</p><h3>3.3) Diffuser les connaissances</h3><p>Le CoE-IA joue un rôle majeur dans la montée en compétences des équipes métiers : il organise des formations, des ateliers et favorise la mise en place de bonnes pratiques pour accélérer l’appropriation de l’IA à tous les niveaux de l’entreprise. Face à l’évolution rapide des technologies, ce partage de connaissances est crucial pour diffuser la culture data et IA à tous les niveaux de l’organisation.</p><h3>3.4) Alignement stratégique</h3><p>Conformément aux bonnes pratiques des Centres d’Excellence, le CoE-IA aligne étroitement ses activités avec les objectifs stratégiques de l’entreprise. Il participe à la définition des feuilles de route technologiques, identifie les opportunités d’innovation et veille à la cohérence des initiatives d’IA à l’échelle du Groupe.</p><h3>4) Conclusion</h3><p>Le Centre d’Excellence IA de Renault Digital joue un rôle central dans l’appropriation de l’IA par Renault Group. En combinant expertise technique de pointe, compréhension des enjeux métiers et vision stratégique, il constitue un catalyseur d’innovation qui permet à Renault Group de tirer pleinement parti des opportunités offertes par l’intelligence artificielle. Au-delà des aspects purement technologiques, le Centre se distingue par son approche pragmatique, axée sur la création de valeur et l’industrialisation de solutions robustes. Cette orientation, associée à une culture de la diversité et de l’excellence, en fait un acteur clé de la transformation de Renault Group et un modèle de Centre d’Excellence dans le domaine de l’IA.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ed6391ac9e5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/renault-digital/plong%C3%A9e-au-c%C5%93ur-du-centre-dexcellence-ia-de-renault-digital-6ed6391ac9e5">Plongée au cœur du Centre d’Excellence IA de Renault Digital</a> was originally published in <a href="https://medium.com/renault-digital">Renault Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explore your Strava data with GCP]]></title>
            <link>https://medium.com/renault-digital/explore-your-strava-data-with-gcp-469616905264?source=rss----2db017d110ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/469616905264</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[strava]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[gcp]]></category>
            <dc:creator><![CDATA[Cyrille D]]></dc:creator>
            <pubDate>Wed, 15 Jun 2022 15:14:12 GMT</pubDate>
            <atom:updated>2022-06-15T15:14:12.035Z</atom:updated>
            <content:encoded><![CDATA[<p>You probably heard before that data is everywhere, that we all produce massive amount of data and that some companies are making fortunes with what we offer to them …but what about taking back control?</p><p>The idea here is obviously not to bring our GAFA friends and other BATX down, but simply to demonstrate that data exploration solutions are becoming more and more accessible.</p><p>To support this demonstration I will use:<br><strong>- </strong>One of my passion:<strong> cycling</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*A-i3adjK-ZLWqrofJBzJDg.png" /></figure><p><strong>- Strava</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/144/1*v4zR3_J4zaiFAzNKgSc25g.png" /></figure><p>Like millions of people I share <strong>my data</strong> with Strava. A social network for athletes who are keen to keep track of their activities, compare them with professional athletes, draw their next ride on a map… To give you an idea of Strava success, just 2 figures: <strong>20 activities are uploaded every second </strong>and <strong>1 million athletes</strong> join every 30 days.</p><p><strong>- Google Cloud Platform (GCP)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/196/1*vWwRsrHZfWzkG3CA7G5VWw.png" /></figure><p>A public cloud solution coming with many user friendly services, to store, process, visualize, analyse data… and lot more.</p><p>Now that context is set, let’s start!</p><h3>Source of data: Strava API</h3><p>Good thing with Strava is that it’s coming with some quite well documented APIs.</p><p>Let’s say that you want to fetch details of all your activities,<a href="https://developers.strava.com/docs/reference/#api-Activities-getLoggedInAthleteActivities"> here is the API </a>you should use.</p><p>If you never played with an API before, you may have a look at how to call one with Postman. At the same time you will get familiar with Token authentification.</p><p><a href="https://medium.com/@annthurium/getting-started-with-the-strava-api-a-tutorial-f3909496cd2d">Getting Started With The Strava API: A Tutorial</a></p><h3>Data platform: GCP</h3><p>GCP is accessible at this url : <a href="https://console.cloud.google.com/">https://console.cloud.google.com/</a><br>As you will notice at the top of the page, Google is offering you $300 credit. That will be more than enough for our exercice 😅.</p><p>What we want to achieve is to:<br>- fetch regularly and automatically Strava data through API<br>- store that data<br>- build some nice graphs to analyse the data</p><p>There are several ways on GCP to meet those goals. I will present here one I considered as quite light, fully automated, cost efficient …and allowing me to play with multiple GCP services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TTMB8uHw8OHMq2xpelYvDw.png" /></figure><p>Let’s now go through this solution step by step</p><h4>Strava data acquisition</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*54XeAalk4b6KiHbTCIvhuQ.png" /></figure><p>There are multiple ways for your data to arrive in Strava:</p><ul><li>using Strava mobile app to record your activities</li><li>setting your GPS in sync with your Strava app</li><li>uploading activity files from Strava website</li></ul><p>Strava is documented enough for not going more in details here.</p><h4>GCP process triggering</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*me4rGgf_djphj8dV1AxeyQ.png" /></figure><p>As it will be described in next section, Strava API call will be done via Cloud Function service. Thing is that Cloud Function does not come with its own scheduling capability, but a Function can be triggered by several elements: HTTP, PubSub, Storage… For this example I’ve then used Cloud Scheduler to push a dummy message in a PubSub topic which is then triggering the Function …yes, it may sound a bit overkill, but finally quite light to implement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*E10AP0miyBjnsCVtgnjgyw.png" /></figure><p>When creating your Cloud Function you indicate Pub/Sub as trigger and you select your topic. If not having one yet, you can create it from drop down menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*vtMLhIu2KD_ZfF6eCvT5aw.png" /></figure><p>In Cloud Scheduler it’s then a matter of few clicks to create a job that will push a dummy message in topic previously declared.</p><p>Just note that Scheduler job frequency is specified in cron format.</p><h4>Fetching Strava data on GCP</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*YW8uW69rA6AUPg6LGU8wOw.png" /></figure><p>Cloud Function is a serverless way to run code. Probably one of the easiest way to execute a triggered piece of code over the cloud.<br>For this demo, code was produced using python. Thanks by the way to <a href="https://twitter.com/alexandreyc">Alexandre Crayssac</a> for the assistance.</p><p>Here is how code is structured:</p><p><strong>part 1</strong>: lib import and var setting</p><pre>import sys<br>import json<br>import gzip<br>import logging<br>import requests<br>import os<br>from google.cloud import bigquery<br>from google.cloud import storage</pre><pre>CLIENTID = &#39;12345&#39;<br>CLIENTSECRET = &#39;123456789012345678901234567890&#39;<br>GCSSTORAGE = &#39;strava-storage&#39;</pre><pre>logging.basicConfig(stream=sys.stdout, level=logging.INFO)</pre><p>CLIENTID and CLIENTSECRET will be found in “My API Application” section of your strava profile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/286/1*LRoS_7sNSA4bwZ6P20jCDA.png" /></figure><p><strong>part 2</strong>: fetch authentication token function</p><pre>def fetch_strava_access_token():</pre><pre>logging.info(&#39;Fetching Strava Refresh Token from GCS...&#39;)<br>    client = storage.Client()<br>    bucket = client.get_bucket(GCSSTORAGE)<br>    strava_refresh_token_file = &#39;strava_refresh_token.txt&#39;<br>    token_file = bucket.get_blob(strava_refresh_token_file)<br>    REFRESHTOKEN = token_file.download_as_string()<br>    <br>logging.info(&#39;Fetching Strava Access Token ...&#39;)<br>    resp = requests.post(<br>            &#39;<a href="https://www.strava.com/api/v3/oauth/token&#39;">https://www.strava.com/api/v3/oauth/token&#39;</a>,<br>            params={f&#39;client_id&#39;: {CLIENTID}, &#39;client_secret&#39;: {CLIENTSECRET}, &#39;grant_type&#39;: &#39;refresh_token&#39;, &#39;refresh_token&#39;: {REFRESHTOKEN}}<br>        )<br>    response = resp.json()<br>    <br>logging.info(&#39;Pushing Strava Refresh Token to GCS...&#39;)   <br>    token_file.upload_from_string(response[&#39;refresh_token&#39;])<br>    return response[&#39;access_token&#39;]</pre><p>As you can see, Google Cloud Storage (GCS) is used to store Strava refresh token. This token allows to automatically renew access rights even if previous access token expired.</p><p><strong>part 3:</strong> strava API call function</p><pre>def fetch_strava_activities(STRAVA_ACCESS_TOKEN):<br>    page, activities = 1, []</pre><pre>logging.info(&#39;Fetching Strava Activities ...&#39;)<br>    while True:<br>        logging.info(f&#39;Fetching page #{page} ...&#39;)<br>        resp = requests.get(<br>            &#39;<a href="https://www.strava.com/api/v3/athlete/activities&#39;">https://www.strava.com/api/v3/athlete/activities&#39;</a>,<br>            headers={&#39;Authorization&#39;: f&#39;Bearer {STRAVA_ACCESS_TOKEN}&#39;},<br>            params={&#39;page&#39;: page, &#39;per_page&#39;: 200}<br>        )<br>        data = resp.json()<br>        activities += data<br>        if len(data) &lt; 200:<br>            break<br>        page += 1 <br>        <br>    logging.info(f&#39;Fetched {len(activities)} activites&#39;)<br>    return activities</pre><p>Activities can be fetched by pages of maximum 200 activities, hence the loop until less than 200 activities are returned.</p><p><strong>part4:</strong> push activities into BigQuery dataset function</p><pre>def activites_to_bq(jsonl_lines, project, dataset, table):<br>    bq_client = bigquery.Client()<br>    job_config = bigquery.job.LoadJobConfig()</pre><pre>job_config.source_format = bigquery.job.SourceFormat.NEWLINE_DELIMITED_JSON<br>    job_config.write_disposition = bigquery.job.WriteDisposition.WRITE_TRUNCATE # Overwrite<br>    job_config.create_disposition = bigquery.job.CreateDisposition.CREATE_IF_NEEDED<br>    job_config.autodetect = True</pre><pre>logging.info(f&#39;Starting import to {project}.{dataset}.{table} ...&#39;)<br>    job = bq_client.load_table_from_json(<br>        json_rows=jsonl_lines,<br>        destination=f&#39;{project}.{dataset}.{table}&#39;,<br>        job_config=job_config<br>    )</pre><pre>logging.info(f&#39;Launched job id: {job.job_id}&#39;)<br>    return job.job_id</pre><p><strong>part 5:</strong> call part 2 / 3/ 4 functions</p><pre>def run(data, context=None):<br>    STRAVA_ACCESS_TOKEN = fetch_strava_access_token()<br>    activities = fetch_strava_activities(STRAVA_ACCESS_TOKEN)<br>    activites_to_bq(activities,&#39;my-project&#39;, &#39;my-dataset&#39;, &#39;strava_activities&#39;)</pre><p>In addition, those 2 requirements should be declared in REQUIREMENTS.txt</p><pre>google-cloud-bigquery<br>google-cloud-storage</pre><p>Once your cloud function deployed and its triggering set, this is it. Your activities will be automatically loaded into you bigquery table.</p><h4>Display and analyse data</h4><p>Those are below a few examples among many of how data can be displayed and analyzed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*gm3Iyi54qEImNlH2ge8QXA.png" /></figure><ul><li>Google is proposing a simple and quite user friendly dataviz solution: Data Studio. It does not necesseraly allow very complex visualisation as some of the solutions such as Qlikview or Tableau can, but it covers more than the basics. Main advantage is obviously that it is making the most of BigQuery database. <br>Once your datastudio report linked to your strava activities table, you can easily produce graphs summarizing activities over a period: distance, elevation climbed, average speed trend, activities location…</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jLo7A25QzxGjfyR0VeMhbw.png" /></figure><ul><li>If you want to go deeper with geolocalisation analysis, you may want to try bigquery geoviz online tool: <a href="https://bigquerygeoviz.appspot.com/">https://bigquerygeoviz.appspot.com/</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pGkK4aBpgmeoVn0fA2lqmA.png" /></figure><ul><li>Activity API is returning you a special polyline field which is hosting the trace of each of your activities. Once those informations stored within an .html file as below, you can get all your activities displayed on OpenMap (more on this solution on <a href="https://markhneedham.com/blog/2017/04/29/leaflet-strava-polylines-osm/">Mark Needham’s blog</a>).</li></ul><pre>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;title&gt;Strava Activities&lt;/title&gt;<br>  &lt;/head&gt;<br>&lt;body&gt;<br>    &lt;script src=&quot;<a href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js">http://cdn.leafletjs.com/leaflet-0.7/leaflet.js</a>&quot;&gt;&lt;/script&gt;<br>    &lt;script type=&quot;text/javascript&quot; src=&quot;<a href="https://rawgit.com/jieter/Leaflet.encoded/master/Polyline.encoded.js">https://rawgit.com/jieter/Leaflet.encoded/master/Polyline.encoded.js</a>&quot;&gt;&lt;/script&gt;<br>    &lt;link rel=&quot;stylesheet&quot; href=&quot;<a href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css">http://cdn.leafletjs.com/leaflet-0.7/leaflet.css</a>&quot; /&gt;<br>    &lt;div id=&quot;map&quot; style=&quot;width: 100%; height: 100%&quot;&gt;&lt;/div&gt;<br>&lt;script&gt;<br>    var map = L.map(&#39;map&#39;).setView([48.817862, 2.218328], 13);<br>    L.tileLayer(<br>        &#39;<a href="http://{s}.tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&#39;">http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png&#39;</a>, {<br>            maxZoom: 15,<br>        }).addTo(map);<br>var encodedRoutes = [<br><strong>&quot;&lt;polyline_value_1&quot;,<br>&quot;&lt;polyline_value_2&quot;,<br>&quot;&lt;polyline_value_3&quot;</strong><br>]<br>for (let encoded of encodedRoutes) {<br>      var coordinates = L.Polyline.fromEncoded(encoded).getLatLngs();<br>L.polyline(<br>          coordinates,<br>          {<br>              color: &#39;blue&#39;,<br>              weight: 8,<br>              opacity: 1,<br>              lineJoin: &#39;round&#39;<br>          }<br>      ).addTo(map);<br>    }<br>    &lt;/script&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hGoNB0CLYeG1kDBtfgLCtA.png" /></figure><p>That’s it for the demo. 🙂</p><p>If you are after simpler solutions you may have a look at those other blogs presenting how you can directly link datastudio to Strava:</p><ul><li><a href="https://github.com/googledatastudio/community-connectors/tree/master/strava-activities">googledatastudio/community-connectors</a></li><li><a href="https://www.benlcollins.com/spreadsheets/strava-api-with-google-sheets/">How to connect the Strava API with Google Sheets and Data Studio</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=469616905264" width="1" height="1" alt=""><hr><p><a href="https://medium.com/renault-digital/explore-your-strava-data-with-gcp-469616905264">Explore your Strava data with GCP</a> was originally published in <a href="https://medium.com/renault-digital">Renault Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[User Experience Design in an Industrial context]]></title>
            <link>https://medium.com/renault-digital/user-experience-design-in-an-industrial-context-c046bff77f92?source=rss----2db017d110ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/c046bff77f92</guid>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[user-research]]></category>
            <category><![CDATA[manufacturing]]></category>
            <category><![CDATA[plants]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[Fabien Benaitier]]></dc:creator>
            <pubDate>Tue, 27 Apr 2021 08:21:17 GMT</pubDate>
            <atom:updated>2021-04-14T15:32:48.260Z</atom:updated>
            <content:encoded><![CDATA[<p>A (fulfilling) dive into Groupe Renault Manufacturing world.</p><h3><strong>Prologue</strong></h3><p>Being a car enthusiast since the age of 14 (or something), I have read a lot about cars, new almost every upcoming model from almost every car brand in the world.</p><p>Naturally I thought I new <em>roughly </em>how cars were built.</p><p>Or did I…</p><p>Building a 1.5 tons of steel, plastic, fabric, screens object, which has to drive humans around at a top speed of 130 kph, safely, comfortably, for a minimum of 10 years and 200,000 km is, you guessed it, quite complex.</p><p>One of the most basic car Groupe Renault has in its wide lineup, the Dacia Sandero (old generation, AND I don’t count the Twizzy, calm down.), is made of 25,000 parts at least, by thousands of skilful men and women, in 8 hours, in Pitesti plant, Romania.</p><p>And they make 400 a day. And not a single car is the same, since they are tailored to clients request.</p><p>You get the point : little I knew about the clockwork organisation required for making 3.9 millions of cars a year in 35 plants across the world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dmap8_6qvNp8fTEgHnK9vw.jpeg" /><figcaption><em>The “Tombée de Chaîne”, “End of line” (roughly translated), where THE magic happens : the fully finished car is started up for the very first time before going through a thorough torture sequence. Guys working here don’t even pray for the whole steel beast to startup at a blink of an eye, even though 10,000 things could go wrong while manufacturing it. After at least 40 times in the field, it still amazed me. Photo by </em>Florin-Cristian CHIVU for Groupe Renault.</figcaption></figure><h3><strong>Discover</strong></h3><p><strong>“Out of the confort zone”</strong></p><p>After a few months at Renault, I had the opportunity to be onboarded on a quite promising project : Digital Work Station (DWS).</p><p>Skipping the organisation details (it would take hours for you to understand the organisation in such a big, international group like Renault), we started with a core team of business and IT specialists, for the “framing” of the project, to be later joined by our development specialists based in Dacia plant offices in Pitesti, Romania.</p><p>The aim of the project was to bring digital tools at the heart of the manufacturing : on the assembly line.</p><p>While putting operators at the heart of the project, we would try to make their job easier and more efficient, and thus improving on cars quality and productivity.</p><p>I started my UX journey by a progressive dive into the theory of manufacturing, the “Alliance Production Way”, the Bible for anyone working in manufacturing at Renault.</p><p>One could describe it as a carefully crafted blend of principles written out of the many years of experience in making cars in the Groupe and inspired from the long-time ally Nissan and its Japanese principles of manufacturing.</p><p>Only concepts with which I did not know anything about, but which I found to be very inspiring for a lean workflow organisation.</p><p>Of course, following my own principle, I found myself quickly dressed up with heavy, yet fancy, security shoes, a pair of earplugs and a Renault-badged jacket.</p><p>First dive in the field : Sandouville plant, Le Havre, France.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nhfS_VaPGdlbBXhMOkhLtQ.jpeg" /><figcaption><em>My security shoes and jacket, two fundamental items that followed me along my UX journey.</em></figcaption></figure><p>Industrial world first, international context then, and eventually working with people from a country I honestly did not know anything about, comfort zone boundaries were stretched quite largely.</p><p>(About Romania and Romanians, consisting of half of the team, only the cultural details remained a gimmick, for the rest we very quickly worked well together).</p><p><strong>“Beyond the theory”</strong></p><p>One big challenge on DWS project is the users. You simply cannot put yourself in their shoes and try to project how they work, and how they could use a solution that you plan implementing for them. You need to apply a thorough user experience methodology if you want to know their mindset, their problematics, and work out the best solutions for them. This, of course, means being in contact with them, directly, on the field.</p><p>The logo might not be the sexiest, but it conveys the idea.</p><p>Hence the commitment of the whole team to stay connected with the realities of the field was and stayed the base of the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*AQrMjHeJR1lz6acw7R8o0Q.jpeg" /><figcaption><em>The DWS logo. The user is at the center. Pretty straightforward.</em></figcaption></figure><p>Once the theory was understood, I could start challenging it on that very field. The first step of my collaboration with the team was to shadow users at different positions in the plant and in the process, and to start roughly map out the real ecosystem, and big areas of improvement through digital solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a2XyqTh2SeIvuB1_E-j00Q.jpeg" /><figcaption>The so-called “field”. Here, the assembly shop, where people assemble the entire car, which enters bare right after it was welded and painted, and exits “ready-to-go” before being tested. Dacia Pitesti plant, Romania.</figcaption></figure><h3>Plan</h3><p><strong>“Starting from the experience”</strong></p><p>Being true to our commitment, all the discovery phase allowed the team to establish 10 big topics to cover in terms of user problematics.</p><p>In Agile words, that would correspond to initiatives (yes the project was agile, following the scrum framework, but that’s not the topic here).</p><p>Rather than trying to stick some before-thought ideas of solutions onto user problems, we tried to first focus on the problems experienced by users.</p><p>Yes we knew the solution would be digital (seems to be the trend lately), but we kept the idea of solution very blur, on purpose.</p><h3><strong>Research</strong></h3><p><strong>“Diving deep down”</strong></p><p>Blur was the vision of the solution, but not the research plan.</p><p>10 initiatives, 10 workshops in 10 plants.</p><p>After a few months on the project, I found myself on a plane for my first real dive in Valladolid and Palencia plants, Spain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H7fWEmeqxo7nqsSNWJEZbA.jpeg" /><figcaption><em>One of the famous workshops, mixing representatives for the business, the tech, the UX, and of course users, including operators.</em></figcaption></figure><p>In each of those workshops, we covered one initiative (among the 10 defined, remember).</p><p>Two goals for those workshops : first, we aimed for alignement.</p><p>As I already said, beyond the theory, we needed to make sure everyone was having the same idea of what it is for real, on a daily basis, to work in a plant assembly shop, as an Operator or an assembly manager. We wanted to make sure no one in the team had Chaplin “Modern times” in mind when we would talk about people working in assembly lines in any of the 35 Renault plants across the world. No offense to Chaplin, but things are <em>slightly</em> different from his vision today.</p><p>We then aimed for projection, and started building visions of solutions with users.</p><p>Thus, each workshop was split into 3 main phases :</p><p><strong>1.</strong> Definition of the personas : the idea here was not to describe a “Jean-michel, 48 years old, with a wife, 2 kids and a dog living in a cosy 75 m2 house in the suburbs”, but rather to define the scope of each type of role into and near the assembly line, and figure out their mindset, how they do their job.</p><p><strong>2.</strong> The “As Is” User Journey : the goal here was to draw out the real daily or weekly routine for each of our personas. Once this was accurately done, we started mapping the “pain points” onto this chronological diagram. In other words, the idea was to identify clearly where were the troubles experienced by our target users, before troubleshooting them.</p><p><strong>3.</strong> The “To Be” user Journey : time for projection, we started working out the ideal daily or weekly experience for our target users. That stage was when we started putting down ideas of solutions for the initiative covered, which would help us out for the next step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hjwu2NWyVl56_OQQUy6m-g.png" /><figcaption><em>Example of output of the first workshops : a User Journey “As Is” with mapped pain points. Very precious and valuable material for the team to start crafting the solutions.</em></figcaption></figure><p>No need to mention the fact that all this work was done alongside our target users, who could bring us some really dazzling insights.</p><p>For instance, I can recall one of the checkman in Palencia plant, Spain, who shared with us his state of mind. For your information, a “checkman” is an operator dedicated to make some quality control operations at the end of a portion of assembly line. It goes without saying that he is a very qualified person, with a high cognitive load. This very checkman was telling us how after his working day, he could almost remember each and every car he controlled in the day (300, more or less).</p><p>Hence, for him, it was not only important to digitally have a way to forecast the workload to come by having a view on the cars upcoming, but ALSO to have a view on previously checked cars, even if he stamped them as “OK”.</p><p>Of course, we did not think about this beforehand.</p><h3><strong>Analyse &amp; Conceptualize (and Plan)</strong></h3><p><strong>“Outside the (sand)box”</strong></p><p>Gathering all the precious material we got from the workshops, and in order to bring in the technical and business insights, we started working on Product Visions to implement each initiative.</p><p>And productive we were, using once more the field as a great sandbox to test-proof some ideas we prototyped.</p><p>Not only we had to be creative in terms of solutions we would bring, but we also had to be creative in the way we would make people test out potential solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IHxNrCIHKH6UZRfN3FPbOg.gif" /><figcaption><em>One example of a very early Product Vision. Yes the team was very open to test any idea, even the most advanced technically.</em></figcaption></figure><p><strong>“Very demanding users…”</strong></p><p>In September of 2019, I spent 3 weeks in the plant as an assembly shop worker (this is part of the onboarding process at Renault, everyone has to spend 3 weeks working as an operator, no matter what you are hired for). Hard yet thrilling experience, it allowed me to really experience the job, and understand its shortcomings (aka “pain points”) and the mindset.</p><p>What I want to point out here, is that there is quite a difference between :</p><p><strong>1.</strong> Designing a digital experience for someone to use once a day, in the chilling quietness of an office, on his 15-inches-retina-MacBook-pro, while comfortably sitting in his 36-positions ergonomic chair</p><p><strong>and</strong></p><p><strong>2.</strong> Designing a digital experience for someone to use 1000 times in a day, in the constant rumbling of a factory building, with gloves, while standing upright, and whose primary task is to make 15 operations under 60 seconds on a partly assembled vehicle, 300 times in a row, for 8 hours a day.</p><p>Sure, in the end, both users will most likely wish to perform the action as efficiently as possible, but the difference is that the Operator on the assembly line will have only a second or two to perform this action, and will do it hundreds of times over in a day.</p><p>So say you organise accessible actions within menus and submenus with long labels, once again, any 3 steps actions <em>might </em>be acceptable for a user who would have to perform it once a day, but for an already high-loaded Operator who will have to take the action 300 times a day, it turns unbearable.</p><p>That’s why we had to constantly and methodically test any concept against users in the field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XcduxBiG-4XAodLGwCktNw.jpeg" /><figcaption><em>Some early prototype testing in the plant, using a prototype and user testing guide.</em></figcaption></figure><p><strong>“…yet hard to reach”</strong></p><p>Yet, users in manufacturing can be hard to reach.</p><p>Hence, adding challenge over the challenge, we had small windows of time to perform tests, which we did mostly on site.</p><p>Why not using more online-testing tools ?</p><p>To keep going with the comparison aforementioned, the context around a user working in a classic office can already make a difference for the final digital experience designed. One will have to take in consideration accessibility, the type of devices mostly used by target users (or go fully responsive, at a cost), target users level of affordance with digital tools, or level of expertise…</p><p>For users in the assembly shop, the context makes much more difference : take in consideration the ambient noise level, the low light, moving automated machinery, tooling, dust, grease, the dedicated workspace for each Operator…</p><p>So to answer the not-much-online-testing-tool-used question : we <em>had </em>to be on-site to understand that context.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FgVPAKwS_9Kw&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DgVPAKwS_9Kw&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FgVPAKwS_9Kw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/49b48f1c3a476d5e2e2e65f1a3cbc70c/href">https://medium.com/media/49b48f1c3a476d5e2e2e65f1a3cbc70c/href</a></iframe><p><strong>“Beyond the screen”</strong></p><p>Not only we had to design the digital product, but also to find the right physical support for it.</p><p>A regular screen with a keyboard ? A touch screen ? What size ? What touch technology ? Where to place it at the workstation ? Connection over wire ? Or wifi ?</p><p>And for the near managers of each production unit to get the information from Operators ? A smartphone ? A tablet ? How will they carry it ? And what about the battery ? (a shift is 8 hours long with 30 minutes break split into 3, for the battery, no time to die, or to be charged up)</p><p>Here is just a glance about the handful of questions the team came up with after all the User Research work on the field.</p><p>Before even starting to design the full-fledged version of the digital solution, we had to further test and find the setup solution.</p><p>How ? A lab, on site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*yPs-NxoMUdXyzuBHzv3mLA.jpeg" /><figcaption><em>Our Lab for testing devices in Dacia Pitesti plant, Romania. Here testing viewing angles for two devices on a stand.</em></figcaption></figure><p>This Lab, which would have looked like Ali-baba’s cave for any tech-savvy kid, enabled us to work out the setup solution to be placed in the hands of our users. For that we drove tests, taking in consideration various ergonomic and technical aspects : angles of vision, touch responsiveness, definition, technical hardware to run a webapp…</p><p><strong>“A touch of glove”</strong></p><p>One thing that comes to my mind and illustrates all this user research process was gloves.</p><p>We quickly noticed that everyone having to work in or near the assembly line wore gloves. For security reasons first, because they can come handy whenever one is scraping his hand against a protruding piece of chassis. For quality reasons then, because it prevents people from leaving hand traces all over a brand new car body or interior. This is a standard, but it could have slipped our mind if we did not carefully conduct this user research process on the field.</p><p>Upon choosing the best fit in terms of digital setup, we had to make a choice, balancing out the best solution for users, the most reasonable device (the cheapest), and the best technically suitable (not a racehorse but say, something that could handle a modern webapp without burning up).</p><p>I remember us gathering all models of gloves used in all 35 Renault plants all over the world in order to test all pre-selected devices, making sure we would have a suitable touch screen for a reasonable price.</p><p>No need to say each device went through a thorough test process using a prototype I helped develop.</p><p>For the record, we eventually narrowed down the selection to a 15inches industrial device, in portrait mode, with specific recommendations for the placement on the assembly line, and a 5inches industrial smartphone for the near production unit manager to get information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xDQdL2pEqe8VAIw2lP2l-A.jpeg" /><figcaption><em>Very first version of Digital Work Station live in the pilot production unit, Pitesti plant, Romania.</em></figcaption></figure><p><strong>“Finding the balance”</strong></p><p>Our workflow eventually prove to be quite simple : we settled the outputs clearly, and just had to fill them in, to bootstrap the project.</p><p>As so, for the MVP (aka “Minimum Viable Product”, aka “The minimum number of features to assemble in order to come out with a consistent response for identified user needs”, aka “The minimum amount of stuff to be developed during the first three months of the project phase”), we needed to come out with 2 distinct outputs :</p><p><strong>1.</strong> A refined (after several field-tested iterations) and ready-to-dev Product Vision</p><p><strong>2.</strong> A refined and detailed Story Mapping. Which, in other words, is the list of user needs we would cover for the MVP (Minimum Viable Product, remember).</p><p>This exercise looked a lot like carving a piece of wood to make it into a cooking spoon (I did that kind of activity once or twice as a kid). You basically start with a big rough log of wood on which you remove big chunks until you have the desired shape, and you end up polishing the details with finer and finer grain of sand-paper.</p><p>Same here : you start with your big rough chunk of Product Vision that covers user needs (and which bears an insane amount of features), then you balance out the technical complexity and the business value, to eventually find the finest compromise between the three.</p><p>The concept is yet quite simple : finding the responses to user needs that are the most valuable, yet the cheapest to implement.</p><h3><strong>Implement…</strong></h3><p><strong>“Agility”</strong></p><p>We eventually found our graal, the so-called MVP (Minimum Viable Product, last call).</p><p>We set up our team framework as scrum. I am not going to get into the details here, but basically, we were developing a consistent small batch of features every 2 weeks.</p><p>The focus was to keep the mid-term vision sharp, while keeping enough flexibility to adapt the vision according to the feedback we got from our users.</p><p>See it like a trip from Paris to Marseille, you have a very detailed idea of your journey thanks to Waze, you know were you’ll eventually land in, but you also know you’ll have to react to contingencies, you did not plan you breaks, nor the fact your 10 year old kid will suddenly feel dizzy at the 568th kilometre near Montélimar.</p><p>Only slight difference, as we kept focus on real user needs, we did not know <em>exactly </em>where this trip would make us arrive. I mean, sure we knew what user needs we had to respond to, but upon getting feedback from the plants, we could decide to add or remove features along the way.</p><p><strong>“One vision”</strong></p><p>The one trick was to always make sure everyone around the table shared the same vision. We kept refining our initial Product Vision and Story Mapping to keep them as clear as possible, and it quickly became the two indispensable items for the team, whether for user-testing, discussing technical strategy or business value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EBPJhO6etNPmFxynLpizBw.jpeg" /><figcaption><em>Sharing the Product Vision with the team, consisting of Mockups, Prototypes, Diagrams, Videos, quite anything that could give the clearest idea of where we wanted the product to be in the near future. It allowed the team to test solutions against our target users, and to evaluate the business value versus the technical complexity.</em></figcaption></figure><p>Also, the vision being the vision, we kept routinely performing some tests or more simple observations in the field of the User Experience we delivered.</p><h3><strong>…and again</strong></h3><p>I already told about it, we were agile. This meant repeating this overall workflow all over again at different scales :</p><p><strong>1.</strong> On a weekly basis, to evaluate again the Product Vision according to development contingencies and user feedback</p><p><strong>2.</strong> Every 3 months, to prepare another full “release”, aka another batch of consistent features to respond to other user</p><p>Overall, this way of working was foremost based on two key tricks : mindset (the proper one) and communication.</p><p>After a few months into the project, things were clear that our initial “user-centric” approach was not just another “digital-transformation-washing” term to sell the stuff initially, but a real dedication to keep that “close-to-reality” mindset.</p><p>For sure we pulled out the big guns in terms of user research, and tried to refine and adapt our methodology all along the course of the project. But beyond the practice of user research, the whole team came to build this “let’s go to the field” reflex, which really made a difference.</p><p>Same for the vision and implementation, beyond the theoretical and methodical ways of working and formalisation we set up, having put in place all the proper communication channels and practices made the difference.</p><p>Despite the team being 2 and a half hours of flight apart (with good wind), we did spend a lot of time discussing tech, product design or business matter, with a clear product vision and story mapping at the centre of the table, allowing anyone to bring any insights in.</p><p>I’ll remember that very moment where we first deployed DWS in the pilot production unit, in Dacia Pitesti plant, Romania. The whole team was proudly standing near the production unit, as the first screens went live, to see Operators and production unit Managers make use of this brand new tool (they were basically switching from pen and paper to a way friendlier and more efficient digital tool).</p><p>Of course, Murphy’s law came in. Watching the first users interacting with the system, we could notice a bug.</p><p>The whole team quickly ended up on the field, amongst the users, analysing the issue.</p><p>I won’t lie, that wasn’t a <em>great </em>time (hopefully things were fixed fast). But it prove, as the team was only fully put up for only a few months, that this user-centric mindset and seamless communication would work.</p><h3><strong>Post scriptum</strong></h3><p>In 2017, after I spent 6 months at the heart of design, helping craft the onboard experience for future vehicles (now the Smart Touch and Edge which recently came out, for the connoisseurs), I pushed the doors of Groupe Renault Gradient aisle of the Technocentre (the gigantic place where everything starts, near Paris).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nE_eqZjsIl_5oBK3YLw6hg.jpeg" /><figcaption>That’s it, the Groupe Renault Technocentre, you can’t miss it. Photo by Nicolas DUPREY for the département des Yvelines, Flickr.</figcaption></figure><p>Behind this doors was the heart of the manufacturing department.</p><p>Yes I am going to sound lame and uninspired, but I did learn a lot professionally (and personally, but that is not the point here), practicing User research and Product Design in such a challenging context, dealing with experts in their field for which I had to push my boundaries and refine my ways of working.</p><p>Still uninspired, yet true, I did learn a lot alongside DWS team, on everything aside from Design, from project management to product development.</p><p>That was an awesome challenge.</p><p>Even though I speak about the project in the past, Digital Work Station is now live and daily used by over 2000 people across more than 10 Renault plants across the world. I just recently left the team after more than 2 years working partly on this project, to focus on other challenges, but the team keeps working with a very User-centric approach.</p><p>I want to make special thanks to all my teammates on Digital Work Station, with whom I learned a lot as a Product Designer, and who made this Digital Manufacturing journey really exciting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c046bff77f92" width="1" height="1" alt=""><hr><p><a href="https://medium.com/renault-digital/user-experience-design-in-an-industrial-context-c046bff77f92">User Experience Design in an Industrial context</a> was originally published in <a href="https://medium.com/renault-digital">Renault Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Lilliputian DIY Robocars, a stay at home side project]]></title>
            <link>https://medium.com/renault-digital/my-lilliputian-diy-robocars-a-stay-at-home-side-project-6e274a20fab?source=rss----2db017d110ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/6e274a20fab</guid>
            <dc:creator><![CDATA[Benoit Trinite]]></dc:creator>
            <pubDate>Tue, 08 Sep 2020 13:17:42 GMT</pubDate>
            <atom:updated>2020-09-08T13:17:42.617Z</atom:updated>
            <content:encoded><![CDATA[<p>I started to learn on <a href="https://diyrobocars.com/">DIY Robocars</a> by the end of 2017. At this time, one of my colleague here at <a href="https://www.linkedin.com/company/renault-digital">Renault Digital</a> decided to start the first <a href="https://www.meetup.com/DIY-Robocars-France/">French DIY Robocars local meetup,</a> (wich has since held more than more that 20 successful events). It was a perfect way for me to discover stuff about AI and autonomous driving. After having raced over 2 years on a 1/10 scaled model provided by my company (as a sponsor of the event), I found out that the main issue that was slowing down my learning curve was the difficulty to find a place to test such large RC car model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-sOpKGlTMzldLdXw9kWJ_Q.jpeg" /><figcaption>My 1/8 Robocar (A Donkeycar based model powered by NanoPI M4 and Arduino Genuino 101)</figcaption></figure><p>No room in my flat would be large enough and clear to welcome a training track to test this car, compared to the usual track we use for the event which is roughly 20m*6m as you can see below :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7FtkQUfT82Vl73ll5k5-iQ.jpeg" /><figcaption>Typical racing track used for French DIY Robocars event</figcaption></figure><p>Last year, I set myself a challenge to build from scratch a scaled down version of my robocar, using a 1/28 Mini Q platform from Sinohobby you can see below. The goal was to be able to run it not only at home but also in various events my company attend as an exhibitor. Unfortunately, I didn’t find enough spare time during that period. Later I bought a google Coral USB stick EdgeTPU, thinking it as a good option in my search to miniaturize my robocar, but again, not enough spare time to work on it. This challenge was frozen…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3rKMLdZuwiHXgKiBrB29ig.jpeg" /><figcaption>© Sinohobby TR-Q5OP-BL Mini-Q model</figcaption></figure><p>…until those last days. Few weeks ago, COVID-19 pandemic crisis has hurt a lot of countries, and many companies, following stay at home orders, have slowed down operations and activities. The time I was looking for to progress on my challenge was definitely there.</p><h3>The Hardware platform</h3><p>Regarding hardware, my basic requirements were to :</p><ul><li>use a RC chassis equipped with regular ESC and Steering Servo</li><li>use a single front USB camera for autonomous driving</li><li>be able to control the car with my 6 channels Futaba Radio (for manual training but also to engage/disengage autonomous driving)</li><li>use the single LiPo battery to power everything with enough capacity to either run a training or run a race.</li><li>use a SBUS based radio Rx to reduce wiring</li><li>use two SBC (Single Board Computer), one for Real Time and IO handling (an ESP32, interesting for its various available IO), and one to host core processes powered by Linux/ROS (A <a href="http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Duo2">Friendlyelec Nanopi Duo2</a> running <a href="https://www.armbian.com/">Armbian</a>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*_295e01xSMnV3d-Cfbnu3g.jpeg" /><figcaption>© Friendlyelec Nanopi Duo2</figcaption></figure><p>Since my goal was first to demonstrate that it could work (being able to autonomously drive on a track at low speed), I did not pay too much attention to the design of the car. That’s how my first prototype looked:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ri9Fxz4mtIoEO5xh2LRa3w.jpeg" /></figure><h3>The Software platform</h3><p>My original 1/8 robocar was based on open source <a href="https://www.donkeycar.com/">Donkeycar</a> project, which was very good to jump start on topic like AI, Tensorflow CNN and autonomous driving. After having worked on ROS for another project, I decided that my new car would be fully ROS powered. I used to develop software in C/C++, and I like the event driven architecture of <a href="https://www.ros.org/">ROS</a>, providing an elegant way to implement distributed and low coupled architecture. Meanwhile TF Lite was released, a good option to look at as well since it was much more suited for such project compared to the full Tensorflow package.</p><h3>A first step, Manual driving and data capture</h3><p>I wasn’t sure whether my challenge was achievable or not, I decided to go step by step and iterate.</p><p>The first step was about putting everything in place to be able to operate in training mode. Operate in training mode means to be able to drive the car manually from a radio controller, while the car itself continuously records images from the front camera and associated driving parameters (basically steering and throttling value received from radio)</p><p>To achieve this first step, I developed the following components :</p><ul><li><a href="https://github.com/btrinite/esp32-companion">esp32-companion</a>, an Arduino embedded software for ESP32 that 1/ relays Radio messages received from radio controller to core host, 2/ generates PWM signal to control Steering servo and Motor Throttling through ESC. I discovered <a href="https://wiki.ros.org/rosserial">rosserial,</a> a ros package that can extend ROS messaging bus between a regular ROS host and an Arduino, the perfect solution to connect my ESP32 to my core host. I just made some <a href="https://github.com/btrinite/rosserial">fix</a> to be able to enforce configuration of serial port on both ESP32 and core host side.</li><li><a href="https://github.com/btrinite/robocars_brain">robocars_brain</a>, a ROS node that implement a Finite State Machine (based on <a href="https://github.com/digint/tinyfsm">TinyFSM</a> library) to maintain global car state (disarmed, manual driving, autonomous driving) based on Radio channel order received (I used channel 5 and 6 to control this state)</li><li><a href="https://github.com/btrinite/robocars_steering_ctrl">robocars_steering_ctrl</a>, a ROS node to build steering order accordingly to the global car state and steering radio signal received</li><li><a href="https://github.com/btrinite/robocars_throttling_ctrl">robocars_throttling_ctrl</a>, a ROS node to build throttling order accordingly to the global car state and throttling radio signal received</li><li><a href="https://github.com/btrinite/robocars_data_capture">robocars_data_capture</a>, a ROS node to capture images and associated throttle and steering value (normalized) and burn it down to the micro SD card of the core host.</li><li><a href="https://github.com/btrinite/robocars_ros_launch">robocars_ros_launch</a>, a collection of ROS launch file and shell script to manage the ROS stack (configure and start all nodes, script to save configuration, to invoke calibration logic, …)</li><li><a href="https://github.com/btrinite/robocars_msgs">robocars_msgs</a>,a repo containing definition of project specific ROS messages I used</li></ul><p>For front video capture, I have used ROS usb_cam and image_proc packages. However, to improve performance, I recompiled them (the one distributed through apt is not optimized).</p><p>For remote debug, I also deployed ROS <a href="https://wiki.ros.org/web_video_server">web_video_server</a> to control video stream, and <a href="https://wiki.ros.org/rosbridge_suite">rosbridge_suite</a> to be able to use <a href="https://github.com/pantor/ros-control-center">ros-control-center</a> console to inspect for example topic content.</p><p>After fighting several hours to fit all those ROS packages on my little Nanopi Duo2, I finally got successful manual driving and data recording :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/160/1*kxTGIWfDClc4W2k974YM6g.gif" /><figcaption>First image capture from my new tiny Robocar (160*120 px), driving manually</figcaption></figure><h3>Second step, Autonomous driving running TFLite on core host</h3><p>The second step was about adding autonomous driving capability. For this part, I decided to reuse to existing <a href="https://github.com/autorope/donkeycar/blob/406a7e299b3e9af8e5e5a1773c40cbec1e25d2f8/donkeycar/parts/keras.py#L318">Keras model</a> proposed in original Donkeycar code.</p><p>Having battled by the past with Tensorflow on ARM architecture, TFLite was definitely a good news. Compiling tensorflow lite directly on my core host was trivial, just had to install the prerequisites and invoke ./tensorflow/lite/tools/make/build_lib.sh. Result is a static lib libtensorflow-lite.a to link against with my new ROS <a href="https://github.com/btrinite/robocars_autopilot">robocars_autopilot</a> node.</p><p>The most difficult part was on how to handle my model with TFLite C++ API. Examples or tutorials are not so widely available. It happens that the best example was indeed in Tensorflow repo itself, the <a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/examples/label_image">label_image</a> example.</p><p>Once the “smoke test” was done, I did an end to end test :</p><ul><li>manually drive the car on a small track made of the slack lane of my son, and record about 10k images and associated data</li><li><a href="https://github.com/btrinite/robocars_training_notebook/blob/master/Minigrumpy.ipynb">train the model</a> using Google Colab using Tensorflow 1.15</li><li>convert the model for TFLite</li><li>load the model into the car and engage the autonomous driving mode</li></ul><p>Here is the result :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCCWgqH_1s-U%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCCWgqH_1s-U&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCCWgqH_1s-U%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7acdc587d20ec296456c276b583194e8/href">https://medium.com/media/7acdc587d20ec296456c276b583194e8/href</a></iframe><p>From performance perspective, the car is able to perform at 10–15 FPS which is enough for driving slowly in my kitchen.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FplWTYJZRE0I%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DplWTYJZRE0I&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FplWTYJZRE0I%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f5a2ac1e6c0f4d574f66922a287632e/href">https://medium.com/media/0f5a2ac1e6c0f4d574f66922a287632e/href</a></iframe><h3><strong>Third step, improve performances with Google Coral </strong>EdgeTPU</h3><p>The next step was to improve on performance and demonstrate that Google Coral EdgeTPU could support the use case. It wasn’t a trivial step and major issues were :</p><ul><li>Use Coral through C++ TFLite API (and not EdgeTPU native API),</li><li>Quantizing my model,</li><li>Adapt my model to match Coral available operators</li></ul><p><strong>Regarding first issue</strong>, after reading several discussion, I found that :</p><p>First, For working with google Coral, you have to build TFLite on a specific commit (<a href="https://github.com/google-coral/edgetpu/issues/44#issuecomment-589170013">https://github.com/google-coral/edgetpu/issues/44#issuecomment-589170013</a>)</p><p>But, that won’t compile everything w/o patch pushed here (<a href="https://github.com/Ed-Swarthout-NXP/tensorflow/commit/7c25249abb0d09a8ec4053fd237576337125c919">https://medium.com/r/?url=https%3A%2F%2Fgithub.com%2FEd-Swarthout-NXP%2Ftensorflow%2Fcommit%2F7c25249abb0d09a8ec4053fd237576337125c919</a>)</p><p>And finally, a good C++ example to get inspired here : <a href="https://github.com/Namburger/edgetpu-minimal-example">https://medium.com/r/?url=https%3A%2F%2Fgithub.com%2FNamburger%2Fedgetpu-minimal-example</a></p><p><strong>The next step was about quantizing the model</strong>. To achieve good performance, Google Coral EdgeTPU rely on pure integers operations only. Generally speaking, a Keral model use floating point operation, giving priority on accuracy over performance. Coral EdgeTPU does the opposite somehow.</p><p>There are two ways to adapt an existing model : perform quantization aware training, or proceed to post training quantization. It looks like the first way is not possible today with Keras model. I gave a try to the second way and found that the only operation that was not supported by the EdgeTPU compiler was a Crop operation that I removed. <strong>That was the third step</strong>.</p><p>Another tricky bug to fix was the USB OTG port of my Nanopi Duo2. It was not working out of the box with the Armbian distro. A patch in the device tree was required to solve that issue.</p><p>It added also a small OLED screen to display some essential information like IP address currently in used (I still need to fix my mDNS).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8gw1i8imVgw3Qw6uOlehYA.jpeg" /><figcaption>Robocar equipped with Google Coral EdgeTPU.</figcaption></figure><p>With Google Coral, I was able to perform at 30FPS using only 30–40% of core host CPU, running at 60FPS was also possible, but at the cost of losing some frame. First test shown an accuracy of the driving comparable to the model running on core host only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*0kUSMJnpkIZEcjEkHMoDnA.png" /><figcaption>htop reported on core host while driving at 30pfs (performing 30 predictions per seconds)</figcaption></figure><h3>Next step : everything under the hood to look like a real car !</h3><p>Having demonstrated that it works at this scale, my next baby step on this long term challenge is to re-design the hardware so that the equipped car looks like a real car, putting everything under the hood.</p><p>Here is a first picture about the re-design.</p><p>The main change is about USB camera, replaced by a smaller OV2640 CSI/MIPI camera. Having trouble to control it from the Nanopi Duo2 (Device tree story again), I’m giving a chance to ESP32CAM (which is smaller than regular ESP32 dev board) and a high speed ROSSerial link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NWL0ugWagzh0DMpZ3lbvog.jpeg" /><figcaption>All electronics almost packed</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IDSmeYvrQ8iugGKdOkP0pQ.jpeg" /><figcaption>with car body mounted</figcaption></figure><p>Eager to learn more on DIY Robocars, join the <a href="https://diyrobocars.com/">worlwide communit</a>. Living near Paris/France, join the local chapter on <a href="https://www.roboracingleague.com/">DIY Robocars France,</a> make your own robocars and participate to our challenge.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e274a20fab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/renault-digital/my-lilliputian-diy-robocars-a-stay-at-home-side-project-6e274a20fab">My Lilliputian DIY Robocars, a stay at home side project</a> was originally published in <a href="https://medium.com/renault-digital">Renault Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Importance of ML  in  the Car Industry]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/renault-digital/the-importance-of-ml-in-the-car-industry-4d0ffdcb8eef?source=rss----2db017d110ad---4"><img src="https://cdn-images-1.medium.com/max/2600/0*qd3tAABMPLCMi2X5" width="4608"></a></p><p class="medium-feed-snippet">A few thoughts on a very   exciting transformation.</p><p class="medium-feed-link"><a href="https://medium.com/renault-digital/the-importance-of-ml-in-the-car-industry-4d0ffdcb8eef?source=rss----2db017d110ad---4">Continue reading on Renault Digital »</a></p></div>]]></description>
            <link>https://medium.com/renault-digital/the-importance-of-ml-in-the-car-industry-4d0ffdcb8eef?source=rss----2db017d110ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/4d0ffdcb8eef</guid>
            <category><![CDATA[automotive]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Ashref Maiza]]></dc:creator>
            <pubDate>Thu, 18 Jun 2020 07:07:10 GMT</pubDate>
            <atom:updated>2021-06-09T15:56:02.009Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Kubernetes a humble introduction]]></title>
            <link>https://medium.com/renault-digital/kubernetes-a-humble-introduction-9fca8fbc3032?source=rss----2db017d110ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/9fca8fbc3032</guid>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Romain DARY]]></dc:creator>
            <pubDate>Thu, 16 Jan 2020 11:35:32 GMT</pubDate>
            <atom:updated>2020-01-16T11:40:35.962Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>Kubernetes: a humble introduction</h3><h4>Not just another container orchestrator</h4><p>At Renault Digital, we always oversee what is a short term hype and what can provide high value to our organization.</p><p>Three years ago, we made the choice to adopt Kubernetes as a long term alternative to Docker Swarm. Now, it has become a DevOps Framework unlike the basic orchestrator it used to be.</p><p>Now, it has become a DevOps Framework unlike the basic orchestractor it used to be.</p><h3>At the beginning, it was all about containers</h3><p><a href="https://www.docker.com/">Docker</a> ignited the revolution with its containerized approach.</p><p>Before that, applications were deployed on dedicated and pre-configured hosting systems. Now, we define the execution context of our application in a descriptive file, running in a sandbox view of the operating system and packaged into an image that is ready to run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*l8ftZ08GQnGS_O56" /><figcaption>Photo by <a href="https://unsplash.com/@frankiefoto?utm_source=medium&amp;utm_medium=referral">frank mckenna</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Containers are the perfect answer to questions like :</p><blockquote><strong>“How to package an application?”</strong></blockquote><p>In the recent years, you hardly ever see a developper’s job description who does not mention Docker in the required skills. It is not a technology we can ignore. Developers have to have a container technology in their toolbox. Because with Docker and alike, a developper can provide a packaged self-deploying application on their own !</p><p>While the container approach is the best answer to application packaging… We still don’t have the answer to another question :</p><blockquote><strong>“How do we handle runtime?”</strong></blockquote><p>And this is where <a href="https://kubernetes.io/">Kubernetes</a> comes into the limelight.</p><h3>Kubernetes definition</h3><p>We usually see that Kubernetes is an orchestrator and manages containers. It can run application on a cluster with a fully managed container engine.</p><p>To my opinion, this explanation is too limited and next, I’ll explain to you why we should prefer the <a href="https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/">root definition from the Kubernetes website</a>:</p><blockquote>Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.</blockquote><blockquote>The name Kubernetes originates from Greek, meaning helmsman or pilot. Google open-sourced the Kubernetes project in 2014. Kubernetes builds upon a <a href="https://ai.google/research/pubs/pub43438">decade and a half of experience that Google has with running production workloads at scale</a>, combined with best-of-breed ideas and practices from the community.</blockquote><h3>Kubernetes core concepts</h3><p>First, because Kubernetes was created for <strong>deployment, maintenance, and scaling</strong>, it answers nicely to these points. That’s why Kubernetes is:</p><ul><li><strong>Lean:</strong> lightweight, simple, accessible</li><li><strong>Portable:</strong> public, private, hybrid, multi-cloud</li><li><strong>Extensible:</strong> modular, pluggable, hookable, modular</li><li><strong>Self-healing:</strong> self-placement, auto-restart, auto-replication</li></ul><p>As it embraces the digital world, Kubernetes is fully (and should uniquely) be supported through an API. <strong>kubectl</strong> and <strong>yaml manifests </strong>are just sugar coating for making HTTP requests. And a basic curl can do the work :</p><pre>curl http://localhost:8080/api/</pre><p>Or… with code 💪🏻:</p><pre><strong>import</strong> (<br>  &quot;fmt&quot;<br>  &quot;k8s.io/apimachinery/pkg/apis/meta/v1&quot;<br>  &quot;k8s.io/client-go/kubernetes&quot;<br>  &quot;k8s.io/client-go/tools/clientcmd&quot;<br>)</pre><pre><strong>func</strong> main() {<br>  <em>// uses the current context in kubeconfig<br></em>  <em>// path-to-kubeconfig -- for example, /root/.kube/config<br></em>  config, _ := clientcmd.BuildConfigFromFlags(&quot;&quot;, &quot;&lt;path-to-kubeconfig&gt;&quot;)<br>  <em>// creates the clientset<br></em>  clientset, _ := kubernetes.NewForConfig(config)<br>  <em>// access the API to list pods<br></em>  pods, _ := clientset.CoreV1().Pods(&quot;&quot;).List(v1.ListOptions{})<br>  fmt.Printf(&quot;There are %d pods in the cluster\n&quot;, len(pods.Items))<br>}</pre><p>Like I said before: Kubernetes is not just an orchestrator, it’s much more.</p><h3>Kubernetes as an Ops tool</h3><p>At a naive stage, the Kubernetes API and its core are invisible. We just use kubectl and some tools like <a href="https://github.com/derailed/k9s">k9s</a> or <a href="https://helm.sh/">helm</a>.</p><p>If we dig a little deeper, we can see that the Kubernetes world is working mainly and intensively on what is enabled by Kubernetes. At the opposite of what we can think, Kubernetes is not going to be bigger and will not include more “nice to have” features. In fact, they are always cleaning the system, putting non-core features outside of its system. Because they aim at maintaining things simple within core mechanisms.</p><p>The Kubernetes world moves fast by providing new tools and services using the Kubernetes core. Their goal is to embrace the key principle of DevOps :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*qo-O4nYi8VT27XIQVqY8fw.jpeg" /></figure><h3>Kubernetes as an enabler</h3><p>The Kubernetes core is a totally stateless application centered on resources manipulation that keeps both scalability and lifecycle in mind :</p><ul><li><strong>The Configuration and Resources</strong> are stored into a high availability key-value store</li><li><strong>The API server</strong> provides all the operations available on the cluster</li><li><strong>The Controller Manager</strong> is responsible for most of the collectors that regulates the state of a cluster and performs a task</li><li><strong>The Scheduler</strong> manages the workload</li></ul><p>The API Server is the only component that is normally accessible. On my whole career, this is clearly one of the best API I have ever seen. The API fully capitalizes on the Kubernetes core to expose all operations and resources available on the cluster.</p><p>To do that and because the API is resource oriented, it exposes four methods: <strong>Read / Create / Update / Delete.</strong></p><p>Kubernetes is “reactive”, that’s why we can “Watch” resources states and have data stream.</p><p>By definition, Kubernetes is expandable and everything is done to a thin integration :</p><ul><li>by creating new types of resources (CRD : Custom Resource Definition)</li><li>by using lifecycle hooks (initializer, finalizers, etc.)</li></ul><p>From my point of view, Kubernetes is far more than a just a tool or an orchestrator… It’s a <strong>DevOps framework.</strong></p><h3>Last words</h3><p>To finish this humble introduction, if Kubernetes is a <strong>DevOps Framework</strong>, we have to dig these point questions:</p><ul><li>“Why do we need a DevOps framework?”</li><li>… and “How to use Kubernetes to automate everything?”</li></ul><p>If you are hasty, you should have a look to these links :</p><ul><li><a href="https://kubernetes.io/docs/concepts/extend-kubernetes/extend-cluster">Extending your Kubernetes Cluster</a></li><li><a href="https://github.com/operator-framework/operator-sdk">Kubernetes controller and operators SDK</a></li></ul><p>Else, I am writing another article to break this down !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fca8fbc3032" width="1" height="1" alt=""><hr><p><a href="https://medium.com/renault-digital/kubernetes-a-humble-introduction-9fca8fbc3032">Kubernetes a humble introduction</a> was originally published in <a href="https://medium.com/renault-digital">Renault Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Business days generator for Time Series Forecasting]]></title>
            <link>https://medium.com/renault-digital/business-days-generator-for-time-series-forecasting-ed1aff24f693?source=rss----2db017d110ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/ed1aff24f693</guid>
            <dc:creator><![CDATA[Tiphaine Phe-Neau]]></dc:creator>
            <pubDate>Thu, 16 Jan 2020 11:35:26 GMT</pubDate>
            <atom:updated>2020-01-16T11:35:26.788Z</atom:updated>
            <content:encoded><![CDATA[<h4>TL;DR: A python CLI to generate the number of business days per country per month for a specific year / <a href="https://github.com/renault-digital/business-days-generator">the repo.</a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c5dC9o-sMcaEG0vQ" /><figcaption>Photo by <a href="https://unsplash.com/@manasvita?utm_source=medium&amp;utm_medium=referral">Manasvita S</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Why business days ?</h3><p>At Renault Digital, we work on worldwide data on subjects such as time series forecasting and many factors impact them. One of them being: <strong>business days</strong>.</p><p>As a data scientist, I love to work alongside business units. And one way to instill trust among one another is to help them by verifying their business intuition. The first intuition I got to help them with was on <strong>how business days could impact their scope</strong>. We worked together and showed true impact (as expected) but what was even more interesting: we automated the data source retrieval process for many countries and we can now spread the data to many other business units.</p><blockquote>More data, to more people !</blockquote><p>There is also a wide range of use cases outside of Renault Digital’s scope. Have you ever worked with temporal data and wondered how people’s daily lives impact these data? Like, how <a href="https://eng.uber.com/neural-networks/">bank holidays impacted the car sharing demand at Uber</a>? How school days may have <a href="https://previsecours.fr/">impact on firemen calls</a> ? Or just to see if this temporal dimension has any impact on your data?</p><p>This tool is quite simple, yet, it <strong>reduces the data scraping fatigue</strong> that comes with doing the same thing over and over again between different projects. To me, a little <strong>data retrieval factorization</strong> can go a long way :)</p><h3>First step: business days definition</h3><p>First things first, we had to clarify what is a business day. As simple as it looks, the business definition may not be the same from one company to another: is it monday to friday ? Monday to saturday ? What about the bank holidays or school holidays ? What about cultural or religious holidays ? For instance: in Asia, the Chinese New Year is known to have strong impacts on business performances (remember that <a href="https://en.wikipedia.org/wiki/Chinese_New_Year">the date changes every year</a>). In France, we have official bank holidays called “<a href="https://www.service-public.fr/professionnels-entreprises/actualites/A13357">journée de solidarité</a>” where employees still work but give their daily wage to help the living conditions of elderly and disabled people.</p><p>In our case, we decided to start simple and use the following definition: <strong>a</strong> <strong>business day is any day from monday to friday minus bank holidays</strong><em>. </em>This means<em> </em>{monday, tuesday, wednesday, thursday, friday}-{bank holidays}.</p><h3>Second step: how to get them ?</h3><p>Let’s roll : you have to get that calendar data per country for a long time range. I chose to focus in getting the number of business days per month because it seems to have a lot of impact on sales prediction for instance ;)</p><p>I also chose to generate a file based on a CLI with a given time range for a country per month. I aimed for reusability over integration in the product I was developing because I know that I’ll need this feature again (and you too, if you‘re reading this :D).</p><p>The current scope is:</p><ul><li><strong>Generated workdays</strong></li><li>Europe: Austria, Belgium, Czech Republic, Denmark, France, Germany, Hungary, Ireland, Italy, Netherlands, Poland, Portugal, Romania, Russia, Slovenia, Spain, Sweden, Switzerland, United Kingdom.</li><li>Afrique: Algeria, Egypt, South Africa.</li><li>America: Brazil, Chile, Colombia, Mexico.</li><li>Asia: Hong Kong, Korea.</li><li><strong>Workalendar : available workday calendars (at the time of publication)</strong></li><li>Europe: Austria, Belgium, Bulgaria, Catalonia, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Russia, Slovakia, Slovenia, Spain, Sweden, Switzerland, United Kingdom.</li><li>Africa : Algeria, Angola, Benin, Ivory Coast, Madagascar, SaoTome And Principe, South Africa.</li><li>America: Brazil, Canada, Chile, Colombia, Mexico, Panama.</li><li>Asia : Hong Kong, Japan, Malaysia, Qatar, Singapore, South Korea, Taiwan.</li><li>Oceania : Australia.</li></ul><h3>Third step: the tool / Business days generator</h3><blockquote><a href="https://github.com/renault-digital/business-days-generator">Business days generator @ Renault Digital’s github</a></blockquote><p>If you need to get an Excel file with the number of work days per month for a give country, this CLI is for you. The workdays generator is based on the <a href="https://github.com/peopledoc/workalendar">workalendar</a> package from <a href="https://github.com/peopledoc">peopledoc</a>.</p><p>I am using it through a <a href="https://virtualenv.pypa.io/en/latest/">virtualenv</a> in Python 3.7 and so should you !</p><h3>Installation</h3><pre>pip install -r requirement.txt</pre><h3>Usage</h3><pre>Usage: generate_working_days.py [OPTIONS] FILENAME</pre><pre>Options:<br>  -y, --years TEXT  Required years (if void will generate 2010 to 2020).<br>  -z, --zones TEXT  Zone name in English [europe|africa|asia|america|oceania]<br>  --help            Show this message and exit.</pre><p>Example</p><pre>python generate_working_days.py europe_workdays.xls -z europe</pre><p>The output file columns are:</p><ul><li>country: country name in English</li><li>year: year value</li><li>month: month number</li><li>workdays_nb: number of workdays</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*jqrpVEgMmXl1X_2VYxfrow.png" /></figure><p>Here it is ! You can now use these files as you want by converting them into time series or joining them to your data. I hope it helps in your tuning.</p><p>Feel free to contribute and add more countries or calendar years.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed1aff24f693" width="1" height="1" alt=""><hr><p><a href="https://medium.com/renault-digital/business-days-generator-for-time-series-forecasting-ed1aff24f693">Business days generator for Time Series Forecasting</a> was originally published in <a href="https://medium.com/renault-digital">Renault Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rush Mobility hackathon, insider]]></title>
            <link>https://medium.com/renault-digital/rush-mobility-hackathon-insider-bff36d1f866c?source=rss----2db017d110ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/bff36d1f866c</guid>
            <dc:creator><![CDATA[Michel de Renault]]></dc:creator>
            <pubDate>Thu, 16 Jan 2020 11:35:14 GMT</pubDate>
            <atom:updated>2020-01-16T11:35:14.487Z</atom:updated>
            <content:encoded><![CDATA[<h3>Rush Hour Mobility hackathon, insider</h3><p>Du 15 au 17 novembre 2019 a eu lieu le Rush Hour Mobility Hackathon. Mais Kézako ? Pendant 36h, 10 équipes ont créé une application basée sur la multimodalité pour permettre à leur espion de déjouer les événements qui se dressent sur sa route et le tout tester en direct sur le MEAOOcity !!!</p><p>Je vous propose donc de vous approcher et de découvrir le Hackathon de l’intérieur … Commençons par le commencement !!</p><h3>La soirée de lancement à l’atelier Renault, comme sur du papier à musique…</h3><p>La soirée s’est très bien déroulée : le planning, qui nous stressait un peu, a été parfaitement respecté, le buffet convivial et le service impeccable ont contribué à la bonne ambiance de ce lancement. Nous avons donc pu nous concentrer sur la création des équipes, quelle joie de voir autant de têtes se présenter pour trouver les partenaires qui pourront les mener à la victoire!</p><p>Surpris nous découvrons une équipe déjà constituée avant d’arriver et installée, laptops déployés, en train de bosser ! Motivés !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XgPGaOFSLmMVI-_4VPKnwA.jpeg" /></figure><h3><strong>Le jour J chez Renault Digital, à Boulogne Billancourt</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wm6GtQ_g1jpVXulSop8dEQ.jpeg" /><figcaption>Matelas gonflables pour les temps de repos</figcaption></figure><p>La veille, avec l’équipe techno nous avons tout installé, les salles, le matériel, la documentation, l’affectation des salles aux équipes. Le tout pour accueillir nos participants dans les meilleures conditions possibles. BeMyApp, notre partenaire avait même pensé aux matelas gonflables ! Je me suis demandé si les candidats allaient vraiment les utiliser … Finalement, ils ont été bien utiles !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*nUtEVAfPp0xUjZnric4nwA.jpeg" /><figcaption>MEOOCity</figcaption></figure><p>Le point fort de ce hackathon c’est notre <strong>MEAOOcity </strong>(Miniature Electric Autonomous Onboard Offboard). C’est-à-dire environ 6x20 mètres de surface, avec des leds représentant les différents parcours possibles pour notre espion (voiture, métro, vélo, et à pied) en temps réel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PIlpnsVfulV3VE9-3-LS6A.jpeg" /><figcaption>MEAOOcar</figcaption></figure><p>L’avantage ? Permettre de visualiser sur une ville miniature, les choix de déplacement de l’agent ! Et le plus cool c’est le déplacement en voiture qui peut être illustré par la petite <strong>MEAOOcar</strong>. Il s’agit d’une « RC car » qui a été customisée pour pouvoir évoluer dans l’écosystème MEAOO.</p><h3>Le coin des mentors, the place to be !</h3><p>Les mentors<em>, </em>tous développeurs, sont accessibles en permanence et très qualifiés techniquement. Ils ont été disponibles 24h/24 physiquement et sur Slack. Pendant la nuit, les sollicitations n’ont pas arrêté ! Des candidats n’ont pas dormi pour fournir la meilleure expérience utilisateurs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nug_D9ZTKzJiw9p-q4zvew.jpeg" /><figcaption>Le coin des mentors, bienveillance et technicité 👍</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i8x0aZv4EXurmleXvt0SEw.png" /></figure><p>C’est à tour de rôle, que les mentors sont restés accompagner les plus motivés ! Une haute dispo de leur part très appréciée des candidats !</p><p>Du coup, je dirais que le coin des mentors = bienveillance et technicité 👍Ce n’est pas chose aisée quand vous êtes entre deux équipes qui vous noient de questions ! Bravo à eux pour cet accompagnement de qualité qui a conduit les équipes vers la réussite.</p><p>Ce Hackathon a été une formidable expérience technique et humaine. Le challenge principal étant de fixer les petits dysfonctionnements que les candidats ont rencontré, afin que l’écosystème soit fiable. Certaines équipes nous ont étonné par leur maîtrise du sujet, et la délibération fût difficile !</p><p>Nous avons été vraiment ravis de participer à l’un des premiers hackathon <strong>“enfin fait pour les développeurs” </strong>avec un écosystème de prototypage de mobilité multimodale utilisant les dernières technologies.</p><p>Une page se tourne et avec elle l’envie de recommencer !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bff36d1f866c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/renault-digital/rush-mobility-hackathon-insider-bff36d1f866c">Rush Mobility hackathon, insider</a> was originally published in <a href="https://medium.com/renault-digital">Renault Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>