roboforum.ruТехнический форум по робототехнике. |
|
|
* Connect your robot to AVM Navigator
Just use the variables that described below for connection of your robot
to AVM Navigator:
Use variable NV_TURRET_BALANCE for camera turning:
NV_TURRET_BALANCE - indicates the turn degree amount.
This value range from -100 to 100 with forward being zero.
Use for motor control NV_L_MOTOR and NV_R_MOTOR variables that have range
from -100 to 100 for motion control ("-100 " - full power backwards,
"100" - full power forwards, "0" - motor off).
You also can used alternative control variables
(motors range from 0 to 255 with 128 being neutral):
NV_L_MOTOR_128, NV_R_MOTOR_128 - motors control
NV_TURRET_128 - control of camera turning
NV_TURRET_INV_128 - inversed control of camera turning
You should use arrow keys for robot control in "Marker mode"
(it is important for route recording).
But you can also control your robot through AVM Navigator from external application
with helping of control variables:
NV_FIRE, NV_LEFT, NV_RIGHT, NV_FORWARD, NV_BACKWARDS, NV_TURRET_LEFT, NV_TURRET_RIGHT.
The double purpose of control variables (in/out functions) is already implemented since
as AVM Navigator v0.7.2.3 was released. And now variables (NV_FIRE, NV_LEFT, NV_RIGHT,
NV_FORWARD, NV_BACKWARDS, NV_TURRET_LEFT, NV_TURRET_RIGHT) indicate control status
(if use it after AVM Navigator in pipeline) as in previous versions but also it has
secondary function as input of control signals from external application.
Now users will be able to set value of these variables to “-1” (before AVM Navigator in pipeline)
for activation of control action from scripts or other modules or external application
(through API and "control translator" script).
Find out more: http://www.roborealm.com/forum/index.php?thread_id=4253#
Вернуться в Компьютерное зрение
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 13