...
The SmartBody Monitor (SBMonitor) can connect to any actively running Smartbody SmartBody process in order to easily interact with and debug it.
...
- Source code location: https://smartbodySmartBody.svn.sourceforge.net/svnroot/smartbodySmartBody/trunk/core/sbmonitor
- Executable location: \\netapp2\vh\sbmonitor\sbmonitor.bat
- Main developer: Adam Reilly, Ed Fast
- FAQ:FAQ
Users
Connecting to
...
SmartBody
- Go to File -> Open (or hit Ctrl + C)
- Wait 2 seconds for the dialog to appear
- Select the desired Smartbody SmartBody process to connect to and click the "Connect" button
...
Used for viewing all the resources that Smartbody SmartBody is currently loaded, including .sk's, skm's, characters, services, events, face definitions, sequence and python files, paths, etc.
...
Facilitates the issuing of python, sequence, and VHMsg commands to Smartbody SmartBody
Python Command format
Code Block |
---|
<return value type> <python command> int scene.getNumCharacters() Possible return types: int, float, bool, string, int-array, float-array, string-array |
...
Provides an easy to use interface for commonly used Smartbody SmartBody functionality such as playing animations, setting postures, sending bml, gazing at targets, and text to speech commands.
...
- Run https://svn.ict.usc.edu/svn_vh/trunk/lib/qt/bin/designer.exe
- Create a new dialog and save it in smartbodySmartBody/sbm-debugger/gui/designer
- Open sbm-debugger\gui\SbmDebuggerGui.sln. Create a new class that publicly derives from QDialog and have the header include "ui_YourDialogName.h". If you compile, you will have compiler errors
- Open a command prompt to smartbodySmartBody/sbm-debugger/gui
- Enter the following commands**
- qmake -project
- qmake
- nmake
- Edit smartbodySmartBody/sbm-debugger/gui/moc.bat by adding the following line
- %MOC% YourClassNameThatYouJustCreated.h -o moc_YourDialogName.cpp
- Run smartbodySmartBody/sbm-debugger/gui/moc.bat
- Copy moc_YourDialogName.cpp from the Debug folder into smartbodySmartBody/sbm-debugger/gui
- Add moc_YourDialogName.cpp and ui_YourDialogName.cpp to the vcproj under the Generated folder
...