Forums
New posts
Search forums
Wiki
Pages
Latest activity
What's new
New posts
New media
New media comments
New profile posts
Latest activity
Media
New media
New comments
Search media
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up
DJI Tello Forum
Tello Development
Unity Controller for Tello 3.0 - Quest Control w/ Passthrough
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="VR_Dev" data-source="post: 15471" data-attributes="member: 2565"><p>So I completely reworked this project from the ground up. I optimized and simplified everything, added tracking from takeoff, re-added rift support, and completely reworked the autopilot system. Instead of giving the tello a target point to fly to, the tello's only job is to try and match the a target tello's position(Blue quad in the video). It's my theory that this will be easier for the PIDs to handle because there is a smaller range of inputs to deal with.</p><p></p><p>With the tello flying itself you are free to move the target with either the gizmos, my fly-to-target system, or via a custom script. The simulator has also been updated so you can test complex autopilot features without destroying your tello or waking the neighbors.</p><p></p><p>I have spent little time tuning the autopilot PIDs, so there is a lot of room for improvement there. The autopilot loads a PID profile which can be found in the hierarchy. You can update those values or create your own PIDProfile component. You can also swap PID profiles in flight for different situations. The tellos performance in the simulator will not match the real thing, so don't use the simulator to tune the pids.</p><p></p><p>What you see in the video is the same project in the github repo. 'T' and 'L' to takeoff and land, 'P' to toggle autopilot on and off. (Any input to the flight controls will also deactivate the autopilot). With the autopilot active you can either drag transforms into the target position of the autopilot, or assign them via script. Autopilot will also automatically deactivate when tracking is lost. <span style="color: rgb(226, 80, 65)">YOU MUST BE FOCUSED ON A GAME WINDOW FOR INPUT TO WORK</span></p><p></p><p>[MEDIA=youtube]gJgO6sXA2vQ[/MEDIA]</p></blockquote><p></p>
[QUOTE="VR_Dev, post: 15471, member: 2565"] So I completely reworked this project from the ground up. I optimized and simplified everything, added tracking from takeoff, re-added rift support, and completely reworked the autopilot system. Instead of giving the tello a target point to fly to, the tello's only job is to try and match the a target tello's position(Blue quad in the video). It's my theory that this will be easier for the PIDs to handle because there is a smaller range of inputs to deal with. With the tello flying itself you are free to move the target with either the gizmos, my fly-to-target system, or via a custom script. The simulator has also been updated so you can test complex autopilot features without destroying your tello or waking the neighbors. I have spent little time tuning the autopilot PIDs, so there is a lot of room for improvement there. The autopilot loads a PID profile which can be found in the hierarchy. You can update those values or create your own PIDProfile component. You can also swap PID profiles in flight for different situations. The tellos performance in the simulator will not match the real thing, so don't use the simulator to tune the pids. What you see in the video is the same project in the github repo. 'T' and 'L' to takeoff and land, 'P' to toggle autopilot on and off. (Any input to the flight controls will also deactivate the autopilot). With the autopilot active you can either drag transforms into the target position of the autopilot, or assign them via script. Autopilot will also automatically deactivate when tracking is lost. [COLOR=rgb(226, 80, 65)]YOU MUST BE FOCUSED ON A GAME WINDOW FOR INPUT TO WORK[/COLOR] [MEDIA=youtube]gJgO6sXA2vQ[/MEDIA] [/QUOTE]
Verification
Post reply
DJI Tello Forum
Tello Development
Unity Controller for Tello 3.0 - Quest Control w/ Passthrough