Академический Документы
Профессиональный Документы
Культура Документы
Drive mode
wait_port_ready( )
stop() Stop
Wait buffering
operation
Date
Prepared by
Page CTTC
15
init_drive()
initial drive
Motor speed
Date
Prepared by
Page CTTC
25
Sensor value
accel_ctrl() Acceleration control 10ms counter progress Motor speed Motor speed get_time10() Get 10ms counter get_period_acc() Calculate acceleration speed decel_ctrl() Deceleration control Motor speed
10ms counter
Motor speed
. . . . . .
Date
Prepared by
Page
35
Date
Revision Contents
CTTC
Right motor int flag init_drive() Begin initial drive get_flag_r() Get int flag for right motor stop() stop operation
Drive mode
. . . .
Date
Prepared
by
Page CTTC
45
tmint_100us() iflag_l
get_iflag_l()
tmint_100us() iflag_r
get_iflag_r()
tmint_1ms() sensor
get_sensor()
tmint_100us()
set_r_speed()
tmint_100us()
set_l_speed()
tmint_1ms() tsw
get_tsw()
buf_r_timer r_direction
buf_l_timer l_direction
tmint_1ms()
get_time2()
tmint_1ms()
get_time10()
tmint_1ms() is_fix
wait_fix()
over_2ms
over_10ms
int_SW2()
get_sw2()
iflag_sw2
. .
Date
Prepared by
Page CTTC
55