As i have CAN radar i’m willing to record the data sent by CANbus but with every recorder app I have the same issue: CANSocket: ioctl (SIOCSHTSTAMP, can0) failded -> bad adress. Cannot enable HW timestamps, try with root user.
When i try without sudo command i have : CANSocket: ioctl (SIOCSHTSTAMP, can0) failded -> Operation not permitted. Cannot enable HW timestamps, try with root user.
Could you also explain how the CAN network should be recorded?
Thanks in advance,
Can I know how to record CAN data?
Are you using recorder-qt tool in DriveWorks tool?
If not, please refer to “Recording SocketCAN Data” part in DriveWorks development guide? Thanks.
Even when i use recorder-qt i have this error displayed. In fact every program that allows to record CAN data is having this issue…
To generate CAN data i have a vector CAN generator, all the samples are able to receive/decode the CANbus.
My final goal is to be able to take the car, do a ride and come back to the office and analyze all the recorded CAN data. To do that i customized the app sample_record but as i have this error the can.bin files are impossible to replay.
We’ve posted new PDK and DW on developer.com.
Could you please check if this symptom is reproduced after updating with new PDK and DriveWorks? Thanks.
With the new PDK and DW i don’t have this issue anymore! But i can’t find any replayer for CANbus, do i miss something? As i remember in tools there was “replayer” in the previous version.
Replayer tool is dropped in this version. Can you check using CAN bus logger sample
Thanks for your quick answer, i’m able to replay what i just recorded with sample_record!