EasyManua.ls Logo

dji Robomaster EP Core - Page 38

dji Robomaster EP Core
152 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...
37
rm_define.chassis_forward
rm_define.chassis_translation
rm_define.chassis_rotate
Return value:
position(float)
19. When chassis hits an obstacle
(1) Description: Run the program for the corresponding block when the chassis hits an obstacle (people, table legs etc.)
while driving
(2) Type: Event block
(3) Example: Self-defend
This enables the self-defense mechanism to activate when the chassis impacts an obstacle, causing the robot to retreat and
stop running the block.
Python API:
Function: def chassis_impact_detection(msg)
Type: Event callback
20. Chassis hits an obstacle
(1) Description: Return Truewhen the chassis hits an obstacle (people, table legs etc.) while driving; otherwise, returns
False

Other manuals for dji Robomaster EP Core

Related product manuals