When ROS and Unity are on the same Linux environment, the robot can move correctly.
But when I try to access the ROS node (in the Linux environment) using the Unity "client" project reproduced in Windows 10, it doesn't work.
May this be due to UDP and TCP mismatch between ROS and Unity?
Which files are in charge of the communication settings?
Do you have any suggestion?
@samiamlabs ?
Thank you so much everyone!
P.S. The error is the following:
UnsatisfiedLinkError: rcl.dll
ROS2.Utils.DllLoadUtilsWindowsDesktop.ROS2.Utils.DllLoadUtils.LoadLibraryNoSuffix (System.String fileName) (at :0)
rclcs.NativeMethods..cctor () (at <2e68923f6c464cc68a07b80ecb76c56b>:0)
Rethrow as TypeInitializationException: The type initializer for 'rclcs.NativeMethods' threw an exception.
SharedRosContext.CreateRosContext () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:39)
SharedRosContext.Init () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:32)
SharedRosContext.OnValidate () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:19)
Hi everyone,
When ROS and Unity are on the same Linux environment, the robot can move correctly. But when I try to access the ROS node (in the Linux environment) using the Unity "client" project reproduced in Windows 10, it doesn't work.
May this be due to UDP and TCP mismatch between ROS and Unity?
Which files are in charge of the communication settings? Do you have any suggestion? @samiamlabs ?
Thank you so much everyone!
P.S. The error is the following: UnsatisfiedLinkError: rcl.dll ROS2.Utils.DllLoadUtilsWindowsDesktop.ROS2.Utils.DllLoadUtils.LoadLibraryNoSuffix (System.String fileName) (at:0)
rclcs.NativeMethods..cctor () (at <2e68923f6c464cc68a07b80ecb76c56b>:0)
Rethrow as TypeInitializationException: The type initializer for 'rclcs.NativeMethods' threw an exception.
SharedRosContext.CreateRosContext () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:39)
SharedRosContext.Init () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:32)
SharedRosContext.OnValidate () (at Assets/ROS2/Scripts/MonoBehaviour/SharedRosContext.cs:19)