📄 readme.tkviewer
字号:
---------tkplayerv-----------------------------------------------------------------------------------Overview--------------------------------------------------------------------------tkplayerv is a somewhat general graphical remote control client for Playerdevices. It allows you to subscribe to and visualize the data from a varietyof sensors, as well as send commands to a variety of actuators. --------------------------------------------------------------------------Requirements--------------------------------------------------------------------------tkplayerv is implemented in Tcl/Tk. To use it, you need to have installedrelatively recent versions of Tcl and Tk, as well as TclX, because tkplayervuses UNIX-style signals for timing.tkplayerv also depends on Tclplayer, a Tcl package that provides clientroutines for interacting with Player servers. Tclplayer is included (andinstalled) with the Player distribution. In order for Tcl to find Tclplayer,your TCLLIBPATH environment variable must be set appropriately. SeeSection 2 of "Tclplayer Reference Manual" (also included with Player) for details.--------------------------------------------------------------------------Starting tkplayerv--------------------------------------------------------------------------You start tkplayerv by executing 'viewer.tk' (if it's not currently executable, make it so now): $ ./viewer.tk -- [-h <host>] [-p <port>] [-s <size>]Note that if you pass any arguments, you must precede them with a double-dash(i.e., '--'). Unless <host> or <port> are specified, tkplayerv will connectto a Player server on localhost:6665. <size> is not exactly a generalsize specifier, but it will allow you to make the GUI bigger or smaller.As a hint, the default size is 400.--------------------------------------------------------------------------Using tkplayerv--------------------------------------------------------------------------Once you've got it running, the GUI should be pretty self-explanatory.Several checkbuttons allow to you turn on and off the display and control ofmany common devices. The main canvas (the one that looks like a radar screen) displays laser, sonar,laserbeacon, and bumper data, relative to the robot, which is pictured in thecenter, facing upward along the positive Y-axis.The upper-right canavs (with the cross-hairs) gives you control over therobot's motors. Click and hold (and possibly drag) to move the robot. TheY-axis is translational velocity and the X-axis is rotational velocity. Notethat you may have to select "Activate Motors" to make a real robot move.The middle-right canvas displays vision data by reconstructing the detectedcolor blob data from the robot's camera perspective.The bottom-right set of widgets give you control of the PTZ camera. Thearrows pan and tilt, and the + and - button zoom.--------------------------------------------------------------------------comments/questions/bugs to brian gerkey gerkey@robotics.usc.edu--------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -