DriveWorks recorder-tui error

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
[√] DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[√] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
[√] DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
[√] other

Host Machine Version
[√] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hi,
When i use “recorder-tui” to record data, it can’t work, the error is “ModuleNotFoundError: No module named ‘Crypto’”, then i use “pip3 install Crypto” to install Crypto, it also has the error. But i use “recorder” with same rig file, it’s ok. The logs are as following:

nvidia@tegra-ubuntu:/usr/local/driveworks/tools/capture$ ./recorder-tui ./configs/release.json
./recorder-tui:1296: SyntaxWarning: “is” with a literal. Did you mean “==”?
if hostname is “local”:
./recorder-tui:1310: SyntaxWarning: “is not” with a literal. Did you mean “!=”?
if hostname is not “local”:
running recorder-tui with arguments: Namespace(aes_key=None, aes_key_encrypted=None, backend=False, bbr=False, description=‘’, disable_encryption=True, enable_encryption=False, lane_id=None, log_dir_path=‘/tmp’, login_id=None, no_mount_check=False, no_sudo=False, non_interaction=False, remote_dw_path=‘’, rig=‘./configs/release.json’, route=None, rsa_key=‘/home/nvidia/.ssh/recorder-aiinfra.pem’, rsa_key_md5=None, skip_init_input=False, tag=‘NONE’)
Traceback (most recent call last):
File “./recorder-tui”, line 178, in
import recorder_utils as utils
File “/usr/local/driveworks-5.8/tools/capture/scripts/recorder_utils.py”, line 42, in
from Crypto.Cipher import AES
ModuleNotFoundError: No module named ‘Crypto’

