Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Get flightdata via gobot

spacemandev

New member
Joined
Sep 8, 2019
Messages
3
Reaction score
1
Hi

I'm trying to use the gobot development library (DJI Tello with Gobot) and there is a ParseFlightData command, but it requires the raw bytes to be passed in and I can't seem to find any way to get the raw bits through the gobot library. Any one have any advice?
 
  • Like
Reactions: cgbsu
Hi

I'm trying to use the gobot development library (DJI Tello with Gobot) and there is a ParseFlightData command, but it requires the raw bytes to be passed in and I can't seem to find any way to get the raw bits through the gobot library. Any one have any advice?
I dont know if the API updated or something (saw your question while posting my own), but I get the battery level like this
Code:
flightData := data.( *tello.FlightData )
fmt.Println( "battery power:", flightData.BatteryPercentage )
 

New Posts

Members online

No members online now.

Forum statistics

Threads
5,690
Messages
39,934
Members
17,023
Latest member
Repiv

New Posts