Australia
Asked

Kinect 360 Body Control Skill

How do I pause and unpause the Kinect Body Control skill within a program? There doesn't seem to be a ControlCommand to do this. Without this ability, I have to walk up to my robot and physically press the pause check box. The robot reacts to my movement as I approach - not ideal.


Related Hardware EZ-B v4
Related Control Kinect Body Control

ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

#9  

That's interesting. I didn't know that Mecanno had a Karel robot. I have the non G15 1.0 Meccanoid robot. I might replace its servos and board with four servos and an IO-Tiny. I have an extra one laying around.

PRO
Synthiam
#10  

There is no way to "stop" the Kinect without unplugging it. When power is applied, it sends the data. So, there must be something else going on. I can't understand how the joystick and Kinect are related. Is your Xbox joystick connected to the Kinect? I wonder if the USB hub is saturated with the joystick and Kinect on the same hub. Before you say you don't have an external hub, the computer has a hub. A computer may have 23853258235823582358235823852385832 USB ports, but there are 2883258235823853823823582385328235 hubs inside. Usually, there are 2-3 hubs on a computer's motherboard. So, my first suggestion would be to try changing the USB ports for the joystick. See if using it on a different internal hub helps. The Kinect is VERY bandwidth-intensive. It will saturate a USB channel quickly.

PRO
Australia
#12  

My XBox Controller is connected to the computer via Bluetooth. The USB hub has the EZB, Kinect 360 and camera connected. But it seems like the robot cannot handle the Kinect 360 data and XBox controller data at the same time. If the Kinect 360 wasn't paused, the two devices would be trying to move the same servos. Covering the Kinect 360 lens is the only solution I can think of.

PRO
Synthiam
#13  

Hmmm, that's very strange. When the kinect is paused, it doesn't move the servos at all - which is what pause does. I wonder if it's the framerate causing the CPU consumption too high and the joystick events are missed in the API.

I made a small change to v11 of the robot skill. Update to that and see if it makes a differene.

PRO
Australia
#14  

Thanks. I will try tomorrow.

PRO
Australia
#15  

I updated the Kinect 360 Skill and tried using the XBox Controller with the Kinect 360 active. I can't say I noticed any difference. I have made a hinged lens cover for the Kinect 360. So it is easy to just cover the lens, pause the Kinect 360, then use the XBox Controller without a problem. Thanks for your efforts though.

PRO
Synthiam
#16  

i still think we should figure this out. It doesn't make sense to me that the xbox controller stops working when the kinect is running. and not even running, I mean detecting a person. let me think if there's another thing I can try. stay tuned hmmm