@SMerrony
The FlyToYaw() function allows rotation with respect to an absolute angle (the initial -at power on- 0 deg). Would you mind to implement also a relative rotation (maybe it's your early TurnByDeg)?
Done ;-) See AutoTurnByDeg()
I had to rename some other funcs for consistency.
@SMerrony
I saw in github your auto2 branch of tello. I thought it would be nice to implement a FlyToDelta(DX, DY, DT) function , where DX,DY are displacements (deltas) from actual (Xi,Yi) position and DT is delta angle with respect to the direction of movement ( I attached a figure hoping it would be more clear). For instance, some meaningful cases: setting DT=0 the tello will proceed to target moving forward; setting DT=-90 tello will proceed moving right; DT=90 left; DT=+/- 180 backward. So tello will first rotate from initial yaw (theta+DT in figure) and then move to delta target. This command should synthetize a lot of possible XY movements. A nice to have is also setting units in cm. Is it feasible or am I missing something?
View attachment 723
I'm curious if anyone knows if something like this could be possible on the spark. It also has wifi connection but doesn't have its own API as a feature. I've looked at it's sub and around the web but there doesn't seem to be any custom software written for it. Curious if we could also sniff the packets on that.
We use essential cookies to make this site work, and optional cookies to enhance your experience.