Error in custom natnet c++ client on linux
Posted: Mon Mar 04, 2024 7:01 am
Hello,
I am creating a custom C++ client on linux to use it with ROS 2. And I am getting the following error while I try to connect. I have already working client for ROS 1 and it works flawlessly.
```
/home/mrbuild/npoint/apps/NatNet/NatNetLib/src/ClientCore.cpp:2084: void ClientCore::ClearCommandConfirmation(): Assertion `std::this_thread::get_id() == mMainThreadId' failed.
```
I am creating a custom C++ client on linux to use it with ROS 2. And I am getting the following error while I try to connect. I have already working client for ROS 1 and it works flawlessly.
```
/home/mrbuild/npoint/apps/NatNet/NatNetLib/src/ClientCore.cpp:2084: void ClientCore::ClearCommandConfirmation(): Assertion `std::this_thread::get_id() == mMainThreadId' failed.
```