Closed liushuya7 closed 2 years ago
Is this a config file you tested on a different OS/ROS version?
Also, can you check if JsonCpp is detected properly and if not compiled as a CMake external project?
On Aug 1, 2022, at 17:54, Joshua Liu @.**@.>> wrote:
I want to use this package. I was able to build it on Ubuntu 22.04 ROS2 Humble successfully. However, when I run this node, the Tools tab is blank. [Screenshot_20220801_175023]https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F6867028%2F182252236-78af0358-4ae3-4968-bd8d-384e56d5794a.png&data=05%7C01%7Canton.deguet%40jhu.edu%7C7665be1f5dfb411f06f008da740871ad%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C637949876864580279%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=axTvpm8Uq%2B9K4q0LfL6KwkVdYtNtFpM%2FpB1wGW5uwZE%3D&reserved=0
Here is the log:
17:51:04 status #1: NDI: found serial port: /dev/ttyUSB0 17:51:07 status #2: NDI: device found on port: /dev/ttyUSB0 17:51:07 status #3: NDI: SetSerialPortSettings succeeded 17:51:07 status #4: NDI: device initialized 17:51:07 status #5: NDI: command VER 0 returned: Polaris Control Firmware NDI S/N: P4-04384 Characterization Date: 10/22/10 Freeze Tag: POLARIS Rev 021 Freeze Date: 07/22/03 (C) Northern Digital Inc.
17:51:07 status #6: NDI: command VER 3 returned: Polaris eTIU Firmware NDI S/N: T2-00120 Freeze Tag: eTIU Rev 003 Freeze Date: 07/22/03 (C) Northern Digital Inc.
17:51:07 status #7: NDI: command VER 4 returned: Polaris Control Firmware NDI S/N: P4-04384 Characterization Date: 10/22/10 Freeze Tag: POLARIS Rev 021.003 Freeze Date: 07/22/03 (C) Northern Digital Inc.
17:51:07 warning #1: NDI: device firmware is not what we're expecting, got: 022. It might still work 17:51:07 status #8: NDI: device initialized 17:51:08 status #9: NDI: tool handles initialized 17:51:08 status #10: NDI: passive tool handles enabled 17:51:08 status #11: NDI: active tool handles enabled 17:51:11 status #12: NDI: tracking is on
This is my son file:
{ "definition-path": ["directory_absolute_path/share/roms"],
"name": "Polaris",
"stray-markers": {
"track": true,
}
,
"tools": [
{"name": "SnakeTipCalRev4", "unique-id": "01-3CDD5C00-SnakeTipCalRev4", "definition": "SnakeTipCalRev4.rom", "reference" : "Polaris"},
{"name":"TraxatalTool","unique-id":"01-34A24010-TA202-2005","definition":"202-3-120.rom","reference" : "Polaris"},
{"name":"MedtronicPointer","unique-id":"02-3B115800-960556", "definition":"medtronic-PN960556.rom","reference" : "Polaris"},
{"name":"LasercutBase0","unique-id":"01-3CDD5C01-LasercutBase0", "definition":"LasercutBase0.rom","reference" : "Polaris"}
]
}
— Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjhu-saw%2FsawNDITrackerROS2%2Fissues%2F3&data=05%7C01%7Canton.deguet%40jhu.edu%7C7665be1f5dfb411f06f008da740871ad%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C637949876864580279%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pb%2FNPYzAxOYyv8%2FpmmOfPqkx4tu5F3Ia1gmWG%2BPQAZY%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAIRP47IPXRGHHWRIEKWGTDVXBBSHANCNFSM55I72UHA&data=05%7C01%7Canton.deguet%40jhu.edu%7C7665be1f5dfb411f06f008da740871ad%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C637949876864580279%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cj3MWMuOQNjEGIT5L96uLgSZS2Jzgg8dOHEcLTAvguU%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>
I believe I have JsonCpp configured correctly.
Somehow it fixes on its own without me doing anything.
Hi @adeguet1 ,
I want to use this package. I was able to build it on Ubuntu 22.04 ROS2 Humble successfully. But when I run
ros2 run ndi_tracker ndi_tracker -j my_config.json
, I hear the Polaris beeps twice then everything shuts down.Here is the log: