Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access from Unity in an other OS #19

Open
GiovanniTurri opened this issue Mar 17, 2022 · 0 comments
Open

Unable to access from Unity in an other OS #19

GiovanniTurri opened this issue Mar 17, 2022 · 0 comments

Comments

@GiovanniTurri
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant