EasyManua.ls Logo

dji RoboMaster EP - Page 13

dji RoboMaster EP
187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
12
Python API
Function: tools.run_time_of_program()
Return value:
time (float)
(1) Objective: Acquires current time information including the year, month, day, hour, minute, and second
(2) Type: Information block (variable-type)
(3) Example: Compare time values
If the number of the current month is larger than the number of the current day, the robot will nod its head;
if the number of the current month is less than or equal to the number of the current day, the robot will
shake its head.

Related product manuals