u/Tahazarif90

▲ 3 r/drones

Is there a realistic DJI Tello simulator for Python control?

Hey guys, quick question. I’m pretty new to drones and coding with the Tello, so I might be missing something obvious.

Is there a simulator where I can send Python commands (like with the Tello SDK) and actually see the drone move with somewhat realistic physics? I’m especially interested in something closer to racing / flying through gates, not just a super basic visual mockup.

I don’t have much experience in this space yet, just looking for a solid sandbox to experiment and learn without crashing a real drone every five minutes 😅

Any suggestions would really help.

reddit.com
u/Tahazarif90 — 3 days ago

Looking for a base Python script to center/hover a Tello drone in front of a target

Hey everyone,

I’m working on a project with the Ryze Tello using djitellopy. I’ve already got the computer vision part sorted out—using OpenCV to detect a red gate and get its center coordinates.

Now I’m trying to get the drone to actually react to that data, adjust its position (up/down, left/right), and hover stably right in the center of the gate. I wrote a quick, basic script for it, but it’s pretty jerky and keeps overshooting because of the command latency.

I’m trying not to reinvent the wheel here. Does anyone have a clean base script or a simple PID control loop example that works well with Tello’s response times? Just looking for a solid baseline that I can adapt and tweak for my setup.

Any repos, snippets, or tips on how to smooth out the movement would be a huge help. Thanks!

reddit.com
u/Tahazarif90 — 4 days ago

Best algorithm/approach to handle latency in a vision-based control loop (Tello drone)?

Hey guys,

I’m working on a vision-based positioning loop using a Ryze Tello drone. I’ve got the OpenCV pipeline sorted out—it tracks a red gate on a host machine and outputs the center coordinates just fine.

The bottleneck right now is closing the feedback loop. I’m trying to calculate the error offset and send actuation commands (yaw, throttle, roll via djitellopy) to get the drone to center itself and hover. However, because of the Wi-Fi and command latency, my basic threshold logic is pretty much a mess—the drone keeps overshooting and oscillating back and forth.

I’m looking for the best algorithmic approach to mitigate this transport delay. Should I look into a heavily tuned PID (maybe capping the error?), a predictor/estimator to guess the drone's actual state, or just a simple state machine that waits for the drone to settle down after each command?

I'd love to hear your thoughts on the best methodology or architecture for this. Also, if you happen to have a clean Python base script or a snippet where you've successfully tackled this specific Tello lag before, I’d really appreciate it.

Thanks!

reddit.com
u/Tahazarif90 — 4 days ago

is there genuinely any reason left to start a new embedded project in pure C?

i know this is like the oldest debate ever, but with modern c++ being so efficient now, i'm really struggling to justify starting any new embedded project in pure c.

as long as you turn off exceptions and rtti, the overhead is basically zero. you get way better abstractions, actual type safety, and constexpr stuff that honestly saves so much boilerplate.

yet so many older devs and legacy companies still treat c++ like it's some resource monster that only belongs on desktops. feels like people are still stuck in the 90s mindset with it.

change my mind or tell me why you're still sticking to

c. what's your take?

reddit.com
u/Tahazarif90 — 6 days ago
▲ 5 r/VPN

Which iOS VPN client officially supports the DNSTT (DNS Tunneling) protocol?

Hi everyone,

I'm looking for an iOS app (V2Ray/Xray based or stand-alone) that supports DNSTT for DNS tunneling.

Most popular apps like Streisand or V2Box don't seem to have a dedicated DNSTT transport option in their manual settings. Given the severe internet restrictions in my region (Iran), I need an app that can handle the Domain + Public Key configuration for DNSTT.

Does anyone know of a verified app on the App Store that supports this?

Thanks in advance!

reddit.com
u/Tahazarif90 — 7 days ago
▲ 19 r/dumbclub+1 crossposts

Best ways to access international internet in Iran right now? (May 2026)

Hi everyone, I'm currently in Iran and the internet restrictions have become extremely tight. Most standard VPNs are blocked. I'm looking for reliable methods, protocols (like VLESS/Reality), or any bridge/provider that is currently working. Any help or DM regarding stable configurations would be appreciated.

reddit.com
u/Tahazarif90 — 8 days ago