Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

How do I get the same robot move across two different player screens?

Discussion in 'Robotics' started by cnotzon98, May 6, 2022.

  1. cnotzon98


    Oct 5, 2019
    I'm trying to configure a LAN based game with ROS TCP Connector

    So in theory, say we have two players running the same game on two different screens. When both of them launch the game, I would like the robot to move simultaneously, like at the exact same time, on both of those screens.

    I can't seem to get it to work because it spawns two instances of that robot, so the same robot isn't moving at the same time now.

    Is there a way to get this to work, I've tried looking at ROSConnection.cs but don't know what code to change to make this happen

    Edit: By the way, I'm using Unity 2020.3.33f1, SPOT Robot by SpotServeSAG with custom controller scripts, and ROS TCP Connector