* 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
* How to get start
1. Open RoboRealm dialog window.
2. Make sure that "Camera" button is pressed in RoboRealm dialog window
and also you should check out the camera resolution (it must be 320x240 pixels).
3. Call the dialog window of AVM Navigator (click on it at video-processing pipeline)
and then switch to "Nova gate mode". Now you can control your robot by arrow keys
and also you can turn robot camera by "Delete" and "Page Down" keys ("End" key will
set the camera in front position). If camera was turned you have to press "End"
for alignment before continuing of robot moving.
Find out more: http://www.roborealm.com/help/AVM_Navigator/avm_q3mod_help.html
Also you can try to train with "AVM Quake 3 mod" for acquaintance with "Marker mode"
and "Navigation by map" modes: http://www.roborealm.com/help/AVM_Navigator/Setup_avm_q3mod.exe
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#