-
Notifications
You must be signed in to change notification settings - Fork 0
Notifications
You must be signed in to change notification settings
ssridhar/WoodenMan
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Clone using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
On the client side one has to send the global joint positions: EXAMPLE: //global variables and include mongoose library (the library available in the root of the folder) #include "CWebSocketServer.hpp" Common::CWebSocketServer m_WSTransceiver; *************************************** //somewhere in the code updating/sending the joint positions for the WoodenMan *************************************** std::stringstream wss; auto& Joints = m_skeleton->getJoints(); //getting the joints for (int ijk = 0; ijk < Joints.size(); ++ijk) { auto Pos3D = Joints[ijk]->getGlobalPosition(); wss << Pos3D[0] << ", " << Pos3D[1] << ", " << Pos3D[2]; if (ijk != (Joints.size() - 1)) wss << ", "; } m_WSTransceiver.SendData(wss.str()); **************************************** The order of joints defined in the WoodenMan\WoodenMan\Assets\Scripts\runLiveVNect.cs After building the main project WoodenMan, one can run the WoodenMan.exe. Before sending anything to the WoodenMan, one has to start WoodenMan.exe beforehand. Only after that one shall start client.exe (your program) which will send the joint positions.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published