Forgot your password?
typodupeerror
Python Transportation

Tesla Roadster Data Logging Format Reverse Engineered 141

Posted by timothy
from the we-know-where-you-plugged-in dept.
s1axter writes with word that "the data log format for the Tesla Roadster has been reverse engineered and documented, now available in Python. (Python script linked in the post.)" From the linked blog entry: "Not only was I given a $110k car unrestricted I was requested to see what ECU information is available, collect and parse the data from it. Tesla Motors periodically collects information from their vehicles presumably to see what real-world driving the cars see. On original Roadster models there is no method to collect this information remotely thus someone must go out to the vehicle and collect it. The owner of the vehicle saw this and wanted to know what information was collected on these service calls ... Because I am a big fan of freedom to modify a program to fit ones needs, I have uploaded the ... python script to parse Tesla logs."
This discussion has been archived. No new comments can be posted.

Tesla Roadster Data Logging Format Reverse Engineered

Comments Filter:
  • When I get my hands on a $110K electric car I'll be sure to try it out! Might be a while, though.

    • by geekoid (135745)

      Have you asked?

      I was listening to a report on the New porche. The person doing the report called the dealer, and the dealer delivered the 100K+ car to his apartment. Then just left the keys with him. Never checking who he is.

    • by camperslo (704715)

      All we need now is a way to plug in the smartphone of our choice, the script ported to phone apps, and a dealer willing to let us take a Roadster out for some test driving. To be a valid test drive, one should get to go until the fuel/power runs out.

  • I knew it! (Score:1, Funny)

    by Anonymous Coward

    It's all an evil scheme to find out how many Starbuck's Lattes' I get in a week.

  • by 140Mandak262Jamuna (970587) on Thursday November 04, 2010 @07:29PM (#34131200) Journal
    All he is doing is bragging about a python script that he himself admits to be simplistic and ugly. The binary format was decoded by two other posters in a bulletin board who also wrote a windows parser but the original guys did not think it warrants any kind of bragging like this. And he is not posting the logs either due to privacy concerns. So unless you are curious about seeing someone's ugly hack of a python script, just move along, there is nothing to see here.
    • by Bigjeff5 (1143585) on Thursday November 04, 2010 @08:03PM (#34131500)

      a python script that he himself admits to be simplistic and ugly.

      Isn't that statement redundant? All python code is simplistic and ugly.

      .

      I kid! I kid!

      • Re: (Score:2, Insightful)

        by Gordonjcp (186804)

        Isn't that statement redundant? All python code is simplistic and ugly.

        That's true of any very high-level language, like Python, Ruby, Haskell, Pascal or C.


        Slashdot requires you to wait between each successful posting of a comment to allow everyone a fair chance at posting a comment.

        It's been 1 minute since you last successfully posted a comment

        Dear slashdot janitors,

        Between your stupid "It's been 20 seconds since you hit reply", the entirely unusable new comments system, the "new" user pages and this seem

        • by Pharmboy (216950)

          >>Isn't that statement redundant? All python code is simplistic and ugly.

          That's true of any very high-level language, like Python, Ruby, Haskell, Pascal or C.

          This is why I only program in Perl.

    • by Degro (989442)
      Hey, at least he's not trying to sell anything. This is a step up from the usual slashvertisement/slashnouncement 'stories'. Anyway, I thought building on top of other people's work was still a good thing around here.
    • I think you're being too harsh. I looked at the script and it's very short and fairly easy to read. How can you complain about that? I couldn't get to the website to download the Windows tool, but I'm going to guess it's a compiled exe (could be wrong), which means it's not easy for the user to edit. By contrast, the user can easily tailor the Python script to fit their needs. In addition, the script also serves as format documentation. He clearly commented sections such as "daily record", "error reco
    • by Teancum (67324)

      What surprises me here is that this guy didn't bother simply writing to Tesla asking them for the data format? While it has been changing, particularly in regards to the partnership with Toyota, Tesla Motors has typically been quite open about what they are doing and more than willing to work with the after market & car hacker crowd. They certainly are a small enough company that a simple letter (snail-mail) or very well formed e-mail to J.B. Straubel (the engineering head at Tesla and co-founder of t

  • Wow (Score:3, Funny)

    by Jethro (14165) on Thursday November 04, 2010 @07:40PM (#34131266) Homepage

    I'm surprised took so long, given the immense popularity of that car.

    • It didn't take this long. There was already a proof of concept windows binary that decoded it. It's just now been done in Python--messier.

  • What use does an electric car have for an Engine Control Unit? There is no engine to control!

    Fine, call an engine a motor (I don't), but a motor is not an engine.
    • by geekoid (135745)

      An engine is a machine designed to convert energy into useful mechanical motion.

      • Re: (Score:3, Informative)

        by Thelasko (1196535)

        An engine is a machine designed to convert energy into useful mechanical motion.

        An engine is a machine designed to convert heat into useful mechanical motion.

        Fixed it for ya!

        • Re: (Score:3, Funny)

          by Thelasko (1196535)
          ...and no, I don't care about what an encyclopedia written by the unwashed masses has to say on the topic. My Thermodynamics books say otherwise.
        • by Teancum (67324)

          An engine is a machine designed to convert energy into useful mechanical motion.

          An engine is a machine designed to convert heat into useful mechanical motion.

          Fixed it for ya!

          I suppose that is true even for an electric motor, although the heat conversion is filters and perhaps even delayed a bit, even if it is solar powered, in which case the heat energy is even more remote and due to incandescence on another astronomical body. But no matter how removed from that heat, you are pretty much spot on correct.

          Of course you could also say that an engine is designed to convert nuclear fusion into useful mechanical motion, as almost all forms of energy come from nuclear fusion at some

"Only the hypocrite is really rotten to the core." -- Hannah Arendt.

Working...