Skip to main content
Menu
CoDrone EDU
Blockly
Python
CoDrone Mini
Blockly
Python
CoDrone Pro/Lite
Python
Arduino
Zumi
Python
Blockly
Go to robolink.com
CoDrone EDU
Blockly
Python
CoDrone Mini
Blockly
Python
CoDrone Pro/Lite
Python
Arduino
Zumi
Python
Blockly
Go to robolink.com
Menu
Reference
Senior reference
Flight Commands
takeoff()
land()
emergency_stop()
hover()
move()
flip()
turn_degree()
turn_left()/turn_right()
avoid_wall()
Flight Variables
set_roll()
set_pitch()
set_yaw()
set_throttle()
move()
move(duration)
set_trim()
get_trim()
reset_trim()
Status Checkers
code_is_running()
Lights
set_drone_LED()
drone_LED_off()
set_controller_LED()
controller_LED_off()
Sensors
get_range()
get_angle()
get_angular_speed()
get_accel()
get_pos()
get_battery()
get_height()
get_pressure()
get_temperature()
get_elevation()
get_color()
get_hsvl()
get_state_data()
reset_sensor()
Sound
drone_buzzer()
controller_buzzer()
drone_buzzer_hertz()
controller_buzzer_hertz()
Screen
controller_draw_line()
controller_draw_string()
controller_draw_rectangle()
controller_draw_square()
controller_draw_point()
controller_draw_image()
controller_clear_screen()
reset_trim()
Block
#
Description
#
Resets the trim values to (0,0).
Parameters
#
None
Returns
#
None
Example
#
Previous
« get_trim()
Next
code_is_running() »