0.0.1 • Published 9 years ago
drone-pano v0.0.1
Drone-Pano
Generates a CSV file (litchi's format) of points for a drone to fly to to take pictures that can then be stitched together into a single larger panoramic photo
Usage
node index.js --lat=37.481171 --lng=--122.153209 --elev=120m --radius=60m \
--y0=-70 --y1=-110 --z0=-45 --z1=45 --degPerPhoto=10 > flightplan.csvThis is all based around an imaginary "origin point", and a sphere at the specified radius around it. The drone then flies to various points along this imaginary sphere and takes pictures in an orientation determined by the origin point. For the y axis (pitch), 0° is camera point straight, -90° is down. Values < -90° are compensated for by spinning the drone 180°. For the z axis (yaw), 0° is due north.
Units of elev and radius are in meters if not specified (can specify in one
of m, km, ft, mi (miles))
--latlatitude for sphere center--lnglongitude for sphere center--elevelevation for sphere center--radiusradius of sphere--y0start roll around y axis (pitch)--y1end roll around y axis--z0start roll around z axis (yaw)--z1end roll around z axis--degPerPhotohow far to rotate between photos at 0° camera angle (takes fewer photos as the angle lowers)
0.0.1
9 years ago