EasyManua.ls Logo

dji RoboMaster EP - Page 14

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...
13
Python API
Function: tools.get_localtime(time_enum)
Parameters:
time_enum (enum):
rm_define.localtime_year
rm_define.localtime_month
rm_define.localtime_day
rm_define.localtime_hour
rm_define.localtime_minute
rm_define.localtime_second
Return value
time (int)
(1) Objective: Indicates the total time elapsed from when the robot started running up to the current time (in
seconds)
(2) Type: Information block (variable-type)
(3) Example: Calculate running time
This measures the total time elapsed from when the robot most recently started running up to the current
hour, minute, and second.

Related product manuals