{"id":21195037,"url":"https://github.com/plusk01/rosflight_unity","last_synced_at":"2026-05-11T07:46:11.082Z","repository":{"id":82488781,"uuid":"181226483","full_name":"plusk01/rosflight_unity","owner":"plusk01","description":"ROSflight software-in-the-loop simulation using Unity","archived":false,"fork":false,"pushed_at":"2020-03-15T15:47:20.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-14T21:36:50.639Z","etag":null,"topics":["ros","rosflight","simulation","unity"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plusk01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-13T20:41:37.000Z","updated_at":"2024-10-06T20:46:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"76b2de9d-6df3-4021-b1dd-475fca78abbe","html_url":"https://github.com/plusk01/rosflight_unity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/plusk01/rosflight_unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plusk01%2Frosflight_unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plusk01%2Frosflight_unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plusk01%2Frosflight_unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plusk01%2Frosflight_unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plusk01","download_url":"https://codeload.github.com/plusk01/rosflight_unity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plusk01%2Frosflight_unity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263607081,"owners_count":23487738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ros","rosflight","simulation","unity"],"created_at":"2024-11-20T19:25:46.755Z","updated_at":"2026-05-11T07:46:06.039Z","avatar_url":"https://github.com/plusk01.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"ROSflight Unity SIL Simulation\n==============================\n\nInfrastructure for running a ROSflight software-in-the-loop (SIL) simulation with Unity (see [rosflight_unity_simulator](https://github.com/plusk01/rosflight_unity_simulator)).\n\n## Getting Started\n\n#### ROS Setup\n\n1. Clone this repo into your `catkin_ws`.\n2. Clone [rosflight](https://github.com/rosflight/rosflight) into your `catkin_ws` and `git submodule update --init --recursive`.\n3. `catkin build` or `catkin_make`\n\n#### Unity Setup\n\n1. Install [Unity 2018.2.7f1](https://forum.unity.com/threads/unity-on-linux-release-notes-and-known-issues.350256/page-2#post-3662605) (on Ubuntu).\n2. Clone [rosflight_unity_simulator](https://github.com/plusk01/rosflight_unity_simulator) into your favourite location.\n\n#### Flying Manually\n\n0. Clone [`rosflight_joy`](https://github.com/rosflight/rosflight_joy) into your `catkin_ws` and build.\n1. After sourcing your `catkin_ws`, run `rosrun rosflight_unity rosflight_unity` to start the ROSflight Unity SIL.\n2. Press the 'play' button in the `rosflight_unity_simulator` Unity project.\n3. Run `rosrun rosflight rosflight_io _udp:=true`\n4. Plug in your compatible (e.g., Taranis) RC transmitter.\n5. Run `rosrun rosflight_joy rc_joy RC:=/rosflight_unity/rc_in`\n6. Set the [mixer to 2](http://docs.rosflight.org/en/latest/user-guide/hardware-setup/#motor-layouts): `rosservice call /param_set MIXER 2`\n7. Write the autopilot parameters to memory: `rosservice call /param_write` (params will be written to file, in whatever directory you started the `rosflight_unity` node)\n8. Calibrate the IMU: `rosservice call /calibrate_imu`\n9. Throttle stick down and to the right to arm (down and to the left to disarm).\n10. Fly!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplusk01%2Frosflight_unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplusk01%2Frosflight_unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplusk01%2Frosflight_unity/lists"}