Hardware Platform: DriveWorks AGX Xavier
Software Version: Drive Software 2.2
Host Machine Version: Ubuntu 18.04.4 LTS (Bionic Beaver)
SDK Manager Version: 188.8.131.5243
Note: I am running everything I mentioned below in Linux 18.4 Host machine.
I am writing IMU-plugin for my custom CAN based IMU sensor. There are different configurations associated with my IMU that I need to setup before dwSensorPluign_Start() is called. I am looking at this IMU Plugin sample and in createSensor there is a const char* params that contains all the user parameters. Should I append my parameters (list below) and values to this string and parse it in my createSensor() and form a CAN packet to send configuration message to my IMU using dwSendCAN_sendMessage()? Or is it wrong thing to do? then the questions is, How a user of my IMU-Plugin.so is going to change the IMU configuration settings?
- data rate - 100Hz, 50Hz, 10Hz etc
- packet type - Accel, Rate etc
- Orientation setting - 0x0000, 0x0011 etc
and so on…
I was reading this thread but it doesn’t give more information.
Thanks in advance