The rig file is as following:
{
“rig”: {
“properties”: {
“layout”: “Hyperion 7.1”
},
“sensors”: [
{
“name”: “camera:sample0”,
“nominalSensor2Rig_FLU”: {
“roll-pitch-yaw”: [
0.0,
0.0,
0.0
],
“t”: [
1.8621,
-0.1939,
1.3165
]
},
“parameter”: “camera-name=F008A120RM0A,interface=csi-e,CPHY-mode=1,link=3,format=h264,output-format=processed,async-record=1,file-buffer-size=16777216”,
“properties”: {
“Model”: “ftheta”,
“bw-poly”: “0.000000000000000 5.35356812179089e-4 4.99266072928606e-10 4.27370422037554e-12 -6.68245573791717e-16”,
“cx”: “1927.764404”,
“cy”: “1096.686646”,
“height”: “2168”,
“width”: “3848”
},
“protocol”: “camera.gmsl”
},
{
“name”: “camera:sample1”,
“nominalSensor2Rig_FLU”: {
“roll-pitch-yaw”: [
0.0,
0.0,
0.0
],
“t”: [
1.8621,
-0.1939,
1.3165
]
},
“parameter”: “camera-name=F008A120RM0A,interface=csi-e,CPHY-mode=1,link=1,format=h264,output-format=processed,async-record=1,file-buffer-size=16777216”,
“properties”: {
“Model”: “ftheta”,
“bw-poly”: “0.000000000000000 5.35356812179089e-4 4.99266072928606e-10 4.27370422037554e-12 -6.68245573791717e-16”,
“cx”: “1927.764404”,
“cy”: “1096.686646”,
“height”: “2168”,
“width”: “3848”
},
“protocol”: “camera.gmsl”
}
],
“vehicle”: {
“valid”: true,
“value”: {
“COMMENT”: “[date: 2020-01-19] mass and centerOfMass are measured with two persons in the front seats. vehicle yaw inertia (the 3rd element of inertia), front cornering stiffness, rear cornering stiffness and steering map are estimated with vehicle test data. roll and pitch inertia (inertia’s first and second elements) and height of center of mass are estimates. [date: 2021-07-21] throttleTorqueOutput resampled for throttleSpeedInput with values close to 0mps”,
“actuation”: {
“brakeActuatorTimeConstant”: 0.05,
“brakeActuatorTimeDelay”: 0.0,
“driveByWireTimeConstant”: 0.25999999046325684,
“driveByWireTimeDelay”: 0.10999999940395355,
“effectiveMass”: 389.8653869628906,
“maxSteeringWheelAngle”: 8.290313720703125,
“steeringWheelToSteeringMap”: [
0.0,
0.06459085643291473,
-2.557147672632709e-05,
1.8859604097087868e-05,
1.3523515463020885e-07,
4.7676653025519045e-07
],
“throttleActuatorTimeConstant”: 0.3,
“throttleActuatorTimeDelay”: 0.0,
“torqueLUT”: {
“brakePedalInput”: “0.15, 0.16, 0.17, 0.19, 0.20, 0.22, 0.23, 0.25, 0.26, 0.27, 0.29, 0.30, 0.32, 0.33, 0.35”,
“brakeTorqueOutput”: “0.000, 49.09, 98.18, 166.20, 360.97, 555.75, 937.50, 1327.03, 1754.49, 2195.60, 2653.02, 3313.10, 4377.48, 6691.15, 7438.69”,
“throttlePedalInput”: “0.17, 0.20, 0.23, 0.27, 0.30, 0.34, 0.37, 0.41, 0.44, 0.48, 0.51, 0.55, 0.58, 0.61, 0.65”,
“throttleSpeedInput”: “0.00, 2.14, 4.29, 6.43, 8.57, 10.71, 12.86, 15.00, 17.14, 19.29, 21.43, 23.57, 25.71, 27.86, 30.00”,
“throttleTorqueOutput”: [
“68.96, 22.07, -25.21, -72.83, -120.75, -164.84, -202.53, -225.26, -251.77, -279.48, -280.48, -281.48, -282.48, -283.48, -284.48”,
“707.25, 560.40, 411.69, 261.67, 110.68, 11.85, -67.57, -104.96, -144.60, -184.34, -185.34, -186.34, -187.34, -188.34, -189.34”,
“1342.68, 1096.46, 846.99, 595.26, 341.93, 188.61, 67.71, 15.48, -37.26, -89.02, -98.81, -104.39, -105.39, -106.39, -107.39”,
“1836.76, 1523.81, 1206.73, 886.79, 564.81, 369.49, 214.14, 143.81, 77.25, 13.62, -15.85, -33.79, -34.79, -35.79, -36.79”,
“2328.83, 1949.70, 1565.50, 1177.78, 787.57, 550.43, 360.74, 272.23, 191.87, 116.36, 67.21, 36.91, 35.91, 34.91, 33.91”,
“2678.62, 2266.03, 1848.07, 1426.34, 1001.90, 735.53, 518.64, 408.59, 313.73, 226.45, 159.00, 114.07, 108.81, 102.25, 95.43”,
“3027.80, 2581.90, 2130.32, 1674.71, 1216.19, 920.63, 676.64, 544.97, 435.63, 336.57, 250.81, 191.22, 179.79, 164.42, 147.95”,
“3233.24, 2787.20, 2335.71, 1880.30, 1421.96, 1109.90, 846.17, 689.34, 564.84, 454.13, 351.33, 275.29, 251.74, 221.70, 189.91”,
“3438.51, 2992.44, 2541.10, 2085.90, 1627.74, 1299.14, 1015.83, 833.69, 694.05, 571.68, 451.79, 359.55, 323.67, 278.98, 231.87”,
“3500.25, 3087.18, 2669.66, 2248.71, 1824.99, 1492.50, 1197.24, 986.03, 830.59, 696.67, 560.88, 451.03, 396.57, 331.39, 263.27”,
“3561.46, 3181.47, 2797.88, 2411.33, 2022.21, 1685.83, 1378.89, 1138.38, 967.16, 821.69, 669.98, 542.74, 469.46, 383.76, 294.63”,
“3562.46, 3182.47, 2849.89, 2531.52, 2210.98, 1883.18, 1572.48, 1298.63, 1110.98, 954.07, 787.58, 641.78, 543.30, 431.30, 315.53”,
“3563.46, 3183.47, 2900.93, 2651.17, 2399.66, 2080.50, 1766.55, 1458.97, 1254.90, 1086.56, 905.25, 741.10, 617.14, 478.77, 336.28”,
“3564.46, 3184.47, 2901.93, 2728.73, 2579.98, 2281.72, 1972.84, 1627.12, 1406.01, 1226.35, 1031.34, 847.85, 691.91, 521.45, 346.66”,
“3565.46, 3185.47, 2902.93, 2805.41, 2760.14, 2482.92, 2179.94, 1795.43, 1557.29, 1366.29, 1157.55, 954.91, 766.70, 564.01, 356.82”
]
}
},
“axleFront”: {
“corneringStiffness”: 93534.5234375,
“position”: 2.8499999046325684,
“track”: 1.5820000171661377,
“wheelRadiusLeft”: 0.33059999346733093,
“wheelRadiusRight”: 0.33059999346733093
},
“axleRear”: {
“corneringStiffness”: 176162.140625,
“position”: 0.0,
“track”: 1.5750000476837158,
“wheelRadiusLeft”: 0.33059999346733093,
“wheelRadiusRight”: 0.33059999346733093
},
“body”: {
“boundingBoxPosition”: [
-1.1089999675750732,
0.0,
0.0
],
“centerOfMass”: [
1.5946999788284302,
0.0,
0.550000011920929
],
“height”: 1.4730000495910645,
“inertia”: [
750.0,
3200.0,
3414.201171875
],
“length”: 4.872000217437744,
“mass”: 2014.4000244140625,
“width”: 2.121000051498413,
“widthWithoutMirrors”: 1.852
},
“hasCabin”: false,
“name”: “ford fusion 2017”,
“numTrailers”: 0
}
}
},
“version”: 7
}

Dear @zhaohm8,
This is known issue listed in DRIVE OS 6.0.5 release notes(page 49). Please use recorder tool.

Hi @SivaRamaKrishnaNV ,
I want to record data to external storage(SD card/eSATA/USB3.0 SSD), but " recorder" maybe only can record data to internal memory, what should i do?

Dear @zhaohm8,
Could you run the recorder tool from SSD mounted folder and see if it works for your case?

Hi @SivaRamaKrishnaNV ,
ok, i will try

1 Like

Dear @zhaohm8,
Also, you can use s <path_to_record> as given in DriveWorks SDK Reference: Basic Recording Tool

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.