Center of gravity (COG) - If the RGB filter is setup correctly then the picture shown in Roborealm should look a lot like the picture shown here (Note, select the "Display_Variables" sequence to see this view). Notice that a blue box is surrounding the red ball, showing that Roborealm is detecting it correctly. You can also see some of the internal script variables overlayed on the image, such as COG x,y COG size FPS and current HexEngine power state. Useful Keys - A couple of useful keys within RoboRealm: - CTRL + k Will switch between the sequence window and a dedicated sequence run window.
- F11 will show the video in full screen, press ESC to return to normal size.
- CTRL F9 will wake the Hexapod and enable tracking.
- CTRL F10 will disable tracking and sleep the Hexapod.
- CTRL F11 will enable walk tracking, as well as pop the video to full screen.
- CTRL F12 will disable walk tracking.
VB Script - I have commented the VB Script, so you can take a look through and see the various parameters that can be tweaked/modified to change the hexapod behavior. If you are using a pan/tilt head, depending on the way the head is built, you may need to invert the tilt and/or the pan axis. Note: The method for reversing Pan/Tilt described in V1 of the script does not work. If you need to reverse the pan and/or tilt servos, find the following lines and remove the relevant minus sign in front of the pan/tilt variable:
VariableH1 = (256 + int(-gPan)) and 255 VariableH2 = (256 + int(-gTilt)) and 255
e.g. to reverse Tilt:
VariableH1 = (256 + int(-gPan)) and 255 VariableH2 = (256 + int(gTilt)) and 255 |
No comments:
Post a Comment