Search Unity

Robotic Rehabilitation with Unity performance help

Discussion in 'Editor & General Support' started by matthewbriggs, Jun 27, 2018.

  1. matthewbriggs

    matthewbriggs

    Joined:
    Nov 4, 2017
    Posts:
    8
    Hello,

    I am currently in charge of a team developing games for a rehabilitation robot, to rehabilitate children with cerebral palsy and people who have had strokes.

    I am seeking help with some performance issues we have been getting.
    The framerate for the games should be smooth (no drops or spikes) at least above 30 FPS. As the users will be playing these games for more than 3 hours a day for there rehabilitation with the robot.

    We have tried playing around with the terrain settings for a day or so when out more improvements. We believe the culprit to the lack for reliable frame rate it our trees we are using. Free from the asset store(Realistic Tree 9 [Rainbow Tree]).

    The game is running on LENOVO Ideapad IP320s-14IKB 14" (81BN000GUK). We thought this laptop should be more than capable of running the games we have developed along with the controller software.
    The controller software doesn't affect the Laptops performance as its run on a external MyRio from the Laptop.

    Any help would be greatly appreciated.
    Having the camera over the trees (Note this is on one of the computers made for development not the computer to run it):
    https://imgur.com/pYiN5uZ
    Thanks,

    Matthew.
     

    Attached Files:

  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    What is the issue, did you have a specific question? The screenshot shows 43 FPS. Have you confirmed that the trees are causing any issues? (copy the project, remove the trees, test, etc)
     
    CloudyVR and matthewbriggs like this.
  3. matthewbriggs

    matthewbriggs

    Joined:
    Nov 4, 2017
    Posts:
    8
    Hello sorry for the wait,

    Yes we believe it is the trees. That's the FPS on themachines to develop the game. On the robots device it runs around 15FPS!
    Is this normal for the specs of the specs of the laptop I have linked? From using the profiler I know that the performance is affected by the trees. The graphics load dropped by two thirds when disativating the trees.

    Do you know of any alight looking low ploy trees?

    I like the look of these but what's your opinion:
    1. https://assetstore.unity.com/packages/3d/vegetation/trees/low-poly-trees-vol-2-onifers-57756
    2. https://assetstore.unity.com/packages/3d/vegetation/trees/low-poly-tree-8568
    3. https://assetstore.unity.com/packages/3d/vegetation/trees/italian-cypress-low-poly-tree-pack-18571
    4. https://assetstore.unity.com/packages/3d/vegetation/trees/stylized-trees-42714
    5. https://assetstore.unity.com/packages/3d/vegetation/trees/stylized-trees-conifers-111807

    Thanks I have linked the mesh of the trees I am using,

    Matthew
     

    Attached Files:

    Last edited: Jun 28, 2018
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Did you confirm (by actual device testing) that it is due to the trees (by removing them?) What OS is it using? The myRio device looks to run at 667 MHz, less than 1/2 of most mobile devices, you should run a test with the most simple Unity app. How are you deploying to the device?
     
    Last edited: Jun 28, 2018
    matthewbriggs likes this.
  5. matthewbriggs

    matthewbriggs

    Joined:
    Nov 4, 2017
    Posts:
    8
    Hello,

    Thanks for getting back to me!

    The MyRio only runs the code for the for the robotic arm, its connected to the Laptop via USB, and communicates using TCP/UDP. We have developed a plugin to allow LabVIEW(The code used on the MyRio) to communication with Unity, therefore been able to move the robotic arm for assistance when playing the games.

    Sorry for the confusion but the game is in fact run from the Laptop! (LENOVO Ideapad IP320s-14IKB 14" (81BN000GUK)).
    Specs:
    Windows 10
    Intel® Core i7-8550U Processor
    RAM: 8 GB
    Storage: 256 GB SSD

    We have done a few tests and when removing the trees from been drawn we do get around 42 FPS without and spikes or sudden drops. (smooth).

    Thanks let me know if you need any other information,

    Matthew
     
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sounds like you found the issue, it will be up to you to decide. I would suggest that you contact the asset developer directly.
     
    matthewbriggs likes this.
  7. matthewbriggs

    matthewbriggs

    Joined:
    Nov 4, 2017
    Posts:
    8
    Okay thanks! :)