Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
/ AutonSimulator Public archive

Houses 3D simulator to test integration of Auton stack

Notifications You must be signed in to change notification settings

umrover/AutonSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutonSimulator

Houses 3D simulator to test integration of Auton stack

Mac Set Up (Sep 25, 2021)

  1. Install XCode (~30 GB) from the AppStore because XCode is used to compile C++ codes in Unreal Engine.
  2. Go to https://www.epicgames.com/store/en-US/download and install Epic Games Launcher (~700 MB)
  3. Open Epic Games Launcher
  4. On the sidebar, click Unreal Engine. Then, click the Library section on the top menu bar. In the Library section, click the add button next to ENGINE VERSIONS. Install 4.26.0 or newer version of UnrealEngine (~30 GB). This version might be at the end of the selection box.
  5. While you are waiting for unreal engine to install, open terminal and locate a folder where you want to store the mrover files. (E.g. cd Documents)
  6. Clone the Simulator Files: git clone https://github.com/umrover/AutonSimulator.git
  7. After you have set up the AutonSimulator folder, type: cd AutonSimulator
  8. Type: git remote -v
  9. Specify a new remote upstream repository that will be synced with the fork: git remote add upstream https://github.com/umrover/AutonSimulator.git
  10. Verify the new upstream repository you've specified for your fork: git remote -v (you shold see two upstream links)
  11. Fetch the branches and their respective commits from the upstream repository: git fetch upstream
  12. Check out your fork's local default branch - in this case, we use main: git checkout main
  13. Merge the changes from the upstream default branch - in this case, upstream/main - into your local default branch: git merge upstream/main
  14. Now go back to Epic Games Launcher and launch unreal engine 4.26.0
  15. Click more at the bottom of the window. Find and open the MroverSim.uproject file.
  16. If a window saying the project is built with another version of unreal engine, click more options and skip conversion
  17. Now you should be able to see the game but without the rover
  18. Go to https://drive.google.com/file/d/1mwYig0TFc-aNQFcowvJtupE5AZcrNtk-/view?usp=sharing
  19. Download Complete_Rover.uasset
  20. Open finder and move that file to AutonSimulator/Content/Vehicle/Rover
  21. Click Compile in Unreal Engine
  22. Click play in Unreal Engine. Click on the gameplay window once to engage keyboard recognition. Use wasd to move the rover.
  1. Install Visual Studio
  2. Refer to Mac Set Up from step 2 to the end.
  3. Make sure you install .NET Framework SDK 4.6 or above in the Visual Studio Installer

Github troubleshooting

Controls

  • WASD or arrow keys or external controllers = move the rover
  • C = switch cameras
  • F = activate goForward function
  • R = activate goRight function

Building LCM

Only need to do this once per system. Navigate to the lcm submodule and follow the build instructions therein before continuing.

Unless the build failed you should be mostly setup. If you find yourself facing issues with the lcm library not being found like I did then try this fix

$ sudo cp /usr/local/lib/liblcm.so.1 /usr/lib

If you are still experiencing issues then when you find a solution please document them here.

About

Houses 3D simulator to test integration of Auton stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published