CAN communication on Xavier


I followed the below link, pasted the code into ROS, and tried to run the code in ROS. But I ran into this problem: dwSAL_createSensor(&canSensor, params, hal) != DW_SUCCESS. I checked the value of dwSAL_createSrnsor, it was 35. Can anyone give some hints? Many thanks!

Hi Phil.Chen,

Could you check it with dwGetStatusName()? You can refer to /usr/local/driveworkssamples/src/framework/Checks.hpp.

Thank you VickNV!