r/drones • u/Panda2231q • 11h ago
r/drones • u/AutoModerator • 5d ago
[Megathread] [Megathread] | Weekly Drone Buying Advice
Welcome to the r/drones weekly Buying Advice Megathread. (Weekly on Monday's)
This thread exists to prevent the constant "What drone should I buy?" posts that we prohibit within our rules.
Please follow all of these steps before posting in this thread!
- Review the Buying Guide Wiki or my website: Drone Buying Guide / Wiki Buying Guide
- Review this thread for comments that have your same requirements
If that does not answer you, please post the following information in this thread.
- Have you read the Wiki? Y/N
- Country: (Not all drones are available in all countries)
- Budget: (If your budget is less than $200 USD/170€ EUR, you may want to reconsider as anything lower is a toy drone)
- Purpose: (eg. photography, FPV, thermal, etc)
- Any other requirements:
r/drones • u/Brilliant_Ground7787 • 34m ago
Photo & Video Aerial of Lapland
Some flying on chill day in the north
r/drones • u/LighthouseHunter • 14h ago
Photo & Video Portland Head Lighthouse at sunset with ocean waves sounds
r/drones • u/Genesiis75 • 4h ago
Tech Support Looking for the instruction manual for the DJI Mavic Pro Building Block Set
Hi everyone,
I recently got the official DJI Mavic Pro Special Block Set, but unfortunately it didn't come with the instruction booklet, and DJI doesn't host a PDF online.
Tagging u/mark3t since I saw you posted yours here a while ago! If you or anyone else still has the paper manual and could share a few photos of the pages, please feel free to reply here or send me a DM. It would be a massive help. Thank you! ☺️🙏🏻 Merciiii
r/drones • u/Physical_Regular1636 • 5h ago
Discussion Convenient repairs are so important to owning a drone honestly
DJI is usually the first brand that comes to mind when picking a drone. Why wouldn't it be? But getting the thing fixed has been nothing but frustrating. It takes forever to ship it, and the fees and import taxes along cost a ton.Now I'm checking out the 360 drone options and this is really a sticking point for me. I've been following what people in the US are saying about getting their Avata repaired, and it seems that availability may be affected by policy and regional restrictions. Not good. Looking at the A1, it seems like Antigravity has official repair service channels in the US, but I haven't seen too many actual stories about people going through the process. Anyone have any experience with this? How would you weigh these two?
News Featherweight, flying robot carries its own sensors and computers. Speedy microrobot moves closer to applications like agriculture or industrial surveillance.
r/drones • u/Catamituz • 14h ago
Photo & Video Javascript code for PX4 Drone Programming (Ignore the C++ title i need to change it) ⬇️
PX4 Basic Flight Controller - Extended Version
----------------------------------------------
Features:
- Connection handling with timeouts
- Health & GPS checks
- Battery monitoring
- Takeoff / Land / RTL
- Position control (NED)
- Velocity control
- Simple waypoint sequence
- Live telemetry printing
- Logging to file
- Graceful shutdown on Ctrl+C
- Safety limits
Requirements:
pip install mavsdk
import asyncio
import signal
import sys
import time
from datetime import datetime
from mavsdk import System
from mavsdk.offboard import (PositionNedYaw, VelocityNedYaw, OffboardError)
from mavsdk.action import ActionError
from mavsdk.telemetry import FlightMode, LandedState
============================================================
CONFIGURATION
============================================================
Connection string examples:
SITL default: "udp://:14540"
Serial (Linux): "serial:///dev/ttyACM0:115200"
Serial (Windows): "serial://COM3:115200"
UDP from companion: "udp://:14540"
CONNECTION_STRING = "udp://:14540"
TAKEOFF_ALTITUDE = 5.0 # meters
DEFAULT_SPEED = 2.0 # m/s for velocity commands
POSITION_TIMEOUT = 20.0 # seconds to reach a position
HOVER_TIME = 4.0 # seconds
Safety
MIN_BATTERY_PERCENT = 25.0
MAX_ALTITUDE = 30.0
============================================================
GLOBALS
============================================================
drone = None
running = True
log_file = None
============================================================
LOGGING
============================================================
def log(msg: str):
timestamp = datetime.now().strftime("%H:%M:%S")
full = f"[{timestamp}] {msg}"
print(full)
if log_file:
log_file.write(full + "\n")
log_file.flush()
============================================================
TELEMETRY HELPERS
============================================================
async def print_status():
"""Print important telemetry once."""
async for pos in drone.telemetry.position():
log(f"Position → Lat: {pos.latitude_deg:.6f}, Lon: {pos.longitude_deg:.6f}, "
f"AbsAlt: {pos.absolute_altitude_m:.1f} m, RelAlt: {pos.relative_altitude_m:.1f} m")
break
async for batt in drone.telemetry.battery():
log(f"Battery → {batt.remaining_percent*100:.0f}% ({batt.voltage_v:.1f} V)")
break
async for mode in drone.telemetry.flight_mode():
log(f"Mode → {mode}")
break
async for landed in drone.telemetry.landed_state():
log(f"Landed → {landed}")
break
async def battery_ok() -> bool:
async for batt in drone.telemetry.battery():
percent = batt.remaining_percent * 100
if percent < MIN_BATTERY_PERCENT:
log(f"WARNING: Battery low ({percent:.0f}%)")
return False
return True
async def wait_for_position_estimate(timeout=60.0):
log("Waiting for global position estimate...")
start = time.time()
async for health in drone.telemetry.health():
if health.is_global_position_ok and health.is_home_position_ok:
log("Global position estimate OK")
return True
if time.time() - start > timeout:
log("Timeout waiting for position estimate")
return False
============================================================
BASIC ACTIONS
============================================================
async def arm():
log("Arming...")
try:
await drone.action.arm()
log("Armed successfully")
return True
except ActionError as e:
log(f"Arming failed: {e}")
return False
async def disarm():
log("Disarming...")
try:
await drone.action.disarm()
log("Disarmed")
except ActionError as e:
log(f"Disarm failed: {e}")
async def takeoff(altitude=TAKEOFF_ALTITUDE):
log(f"Taking off to {altitude} m...")
try:
await drone.action.set_takeoff_altitude(altitude)
await drone.action.takeoff()
await asyncio.sleep(6) # give it time to climb
log("Takeoff command sent")
return True
except ActionError as e:
log(f"Takeoff failed: {e}")
return False
async def land():
log("Landing...")
try:
await drone.action.land()
# Wait until landed
async for state in drone.telemetry.landed_state():
if state == LandedState.ON_GROUND:
log("Landed")
break
return True
except ActionError as e:
log(f"Land failed: {e}")
return False
async def return_to_launch():
log("Returning to launch (RTL)...")
try:
await drone.action.return_to_launch()
return True
except ActionError as e:
log(f"RTL failed: {e}")
return False
============================================================
OFFBOARD CONTROL
============================================================
async def start_offboard():
"""Must send a setpoint before starting offboard."""
log("Starting Offboard mode...")
# Send initial setpoint (hover at current relative altitude target)
await drone.offboard.set_position_ned(PositionNedYaw(0.0, 0.0, -TAKEOFF_ALTITUDE, 0.0))
try:
await drone.offboard.start()
log("Offboard started")
return True
except OffboardError as e:
log(f"Failed to start Offboard: {e}")
return False
async def stop_offboard():
log("Stopping Offboard mode...")
try:
await drone.offboard.stop()
log("Offboard stopped")
except OffboardError as e:
log(f"Failed to stop Offboard: {e}")
async def goto_position_ned(north: float, east: float, down: float, yaw_deg: float = 0.0,
timeout: float = POSITION_TIMEOUT):
"""
Go to a position in NED coordinates relative to home.
down is negative for altitude above home.
"""
log(f"Going to NED → N:{north:.1f} E:{east:.1f} D:{down:.1f} Yaw:{yaw_deg:.0f}°")
await drone.offboard.set_position_ned(PositionNedYaw(north, east, down, yaw_deg))
start = time.time()
async for pos in drone.telemetry.position_velocity_ned():
# Very rough check – in real use you would compute distance properly
await asyncio.sleep(0.5)
if time.time() - start > timeout:
log("Position timeout reached")
break
async def hold_position(seconds: float):
log(f"Holding position for {seconds:.1f} s")
await asyncio.sleep(seconds)
async def move_velocity_ned(vel_n: float, vel_e: float, vel_d: float, yaw_rate: float = 0.0,
duration: float = 3.0):
"""Move using velocity setpoints for a given duration."""
log(f"Velocity command → VN:{vel_n:.1f} VE:{vel_e:.1f} VD:{vel_d:.1f} for {duration:.1f}s")
await drone.offboard.set_velocity_ned(VelocityNedYaw(vel_n, vel_e, vel_d, yaw_rate))
await asyncio.sleep(duration)
# Stop
await drone.offboard.set_velocity_ned(VelocityNedYaw(0.0, 0.0, 0.0, 0.0))
============================================================
FLIGHT SEQUENCES
============================================================
async def sequence_simple_square():
"""Fly a simple square at constant altitude."""
alt = -TAKEOFF_ALTITUDE # NED down component
log("=== Starting Square Sequence ===")
# North
await goto_position_ned(6.0, 0.0, alt, 0.0)
await hold_position(HOVER_TIME)
# East
await goto_position_ned(6.0, 6.0, alt, 90.0)
await hold_position(HOVER_TIME)
# South
await goto_position_ned(0.0, 6.0, alt, 180.0)
await hold_position(HOVER_TIME)
# West (back to start)
await goto_position_ned(0.0, 0.0, alt, 270.0)
await hold_position(HOVER_TIME)
# Face North again
await goto_position_ned(0.0, 0.0, alt, 0.0)
await hold_position(2.0)
log("=== Square Sequence Finished ===")
async def sequence_velocity_test():
"""Simple velocity-based movements."""
log("=== Velocity Movement Test ===")
await move_velocity_ned(1.5, 0.0, 0.0, duration=4.0) # North
await hold_position(2.0)
await move_velocity_ned(0.0, 1.5, 0.0, duration=4.0) # East
await hold_position(2.0)
await move_velocity_ned(-1.5, 0.0, 0.0, duration=4.0) # South
await hold_position(2.0)
await move_velocity_ned(0.0, -1.5, 0.0, duration=4.0) # West
await hold_position(2.0)
log("=== Velocity Test Finished ===")
============================================================
MAIN FLIGHT LOGIC
============================================================
async def main_flight():
global drone
log("Connecting to drone...")
drone = System()
await drone.connect(system_address=CONNECTION_STRING)
# Wait for connection
log("Waiting for connection...")
async for state in drone.core.connection_state():
if state.is_connected:
log("Drone connected!")
break
# Health checks
if not await wait_for_position_estimate():
log("Aborting – no position estimate")
return
await print_status()
if not await battery_ok():
log("Aborting – battery too low")
return
# ---------- Flight Start ----------
if not await arm():
return
await asyncio.sleep(1)
if not await takeoff(TAKEOFF_ALTITUDE):
await disarm()
return
# Give it extra time to stabilize after takeoff
await asyncio.sleep(3)
await print_status()
# Start Offboard
if not await start_offboard():
await land()
return
try:
# ----- Choose what you want to fly -----
await sequence_simple_square()
# await sequence_velocity_test()
except Exception as e:
log(f"Error during flight sequence: {e}")
finally:
await stop_offboard()
# Land
await land()
await asyncio.sleep(2)
await disarm()
log("Mission complete.")
============================================================
ENTRY POINT + CLEAN SHUTDOWN
============================================================
def signal_handler(sig, frame):
global running
print("\nCtrl+C detected – shutting down...")
running = False
async def run():
global log_file
# Open log file
filename = f"px4_flight_{datetime.now().strftime('%Y%m%d_%H%M%S')}.log"
log_file = open(filename, "w")
log(f"Log started – saving to {filename}")
try:
await main_flight()
except Exception as e:
log(f"Unhandled exception: {e}")
finally:
if log_file:
log_file.close()
print(f"Log saved.")
if name == "main":
signal.signal(signal.SIGINT, signal_handler)
try:
asyncio.run(run())
except KeyboardInterrupt:
print("Exited by user")
r/drones • u/lancesoftware • 14h ago
Discussion Should I feel bad about calling off a search of my drone that recently transformed into a submarine?
DJI mini 2, I was trying to get this beautiful shot over a pond of light streaks, and then I realized my lateral movement was going to carry me into branches, so I started pulling out but by then branches had encompassed my entire screen and the drone immediately began fighting for its life. It put up quite a fight, but physics prevailed and from the last frame I can assume it’s now titanic’d.
I did walk over to its last reported location but the GPS service there isn’t too great, so while it knows the exact coordinates, my phone keeps having GPS drift and can’t pinpoint it when I’m there. I also had to walk through like 2 different people’s properties (although they were not fenced), and the pond gets pretty deep and is murky as fuck.
I really care most about the micro SD card, but most of the stuff is backed up anyways, just not today’s shoot. I’ve debated buying pond wades or whatever the hell those boots are called and walking over but honestly I just think this might be meant to be. This drone has been through a lot, and has a thick glob of JB weld to fix one of the arms, a repair the thing actually handled pretty well. I also replaced the gimbal/camera set on my own, though for some reason it was a bit crooked despite my calibration lol. So.. I really don’t know if it’s even worth it at this point. But I feel bad, this drone was such a trooper.
Thoughts?
Question Looking for drone footage filmed from a static position
Hey! I'm making a website with soothing images, and for that I'm looking for nicely looping videos of beautiful views. One problem: I want the video's to be looping, and because of the goal of the app, it's not nice when the perspective changes during the shot.
Now there's lot's of amazing drone footage on pexels, with views of mountains, forests, cities, whatever. It's just that the drone always moves around during the shot. Tripod video's are more rare, and the view is often not as nice.
Now my question to you is: does anyone mind sharing a (preferably 2+mins long) video, of some nice view, where the drone is keeping a steady position?
I want to use it on my website, so it would be nice if you give me permission to use it there. The website is free to use and has a non-commercial character.
r/drones • u/Naive_Figure_5279 • 2d ago
Photo & Video The Fairy Pools on the Isle of Skye, Scotland.
Antigravity, A1
r/drones • u/Priest_of_thighs • 20h ago
Question Very new to drones
I just bought this drone from a dude off of market place with no manual or charger and just need to figure out what it is so I can charge it and link it
r/drones • u/Impressive_Income910 • 1d ago
Photo & Video Drone Videography
So I ordered a set of hdzero goggles 2, and a radiomaster pocket.. all this to get into videography with a drone for our photography business;
Now I'm learning that I'm not able to get even decent video with an analog setup unless I run DJI or walksnail.. or something similar? This part confuses me a bit.
Excuse my ignorance with all this, and please let me know if there's a way I can run this setup, or if I should just cank the whole thing and go a different route.
My idea was to maybe shoot a different style, like old school skate videos, if there's even a market for it.. but like I said, I'm open to suggestions and any knowledge on this. Need to get as much as I can as is. Because my next step is the drone and everything that goes into that.
r/drones • u/mikenelsoncamera • 1d ago
Question Astro FPV camera
I fly the Freefly Astro. It’s FPV camera uses a UVC USB connection and it marketed at 1080 resolution. I fly mostly at night. I have the Freefly FPV camera that they sell and it’s nice for daytime use but when it gets really dark then it drops into blackness pretty quick. I’ve recently tried a Caddax Ratel Pro with a USB converter and it’s night vision is much better but the reduced resolution is a little bit of a bummer.
I’m looking for a camera with the same size and low-light performance as the Ratel Pro (.00001 lux) but with better resolution that somehow integrates with the USB input of the Astro.
r/drones • u/Sea-Supermarket6441 • 1d ago
Question First indoor flight in a stairwell, did not go well. Is it just hard or was it me?
Tried to fly a small drone around a stairwell in a building under construction to capture a wall. It found the railing within seconds. Drone is fine, my pride is not.
Anyone flown stairwells regularly? Is it the obstacle sensing not seeing thin railings, the lack of GPS indoors, or just pilot error?
Photo & Video Morning Coffee Delivery
I'm a nerd, so when I saw I could get my morning coffee airlifted to me, I had to try Zipline out.
r/drones • u/thatguyjae • 2d ago
Photo & Video New to drones
I had a feeling NY pigeons wouldn’t be afraid of drones but was a little surprised just how much they were buzzing by my DJI Neo 2 today.
r/drones • u/QuadyMcQuadFace • 1d ago
DIY Found a nice RC park to fly my drones/planes in Wichita Falls TX
r/drones • u/PinOpen9883 • 2d ago
Photo & Video Getting a small drone ready for outdoor test
l mounted my rgb slam camera on a small drone and will take it outsidefor a test without GPS.
I'm curious to see what the monocular vio output looks like during takeoff and a short hover.l will share after the test.I'll also document the full build and share it publicly about this drone project.
For anyone who's tried the RoboBaton Neo on a small drone outdoor? Welcome to discuss the project in discord: https://discord.gg/Aw7gRjm3DD
r/drones • u/Different_Permit1939 • 2d ago
Photo & Video Beautiful morning
Happy GTA 6 day!
r/drones • u/BigHonker201 • 3d ago
Photo & Video Beach Shot
Picture I took from the beach.