Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Running simulations with other software

Discussion in 'Unity Simulation' started by Hermonirr, Nov 11, 2019.

  1. Hermonirr

    Hermonirr

    Joined:
    Dec 23, 2013
    Posts:
    54
    Hi,

    Our simulation needs other services to run - mavros, rosbridge, arducopter, sim_vehicle to name a few, plus our proprietary software. The simulation is in constant communication with them.

    Is it possible to run this kind of simulation on the Cloud Simulation service? Having the specific software needed installed and updated when necessary?

    Thanks
     
  2. mpinol

    mpinol

    Unity Technologies

    Joined:
    Jul 29, 2015
    Posts:
    319
    Hey Hermonirr,
    We are working on supporting external processes with a simulation for a few of our Beta customers. We would love to gather your requirements and have you test this functionality!
    Can you reach out to us via email and we can take it from there simulation-help@unity3d.com
     
  3. flawless_code

    flawless_code

    Joined:
    Feb 5, 2020
    Posts:
    28
    Native ROS implementation (roscpp) would be enormous benefit to robotics ROS community :).
     
    danny-lange and JeffDUnity3D like this.
  4. Hermonirr

    Hermonirr

    Joined:
    Dec 23, 2013
    Posts:
    54
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,854
    We are looking into ROS support longer term, no firm plans or ETA quite yet.
     
  6. flawless_code

    flawless_code

    Joined:
    Feb 5, 2020
    Posts:
    28
  7. flawless_code

    flawless_code

    Joined:
    Feb 5, 2020
    Posts:
    28
    Understandable, it's quite a undertaking and I know Unity isn't intended for robotics originally.
     
    Last edited: May 29, 2020
  8. overthrowrobotics

    overthrowrobotics

    Joined:
    Jun 19, 2015
    Posts:
    47
    I'm just getting started with using LG Simulator. Previously I used Unity as a front end visualization for a boxing robot I built. The embedded hardware was all running on Raspberry Pi (Python) and I needed a way to communicate with Unity and used websockets to send sensor data (encoder positions, IMU, pressure sensor matrix) from the RPIs to Unity and to send motor and LED commands from Unity back to the RPIs. Tried MQTT and couldn't find a .NET library that worked well.
    For websocket I just made up a simple protocol like E,1,512; for Encoder, motor 1, position = 512.
    For anyone interested here's a short video fast forwarded to the Unity display part. There was no perceptible lag between when the motors would move and when it would animate the model in Unity.
     
  9. flawless_code

    flawless_code

    Joined:
    Feb 5, 2020
    Posts:
    28
    Wow like the eyes dude, lovely :D
     
    overthrowrobotics likes this.
unityunity