sensor
Package¶
kinect
Module¶
This code has been developed by Baptiste Busch: https://github.com/buschbapti
This module allows you to retrieve Skeleton information from a Kinect device. It is only the client side of a zmq client/server application.
The server part can be found at: https://bitbucket.org/buschbapti/kinectserver/src It used the Microsoft Kinect SDK and thus only work on Windows.
Of course, the client side can be used on any platform.
-
class
pypot.sensor.kinect.sensor.
Skeleton
[source]¶ Bases:
pypot.sensor.kinect.sensor.Skeleton
Create new instance of Skeleton(timestamp, user_id, hip_center, spine, shoulder_center, head, shoulder_left, elbow_left, wrist_left, hand_left, shoulder_right, elbow_right, wrist_right, hand_right, hip_left, knee_left, ankle_left, foot_left, hip_right, knee_right, ankle_right, foot_right)
-
joints
= ('hip_center', 'spine', 'shoulder_center', 'head', 'shoulder_left', 'elbow_left', 'wrist_left', 'hand_left', 'shoulder_right', 'elbow_right', 'wrist_right', 'hand_right', 'hip_left', 'knee_left', 'ankle_left', 'foot_left', 'hip_right', 'knee_right', 'ankle_right', 'foot_right')¶
-
optitrack
Module¶
-
class
pypot.sensor.optitrack.
TrackedObject
(position, quaternion, orientation, timestamp)¶ Bases:
tuple
Create new instance of TrackedObject(position, quaternion, orientation, timestamp)
-
orientation
¶ Alias for field number 2
-
position
¶ Alias for field number 0
-
quaternion
¶ Alias for field number 1
-
timestamp
¶ Alias for field number 3
-