Giter Site home page Giter Site logo

Comments (6)

jhwangbo avatar jhwangbo commented on August 18, 2024

Can you elaborate on your setup? Do you have a remote Linux machine and a local Mac?

I haven't tried it between two different OS's. My students use a remote Linux machine and a local Linux machine and it works well. I'll investigate it on weekend.

from raisimlib.

jhwangbo avatar jhwangbo commented on August 18, 2024

and does the same simulation/visualization work well on a local machine?

from raisimlib.

MarkFzp avatar MarkFzp commented on August 18, 2024

The above screenshot which shows the error msg is taken on the raisimUnity on my local Mac (git commit 091b625) when it's trying to try to connect to a remote Linux (git commit 5a6592d) where the simulator runs.

local Mac system info:

  • macOS 10.15.7
  • 8-Core Intel Core i9

remote Linux system info:

  • Ubuntu 20.04.1 LTS (Focal Fossa)
  • Intel(R) Core(TM) i9-10920X CPU @ 3.50GHz

I also tested a different setting: raisimUnityOpenGL on a local Linux machine (git commit 3357221 Nov 5 2020) and the simulator on a remote Linux machine (same one in the previous setting and git commit 5a6592d). It failed with a resource loading error. Should local resources have the exact same absolute path as the ones on the remote machine?

image

local Linux system info:

  • Ubuntu 18.04.5 LTS (Bionic Beaver)
  • Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz

In addition, I tried to update the library on the local linux machine to commit 1d83388 (Jan 15 2021). Same remote linux machine and setting. The error msg of raisimUnityOpenGL changed to:

image

from raisimlib.

jhwangbo avatar jhwangbo commented on August 18, 2024

Can you just update both systems to the latest one? RaiSimUnity is constantly improving and there is no guarantee that two different versions use the same communication protocol.

"Cannot find the meshes.." error is a good sign. This means that you are connected and the two protocols (most likely) match. But you have to have meshes locally to visualize the simulation. On the very bottom, you can add resource directories that contain the mesh files (or its upper directory).

This is how we find the mesh file. https://github.com/raisimTech/raisimUnity/blob/ddc42b8de840c18cd994a7dc64034b161b33e1b9/Assets/Scripts/ResourceLoader.cs#L75

I'll close this issue. I guess I have to keep a better versioning system now in order to avoid such confusion.

from raisimlib.

MarkFzp avatar MarkFzp commented on August 18, 2024

image

I updated raisimLib to the latest version on both my local mac and remote Ubuntu server. RaisimUnity in both machines work perfectly when it pairs with a raisim simulator on the same machine. However, when I do ssh port forwarding of raisim simulator's visualization from remote ubuntu server to my local mac machine, I got this error message. The specs of both machines are listed in the previous posts.

from raisimlib.

jhwangbo avatar jhwangbo commented on August 18, 2024

Can you pull and try again? I tested it on my mac machine and a remote linux machine. I am closing this for now

from raisimlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.