University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Troubles with Smartbody Kinect | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Troubles with Smartbody Kinect
November 20, 2013
9:06 am
Avatar
Yumeng Wang
Guest
Guests

Hello,

 

I seem to have some troubles when using the Smartbody with Kinect. I have followed the manual, but it didn’t work well.

 

I opened sbguid.exe, load up KinectDemo.py ,the character have appeared in the window, and then I run SBKinectViewer.exe, the skeletal viewer is also appear, but when I stepped into the Kinect Camera, the character in the Smartbody didn’t mimic the pose of mine, it stands always as an A pose.

 

I don’t know why my pose didn’t map into the character. I don’t know if there are some other steps I have missed, and how can I know if the joint angle data has sent to the character in the SmartBody?

 

I found that the manual said that I have to first build smartbody-fltk project, but I can’t find this project in the files, so I used the sbguid.exe, I can see there is a little difference between these two Interfaces as it shows in the manual, I don’t know is this the causing problems?

 

Is there someone can help me with this issue?

 

Thanks a lot.

Yumeng

November 22, 2013
2:36 am
Avatar
Admin
Forum Posts: 52
Member Since:
August 8, 2012
sp_UserOfflineSmall Offline

Hi Yumeng,

I tested the Kinect sample with the latest SmartBody revision on my machine and it is working fine.

There is one possible reason I can think about. In the SBKinectViewer, you need to be in full view of Kinect ( with all bones showing up in green color ) for the application to send out the skeleton information to SmartBody. Once that is done, the SmartBody will apply the joint angles from Kinect to the character.

Can you let me know about your setup so I can help debug the issue ? 

Thanks,

Andrew

November 24, 2013
12:29 pm
Avatar
Yumeng Wang
Guest
Guests

Hi Andrew,

 

Thanks a lot for helping me. I have already solved my problem.

 

My trouble was caused by some warnings I ignored. There was a warning “String Attribute receiverName does not exist”. And there was also some ImportError, “Could not connect to localhost:61616”.

 

So I thought the problem was about the communication between SBKinectViewer and sbguid. I found the manual said that they communicate with ActiveMQ. So I ran ActiveMQ individually, it failed. Finally, I realized because I never ran a JAVA script before, I didn’t have a JRE in my machine. After the installation, it is working fine.

 

That’s it, thank you all the same.

Yumeng

February 27, 2014
10:36 pm
Avatar
Member
Members
Forum Posts: 7
Member Since:
February 19, 2014
sp_UserOfflineSmall Offline
October 4, 2015
6:08 pm
Avatar
Member
Members
Forum Posts: 7
Member Since:
September 23, 2015
sp_UserOfflineSmall Offline

Hello,

I'm getting the same warning as above "String Attribute receiverName does not exist". I have Java installed in my machine and all the green bones are showing in my Kinect as suggested by Andrew but the character still doesn't mimic my pose.

Can someone help me out here? Thanks a lot.

Amour

October 4, 2015
8:44 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Can you send the log output? There is an attribute called 'receiverName' which matches a signal sent from the Kinect tracker to indicate which character should be controlled (rather than to control the characters by name, the 'receiverName' is the name that the tracker sends out (kinect1, for example) so that multiple characters can be controlled by the same signal.

 

Ari

October 5, 2015
3:16 am
Avatar
Member
Members
Forum Posts: 7
Member Since:
September 23, 2015
sp_UserOfflineSmall Offline

There's no more log output for the SmartBody except for that receiverName warning.  But for SBKinectViewer I get this log output logs_viewer.txt

How do I know if communication is established between SmartBody and SBKinectViewer? How do I make the character mimic my pose and how fast does the character can mimic each move? Also, according to the manual I should get a character named Utah but whenever I load the script I get a Brad character. Is that okay?

 

Amour

October 5, 2015
4:55 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Do you have an ActiveMQ server installed on your computer? The communication is done with that messaging software.

http://activemq.apache.org/

Ari

October 6, 2015
2:10 pm
Avatar
Member
Members
Forum Posts: 7
Member Since:
September 23, 2015
sp_UserOfflineSmall Offline

Yes I have. I tried running activemq before sbgui.exe and SBKinectViewer and I think the communication is established based from the logs from activemq but the problem right now is my SBKinectViewer hangs everytime activemq runs. When do I run activemq? And what is the minimum system requirements for all of this because I just might be runnning out of RAM?

 

Amour

October 6, 2015
5:47 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

ActiveMQ is a server (or a service) that should be running in the background before SmartBody starts.

I'm testing the SBKinectViewer application right now, stay tuned...

Ari

October 12, 2015
9:20 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Ok, I've made some tweaks to the SBKinectViewer and added another application (SBKinectViewerPositions) which handles the Kinect data via positions (instead of orientations) but this may not be sufficient for your needs.

 

The SBKinectViewer application will work (although imperfectly): you need to stand in front of the kinect until your entire body is tracked, then it will send that data to SmartBody, and puppeteer the character (although the global orientation is off slightly).

 

The SBKinectViewerPosition application will send the positional data from the Kinect to SmartBody, but I don't yet have a good way to completely track that information yet (best to solve those points onto the skeleton, but I don't have that code in place right now). I did add a file: data/examples/KinectSimpleDemo.py which works with the SBKinectViewerPosition application which allows you to mirror the Kinect motions with the virtual character.

In the long run, we need to add some code to SmartBody to better mirror the Kinect data. This may take a few weeks/months before I get to it.

 

Ari

March 6, 2016
1:18 pm
Avatar
New Member
Members
Forum Posts: 1
Member Since:
March 6, 2016
sp_UserOfflineSmall Offline

The same problem

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online: jiangringgaard7, groth23rowland, mcclain06kearney, bugge59mackinnon, williamson15mogensen, raskrask1, JosephRoper17, heavenlyliar6390
98 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

jwwalker: 80

jyambao: 52

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 69

Members: 122211

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 531

Posts: 2495