Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Setting up simulation for the TauLabs GCS on OSX
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:
- First get yourself a copy of Tau labs source code
git clone firstname.lastname@example.org:TauLabs/TauLabs.git
- Next is to install the gcc48 compiler
- 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.
- For gcc48 you need to have brew (many posts about installing brew)
- Type this in the cmd line:
brew tap homebrew/versions
brew install gcc48
- Next you need to have qmake installed
run: make qt_sdk_install
- When it asks you for a location give it : /absolute/path/to/TauLabs/tools/Qt5.2.1
- 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)
- Make the simulator :)
- type this from inside TauLabs on cmd line:
make sim_posix_revolution_clean && make sim_posix_revolution
- let it run if all goes well it should finish after a few minutes
- Run the simulator
Next you need to launch the TauLabs GCS
- Get it TauLabs GCS
- Go into preferences and choose IP Network Telmetry Settings
- Put the hostname as localhost
- Port 9000
- TCP Connection
- On the lower right side where it says connections, disconnect any existing connections, select TCP:localhost and connect.
- 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.