I've been setting up a KTM 890 Duke R (extended thread on my success so far: https://www.790dukeforum.com/threads/odb2-canbus-data-for-the-890r-gear-front-brake-force-etc.4303/#post-48714
) with RaceChrono Pro and I've run into a few challenges.
1). I need some data that seems to be only available via ODB2, but not CAN bus - is there anyway to tap into both simultaneously via an MX Link+?
2). Does RaceChrono support any kind of search / filter capability so I can scan the CAN bus for signals i want?
3). I'd really love to automatically control my DJI Action Cam 2. I know the policy is GoPro only, but I'd be happy to contribute towards a fund for additional camera support.
4). Is there a best practice to sync RaceChrono data with video data by timestamp? I'm having to eyeball sync and it's tedious
I want to say the RaceChrono is amazing, and you've done a great job folks.
I have lean angle, pitch angle, RPM, clutch, brake, throttle, gear and the wheel speeds, if I remember correctly.
1) In theory yes, but you'd need two readers, one for CAN and one for OBD-II. It's not limitation of the bus or RaceChrono, but the ELM 327 command set on the reader.
2) No, but there's specialised tools for reverse engineering CAN-Bus. In this use case RaceChrono is just a logger and analysis tool for the data.
3) That's also a no. The GoPro remote control feature is reverse engineered, and the protocol changes almost every year. It's more likely I will drop the GoPro support than it is that I will add more cameras (please continue reading to point 4). I would rather use the effort in improving the app other ways.
4) What I'm doing at GoPro side is to sync the videos according to the embedded GPS data. It seems to work much better than syncing the files according to the remote control. Does DJI embed this data somehow? Or does it save GPS data on separate file? If there's GPS timestamp somewhere, I'm sure automatic sync can be done for DJI files too.
I'm struggling to find the CAN-Bus PID for:
- Rear brake
- Wheel speed
But would love to get as much as I can.
on 4 - DJI doesn't have GPS data unfortunately making it hard to sync up. It doesn't even have great timestamps in the video. Would love any guidance on how best to make other action cams work. Maybe a horn event + finding audio in the track?
Wheel speeds are available at PID 299, "bitstouint(raw, 0, 16)" for the front and "bitstouint(raw, 16,16)" for the rear. AFAIK these are pulse frequencies from the ABS sensor, you could calculate the holes in the sensor disc and multiply by the wheel radius, or just compare to GPS speed to have a good guesstimation.
If you'd like to have my full profile, you can "email" me through the support form on this website
I'll email you for your full profile. Saddly 299 doesn't have wheelspeed on 890Rs We've been trying to figure out what does but haven't quite nailed it.
Do please consider a feature making it easier to sync action cam data with RaceChrono (most lack GPS ). A high pass audio channel filter might do it (+ the horn). I've even started considering finding the PID for my indicators so I can sync with the lights.
Please create new thread on syncing by audio/video cue, maybe we can invent something, and maybe get others to chime in their ideas. Combining many topics to same thread is usually the best way to bury the topic soon, so that's why a new dedicated thread for that.
Best guess is that the 890 uses a different ABS solution (probably the same as the newer Super Dukes) and that uses different PIDs (so 303 for lean / tilt and unknown for wheelspeed).
Thanks for all the help - I'll file a seperate request for the audio/video cue idea.