Open mvaccaro1971 opened 8 months ago
Dear all, I am writing to you for technical support. We have implemented the MSCL libraries on NIVIDA TX1 and now testing the reading of your device.
With the lsusb command we see the following configuration:
Bus 004 Device 002: ID 0483:5740 STMicroelectronics Virtual COM Port Bus 003 Device 002: ID 0483:5740 STMicroelectronics Virtual COM Port
With the command ls -l /dev/ttyA* we see the device on ports ttyACM0 and ACM1.
crw-rw---- 1 root dialout 166, 0 Dec 22 21:33 /dev/ttyACM0 crw-rw---- 1 root dialout 166, 1 Dec 22 21:33 /dev/ttyACM1
As a serial port we are using: COM_PORT = "/dev/ttyACM0"
We tried the script python (parseData) attached to the email and get the result in out.txt.
Now we need to extract only certain data which are as follows:
inertial-6284.174755:estLatitude,Timeseries,10Hz,,,,,, inertial-6284.174755:estLatitude:valid,ValidFlag,10Hz,,,,,, inertial-6284.174755:estLongitude,Timeseries,10Hz,,,,,, inertial-6284.174755:estLongitude:valid,ValidFlag,10Hz,,,,,, inertial-6284.174755:estNorthVelocity,Timeseries,10Hz,,,,,, inertial-6284.174755:estNorthVelocity:valid,ValidFlag,10Hz,,,,,, inertial-6284.174755:estEastVelocity,Timeseries,10Hz,,,,,, inertial-6284.174755:estEastVelocity:valid,ValidFlag,10Hz,,,,,, inertial-6284.174755:estYaw,Timeseries,10Hz,,,,,, inertial-6284.174755:estYaw:valid,ValidFlag,10Hz,,,,,,
Can you modify the attached script to get only this data?
Thanks in advance
out.txt parseData.txt
Michele
Dear all, I am writing to you for technical support. We have implemented the MSCL libraries on NIVIDA TX1 and now testing the reading of your device.
With the lsusb command we see the following configuration:
Bus 004 Device 002: ID 0483:5740 STMicroelectronics Virtual COM Port Bus 003 Device 002: ID 0483:5740 STMicroelectronics Virtual COM Port
With the command ls -l /dev/ttyA* we see the device on ports ttyACM0 and ACM1.
crw-rw---- 1 root dialout 166, 0 Dec 22 21:33 /dev/ttyACM0 crw-rw---- 1 root dialout 166, 1 Dec 22 21:33 /dev/ttyACM1
As a serial port we are using: COM_PORT = "/dev/ttyACM0"
We tried the script python (parseData) attached to the email and get the result in out.txt.
Now we need to extract only certain data which are as follows:
inertial-6284.174755:estLatitude,Timeseries,10Hz,,,,,, inertial-6284.174755:estLatitude:valid,ValidFlag,10Hz,,,,,, inertial-6284.174755:estLongitude,Timeseries,10Hz,,,,,, inertial-6284.174755:estLongitude:valid,ValidFlag,10Hz,,,,,, inertial-6284.174755:estNorthVelocity,Timeseries,10Hz,,,,,, inertial-6284.174755:estNorthVelocity:valid,ValidFlag,10Hz,,,,,, inertial-6284.174755:estEastVelocity,Timeseries,10Hz,,,,,, inertial-6284.174755:estEastVelocity:valid,ValidFlag,10Hz,,,,,, inertial-6284.174755:estYaw,Timeseries,10Hz,,,,,, inertial-6284.174755:estYaw:valid,ValidFlag,10Hz,,,,,,
Can you modify the attached script to get only this data?
Thanks in advance
out.txt parseData.txt
Michele