Setting up simulation for the TauLabs GCS on OSX

Kenn Sebesta edited this page Dec 20, 2015 · 6 revisions
Clone this wiki locally

Note: I did this on Mavericks but it should work on other versions of OSX.

I recently went through an install of Tau Labs simulation software that works with GCS. This app helps you fake telemetry and potentially fake flying with a UDP wrapper to GCS.

On to the setup steps:

  1. First get yourself a copy of Tau labs source code
  • git clone git@github.com:TauLabs/TauLabs.git
  • cd TauLabs
  1. Next is to install the gcc48 compiler
  2. First make sure you have xcode installed on your machine. This may take a while. You'll have to look for it in the appstore.
  3. For gcc48 you need to have brew (many posts about installing brew)
  4. Type this in the cmd line: brew tap homebrew/versions
  • brew install gcc48
  1. Next you need to have qmake installed
  • run: make qt_sdk_install
  1. When it asks you for a location give it : /absolute/path/to/TauLabs/tools/Qt5.2.1
  2. Then follow the instructions. You want to check that you have Qt5.2.1 inside tools and that folder is populated with other directories and files (5.2.1 is one of them)
  3. Make the simulator :)
  4. type this from inside TauLabs on cmd line:
  • make sim_posix_revolution_clean && make sim_posix_revolution
  1. let it run if all goes well it should finish after a few minutes
  2. Run the simulator
  3. Type: ./build/sim_posix/sim_posix.elf

Next you need to launch the TauLabs GCS

  1. Get it TauLabs GCS
  2. Go into preferences and choose IP Network Telmetry Settings
  3. Put the hostname as localhost
  4. Port 9000
  5. TCP Connection
  6. On the lower right side where it says connections, disconnect any existing connections, select TCP:localhost and connect.
  7. You should see RX light up and then under the lower tabs present you should see movement under Scopes.

Have fun and let us know how we can help. For further details on how you can get the simulator to do something useful, see Simulation-setup.