[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[dji8-ios] 33 hotpoint

" Accessing operator properties "
| value |
[ value := DJISDKManager missionControl hotpointMissionOperator.
] on: Error do: [:ex| ^self abortPage ].
(value class selectors
  select: [:each| (each startsWith: #is) and: [each argumentCount = 0] ])
  ,#(	currentState
  ) do: [:msg| self print: ' ',msg,'=',(value perform: msg) ].


" Accessing (class) maxAngularVelocityForRadius "
0 to: 500 by: 5 do: [:radius| | value |
	value := DJIHotpointMissionOperator maxAngularVelocityForRadius: radius.
	self print: 'max angular velocity for ' ,radius ,' is ' , value.
]