On-vehicle movie overlaying vehicle information using CANUSB

約2分で読めます
公開から16年が経っています。紹介しているソフトやライブラリの版が変わり、手順や結果が今とは違うかもしれません。
目次全2項目
  1. 01HS-CAN Data
  2. 02Overlaying
再生: Racing game like movie using CAN reader

I overlaid various vehicle information (i.e. speed, rpm, and so on) extracted by CANUSB on my on-vehicle movie.

01 / 02HS-CAN Data#

At first, I tried to use information posted by Madox.NET, but unfortunately HS-CAN Data extracted by my RX-8 look totally different from Madox’s one.

I’m not sure why there are big differences. But one possible reason is that Madox’s RX-8 is AT. My RX-8 is 2007 5MT model.

  • RPM: ID 0x201, (data[0] * 256 + data[1]) / 4
  • Vehicle Speed(km/h): ID 0x201, (data[4] * 256 + data[5] – 10000) / 100
  • Accel Throttle Position(0 – 255): ID 0x201, data[6]
  • Hand Brake(on/off): ID 0x212, (data[4] & 0x40)
  • Foot Brake(on/off): ID 0x212, (data[5] & 0x08)
  • Declutching(on/off): ID 0x231, (data[0] & 0xf0)
  • Engine Coolant Temp(degree celsius): ID 0x240, data[3] – 40
  • Intake Air Temp(degree celsius): ID 0x250, data[3] – 40

Here is what I analyzed.

I want to extract some more information such as steering column angle, but I haven’t yet.

02 / 02Overlaying#

I used Apple’s Quartz Composer for overlaying information.

コメント

この記事へのコメントの受け付けは終えています。ご意見やご質問は、X(@hiroaki0923)へお寄せください。

この記事を書いた人Hiroaki

注文住宅のスマートホーム化と、iPhoneアプリやFM音源のソフトウェアづくりを、自分で使いながら書いています。

hiroaki0923@hiroaki0923このサイトについて