对于M210 RTK V2无人机,如何获取电池电量。 我们采用,List<Battery> batteries = ...

Completed

Comments

3 comments

  • DJI Developer Support
    M210使用得是聚合电池,一个电池里面有很多小电池,你试试battery1.setAggregationStateCallback。
    0
    Comment actions Permalink
  • smallUniv

    aircraft.getBatteries(),返回值为 null,是怎么回事

    0
    Comment actions Permalink
  • DJI Developer Support
    调用时机的问题,组件是分批连接飞机的,电池组是最晚的。建议你调用ComponentListener监听组件,当确定电池链接后再get。
    0
    Comment actions Permalink

Please sign in to leave a comment.