Aligned Thing implementation
This commit is contained in:
parent
4726e443b4
commit
249c48dfa1
@ -1,181 +1,176 @@
|
|||||||
warning: source 'images' is not a readable file or directory... skipping.
|
warning: source 'images' is not a readable file or directory... skipping.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:62: warning: @copybrief or @copydoc target 'Thing::Update' not found
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:62: warning: @copybrief or @copydoc target 'Thing::Update' not found
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:46: warning: Found unknown command '@params'
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:46: warning: Found unknown command '@params'
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:22: warning: Member SetDriveDimensions(self, wheel_diameter, wheel_separation) (function) of class DifferentialDrive.DifferentialDrive is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:47: warning: Member FromVector3(Vector3 v) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:33: warning: Member SetMotors(self, wheel_left, wheel_right) (function) of class DifferentialDrive.DifferentialDrive is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:100: warning: Member __repr__(self) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:46: warning: Found unknown command '@params'
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Direction.py:47: warning: Member FromVector3(Vector3 v) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:62: warning: @copybrief or @copydoc target 'Thing::Update' not found
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Direction.py:77: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:31: warning: Member wheel_left (variable) of class DifferentialDrive.DifferentialDrive is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Direction.py:105: warning: Member __repr__(self) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:31: warning: Member wheel_right (variable) of class DifferentialDrive.DifferentialDrive is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:75: warning: Member horizontal (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:64: warning: Member angular_velocity_updated (variable) of class DifferentialDrive.DifferentialDrive is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:76: warning: Member vertical (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:46: warning: Found unknown command '@params'
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:103: warning: Member zero (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:47: warning: Found unknown command '@params'
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:104: warning: Member forward (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:62: warning: @copybrief or @copydoc target 'Thing::Update' not found
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:105: warning: Member backward (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/Things/DifferentialDrive.py:63: warning: @copydetails or @copydoc target 'Thing::Update' not found
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:106: warning: Member up (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:47: warning: Member FromVector3(Vector3 v) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:107: warning: Member down (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:77: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:108: warning: Member left (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:105: warning: Member __repr__(self) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:109: warning: Member right (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Direction.py:47: warning: Member FromVector3(Vector3 v) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:87: warning: Member Magnitude(self) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Direction.py:77: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:90: warning: Member Normalized(self) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Direction.py:105: warning: Member __repr__(self) (function) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:87: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:75: warning: Member horizontal (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:94: warning: Member Magnitude(self) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:76: warning: Member vertical (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:97: warning: Member Normalized(self) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:108: warning: Member zero (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:22: warning: Member direction (variable) of class LinearAlgebra.Spherical.Polar is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:109: warning: Member forward (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:226: warning: Member zero (variable) of class LinearAlgebra.Spherical.Polar is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:110: warning: Member backward (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:27: warning: argument 'horizontal' of command @param is not found in the argument list of Polar::Degrees(float distance, float degrees)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:111: warning: Member up (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:27: warning: The following parameter of LinearAlgebra.Spherical.Polar.Degrees(float distance, float degrees) is not documented:
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:112: warning: Member down (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:113: warning: Member left (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Direction.py:114: warning: Member right (variable) of class LinearAlgebra.Direction.Direction is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:87: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:94: warning: Member Magnitude(self) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:97: warning: Member Normalized(self) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:87: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:94: warning: Member Magnitude(self) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:97: warning: Member Normalized(self) (function) of class LinearAlgebra.Spherical.Polar is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:23: warning: Member direction (variable) of class LinearAlgebra.Spherical.Polar is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:233: warning: Member zero (variable) of class LinearAlgebra.Spherical.Polar is not documented.
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:28: warning: argument 'horizontal' of command @param is not found in the argument list of Polar::Degrees(float distance, float degrees)
|
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:28: warning: The following parameter of LinearAlgebra.Spherical.Polar.Degrees(float distance, float degrees) is not documented:
|
|
||||||
parameter 'degrees'
|
parameter 'degrees'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:39: warning: argument 'horizontal' of command @param is not found in the argument list of Polar::Radians(float distance, float radians)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:38: warning: argument 'horizontal' of command @param is not found in the argument list of Polar::Radians(float distance, float radians)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:39: warning: argument 'vertical' of command @param is not found in the argument list of Polar::Radians(float distance, float radians)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:38: warning: argument 'vertical' of command @param is not found in the argument list of Polar::Radians(float distance, float radians)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:39: warning: The following parameter of LinearAlgebra.Spherical.Polar.Radians(float distance, float radians) is not documented:
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:38: warning: The following parameter of LinearAlgebra.Spherical.Polar.Radians(float distance, float radians) is not documented:
|
||||||
parameter 'radians'
|
parameter 'radians'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:78: warning: argument 'v' of command @param is not found in the argument list of Polar::__eq__(self, other)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:77: warning: argument 'v' of command @param is not found in the argument list of Polar::__eq__(self, other)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:78: warning: The following parameter of LinearAlgebra.Spherical.Polar.__eq__(self, other) is not documented:
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:77: warning: The following parameter of LinearAlgebra.Spherical.Polar.__eq__(self, other) is not documented:
|
||||||
parameter 'other'
|
parameter 'other'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:28: warning: argument 'horizontal' of command @param is not found in the argument list of Polar::Degrees(float distance, float degrees)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:28: warning: argument 'horizontal' of command @param is not found in the argument list of Polar::Degrees(float distance, float degrees)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:28: warning: The following parameter of LinearAlgebra.Spherical.Polar.Degrees(float distance, float degrees) is not documented:
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:28: warning: The following parameter of LinearAlgebra.Spherical.Polar.Degrees(float distance, float degrees) is not documented:
|
||||||
parameter 'degrees'
|
parameter 'degrees'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:39: warning: argument 'horizontal' of command @param is not found in the argument list of Polar::Radians(float distance, float radians)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:39: warning: argument 'horizontal' of command @param is not found in the argument list of Polar::Radians(float distance, float radians)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:39: warning: argument 'vertical' of command @param is not found in the argument list of Polar::Radians(float distance, float radians)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:39: warning: argument 'vertical' of command @param is not found in the argument list of Polar::Radians(float distance, float radians)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:39: warning: The following parameter of LinearAlgebra.Spherical.Polar.Radians(float distance, float radians) is not documented:
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:39: warning: The following parameter of LinearAlgebra.Spherical.Polar.Radians(float distance, float radians) is not documented:
|
||||||
parameter 'radians'
|
parameter 'radians'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:78: warning: argument 'v' of command @param is not found in the argument list of Polar::__eq__(self, other)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:78: warning: argument 'v' of command @param is not found in the argument list of Polar::__eq__(self, other)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:78: warning: The following parameter of LinearAlgebra.Spherical.Polar.__eq__(self, other) is not documented:
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:78: warning: The following parameter of LinearAlgebra.Spherical.Polar.__eq__(self, other) is not documented:
|
||||||
parameter 'other'
|
parameter 'other'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:322: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:316: warning: Member Normalized(self) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:328: warning: Member Normalized(self) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:428: warning: Member __repr__(self) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:440: warning: Member __repr__(self) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:322: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:322: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:328: warning: Member Normalized(self) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:328: warning: Member Normalized(self) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:440: warning: Member __repr__(self) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:440: warning: Member __repr__(self) (function) of class LinearAlgebra.Spherical.Spherical is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:245: warning: Member direction (variable) of class LinearAlgebra.Spherical.Spherical is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:252: warning: Member direction (variable) of class LinearAlgebra.Spherical.Spherical is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:431: warning: Member zero (variable) of class LinearAlgebra.Spherical.Spherical is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:443: warning: Member zero (variable) of class LinearAlgebra.Spherical.Spherical is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:306: warning: argument 'v' of command @param is not found in the argument list of Spherical::__eq__(self, other)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:313: warning: argument 'v' of command @param is not found in the argument list of Spherical::__eq__(self, other)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:306: warning: The following parameter of LinearAlgebra.Spherical.Spherical.__eq__(self, other) is not documented:
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:313: warning: The following parameter of LinearAlgebra.Spherical.Spherical.__eq__(self, other) is not documented:
|
|
||||||
parameter 'other'
|
parameter 'other'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:388: warning: argument 's1' of command @param is not found in the argument list of Spherical::Distance(v1, v2)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:376: warning: argument 's1' of command @param is not found in the argument list of Spherical::Distance(v1, v2)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:388: warning: argument 's2' of command @param is not found in the argument list of Spherical::Distance(v1, v2)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:376: warning: argument 's2' of command @param is not found in the argument list of Spherical::Distance(v1, v2)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:388: warning: The following parameters of LinearAlgebra.Spherical.Spherical.Distance(v1, v2) are not documented:
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/Spherical.py:376: warning: The following parameters of LinearAlgebra.Spherical.Spherical.Distance(v1, v2) are not documented:
|
||||||
parameter 'v1'
|
parameter 'v1'
|
||||||
parameter 'v2'
|
parameter 'v2'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:313: warning: argument 'v' of command @param is not found in the argument list of Spherical::__eq__(self, other)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:313: warning: argument 'v' of command @param is not found in the argument list of Spherical::__eq__(self, other)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:313: warning: The following parameter of LinearAlgebra.Spherical.Spherical.__eq__(self, other) is not documented:
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:313: warning: The following parameter of LinearAlgebra.Spherical.Spherical.__eq__(self, other) is not documented:
|
||||||
parameter 'other'
|
parameter 'other'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:388: warning: argument 's1' of command @param is not found in the argument list of Spherical::Distance(v1, v2)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:388: warning: argument 's1' of command @param is not found in the argument list of Spherical::Distance(v1, v2)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:388: warning: argument 's2' of command @param is not found in the argument list of Spherical::Distance(v1, v2)
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:388: warning: argument 's2' of command @param is not found in the argument list of Spherical::Distance(v1, v2)
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/Spherical.py:388: warning: The following parameters of LinearAlgebra.Spherical.Spherical.Distance(v1, v2) are not documented:
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/Spherical.py:388: warning: The following parameters of LinearAlgebra.Spherical.Spherical.Distance(v1, v2) are not documented:
|
||||||
parameter 'v1'
|
parameter 'v1'
|
||||||
parameter 'v2'
|
parameter 'v2'
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:6: warning: Member __init__(self, Direction swing, Angle twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:6: warning: Member __init__(self, Direction swing, Angle twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:65: warning: Member FromAngleAxis(Angle angle, Direction axis) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:65: warning: Member FromAngleAxis(Angle angle, Direction axis) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:82: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/SwingTwist.py:6: warning: Member __init__(self, Direction swing, Angle twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/SwingTwist.py:6: warning: Member __init__(self, Direction swing, Angle twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/SwingTwist.py:65: warning: Member FromAngleAxis(Angle angle, Direction axis) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/SwingTwist.py:65: warning: Member FromAngleAxis(Angle angle, Direction axis) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/SwingTwist.py:82: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/SwingTwist.py:82: warning: Member isclose(self, other, rel_tol=1e-9, abs_tol=1e-8) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:13: warning: Member Degrees(float horizontal, float vertical, float twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:13: warning: Member Degrees(float horizontal, float vertical, float twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:29: warning: Member Radians(float horizontal, float vertical, float twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:29: warning: Member Radians(float horizontal, float vertical, float twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:54: warning: Member FromQuaternion(Quaternion q) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:54: warning: Member FromQuaternion(Quaternion q) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:84: warning: Member Angle(r1, r2) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/build/lib/LinearAlgebra/SwingTwist.py:90: warning: Member Angle(r1, r2) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/SwingTwist.py:13: warning: Member Degrees(float horizontal, float vertical, float twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/SwingTwist.py:13: warning: Member Degrees(float horizontal, float vertical, float twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/SwingTwist.py:29: warning: Member Radians(float horizontal, float vertical, float twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/SwingTwist.py:29: warning: Member Radians(float horizontal, float vertical, float twist) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/SwingTwist.py:54: warning: Member FromQuaternion(Quaternion q) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/SwingTwist.py:54: warning: Member FromQuaternion(Quaternion q) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/SwingTwist.py:90: warning: Member Angle(r1, r2) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
||||||
d:/Python/RoboidControl-python/LinearAlgebra/LinearAlgebra/SwingTwist.py:90: warning: Member Angle(r1, r2) (function) of class LinearAlgebra.SwingTwist.SwingTwist is not documented.
|
d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:14: warning: Member network_id (variable) of class RoboidControl.Messages.NetworkIdMsg.NetworkIdMsg is not documented.
|
||||||
d:/Python/RoboidControl-python/Messages/Messages.py:115: warning: Member __init__(self, network_id, thing) (function) of class RoboidControl-python.Messages.Messages.PoseMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:7: warning: Member id (variable) of class RoboidControl.Messages.NetworkIdMsg.NetworkIdMsg is not documented.
|
||||||
d:/Python/RoboidControl-python/Messages/Messages.py:119: warning: Member Serialize(self, buffer_ref) (function) of class RoboidControl-python.Messages.Messages.PoseMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:8: warning: Member length (variable) of class RoboidControl.Messages.NetworkIdMsg.NetworkIdMsg is not documented.
|
||||||
d:/Python/RoboidControl-python/Messages/Messages.py:116: warning: Member network_id (variable) of class RoboidControl-python.Messages.Messages.PoseMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/Messages/ParticipantMsg.py:19: warning: Member network_id (variable) of class RoboidControl.Messages.ParticipantMsg.ParticipantMsg is not documented.
|
||||||
d:/Python/RoboidControl-python/Messages/Messages.py:117: warning: Member thing (variable) of class RoboidControl-python.Messages.Messages.PoseMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/Participant.py:58: warning: argument 'The' of command @param is not found in the argument list of Participant::Update(self, currentTimeMs=0)
|
||||||
d:/Python/RoboidControl-python/Messages/NetworkIdMsg.py:7: warning: Member id (variable) of class RoboidControl-python.Messages.NetworkIdMsg.NetworkIdMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/Participant.py:58: warning: The following parameter of RoboidControl.Participant.Participant.Update(self, currentTimeMs=0) is not documented:
|
||||||
d:/Python/RoboidControl-python/Messages/NetworkIdMsg.py:8: warning: Member length (variable) of class RoboidControl-python.Messages.NetworkIdMsg.NetworkIdMsg is not documented.
|
parameter 'currentTimeMs'
|
||||||
d:/Python/RoboidControl-python/Messages/NetworkIdMsg.py:10: warning: Member network_id (variable) of class RoboidControl-python.Messages.NetworkIdMsg.NetworkIdMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:68: warning: Member Isolated() (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/Messages/ParticipantMsg.py:53: warning: Member SendTo(participant, network_id) (function) of class RoboidControl-python.Messages.ParticipantMsg.ParticipantMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:75: warning: Member GetParticipant(self, ip_address, port) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/Messages/ParticipantMsg.py:64: warning: Member Publish(participant, network_id) (function) of class RoboidControl-python.Messages.ParticipantMsg.ParticipantMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:85: warning: Member AddParticipant(self, ip_address, port) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/Messages/ParticipantMsg.py:41: warning: Member Serialized(buffer_ref, network_id) (function) of class RoboidControl-python.Messages.ParticipantMsg.ParticipantMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:107: warning: Member UpdateMyThings(self, currentTimeMs) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/Messages/ParticipantMsg.py:21: warning: Member network_id (variable) of class RoboidControl-python.Messages.ParticipantMsg.ParticipantMsg is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:136: warning: Member SendThingInfo(self, owner, thing, bool recursively=False) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:71: warning: Member Isolated() (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:148: warning: Member Send(self, owner, msg) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:78: warning: Member GetParticipant(self, ip_address, port) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:157: warning: Member Publish(self, msg) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:88: warning: Member AddParticipant(self, ip_address, port) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:170: warning: Member Receiver(self) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:123: warning: Member SendThingInfo(self, owner, thing, bool recursively=False) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:186: warning: Member ReceiveData(self, data, sender) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:135: warning: Member Send(self, owner, msg) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:205: warning: Member ProcessParticipantMsg(self, sender, ParticipantMsg msg) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:144: warning: Member Publish(self, msg) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:208: warning: Member ProcessSiteIdMsg(self, sender, NetworkIdMsg msg) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:157: warning: Member Receiver(self) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:216: warning: Member ProcessInvestigateMsg(self, bytearray data) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:169: warning: Member ReceiveData(self, data, sender) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:219: warning: Member ProcessThingMsg(self, ThingMsg msg) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:188: warning: Member ProcessParticipantMsg(self, sender, ParticipantMsg msg) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:222: warning: Member ProcessNameMsg(self, NameMsg msg) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:191: warning: Member ProcessNetworkIdMsg(self, sender, NetworkIdMsg msg) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:225: warning: Member ProcessModelUrlMsg(self, ModelUrlMsg msg) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:201: warning: Member ProcessInvestigateMsg(self, bytearray data) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:228: warning: Member ProcessBinaryMsg(self, BinaryMsg msg) (function) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:204: warning: Member ProcessThingMsg(self, ThingMsg msg) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:46: warning: Member remote_site (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:216: warning: Member ProcessNameMsg(self, NameMsg msg) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:58: warning: Member publishInterval (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:219: warning: Member ProcessModelUrlMsg(self, ModelUrlMsg msg) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:60: warning: Member udp_socket (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:222: warning: Member ProcessBinaryMsg(self, BinaryMsg msg) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:62: warning: Member port (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:228: warning: Member Register(self, constructor, thing_type) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:103: warning: Member nextPublishMe (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:231: warning: Member OnNewThing(self, event_handler) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:119: warning: Member network_id (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:234: warning: Member OnNewThingType(self, thing_type, event_handler) (function) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:29: warning: Member buffer (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:43: warning: Member local_port (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:30: warning: Member nextPublishMe (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:61: warning: Member publishInterval (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:32: warning: Member thread (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:63: warning: Member udp_socket (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:33: warning: Member name (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:109: warning: Member nextPublishMe (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:34: warning: Member isolated_participant (variable) of class RoboidControl.ParticipantUDP.ParticipantUDP is not documented.
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:150: warning: Member port (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/Participant.py:11: warning: The following parameter of RoboidControl.ParticipantUDP.ParticipantUDP.__init__(self, ip_address=7681, port=None, local_port=7681) is not documented:
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:29: warning: Member buffer (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
parameter 'local_port'
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:32: warning: Member nextPublishMe (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/ParticipantUDP.py:91: warning: argument 'The' of command @param is not found in the argument list of ParticipantUDP::Update(self, currentTimeMs=None) inherited from member Update at line 58 in file d:/Python/RoboidControl/RoboidControl/Participant.py
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:34: warning: Member thread (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/Participant.py:58: warning: The following parameter of RoboidControl.ParticipantUDP.ParticipantUDP.Update(self, currentTimeMs=None) is not documented:
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:35: warning: Member name (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
parameter 'currentTimeMs'
|
||||||
d:/Python/RoboidControl-python/ParticipantUDP.py:36: warning: Member isolated_participant (variable) of class RoboidControl-python.ParticipantUDP.ParticipantUDP is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:113: warning: Member Update(self, currentTime, recurse=False) (function) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:106: warning: Member Update(self, currentTime) (function) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:125: warning: Member SetParent(self, parent) (function) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:111: warning: Member ProcessBinary(self, data) (function) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:134: warning: Member AddChild(self, child) (function) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:115: warning: Member SetParent(self, parent) (function) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:141: warning: Member RemoveChild(self, child) (function) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:124: warning: Member AddChild(self, child) (function) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:144: warning: Member GenerateBinary(self, buffer, ix_ref) (function) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:131: warning: Member RemoveChild(self, child) (function) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:147: warning: Member ProcessBinary(self, data) (function) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:134: warning: Member GenerateBinary(self, buffer, ix_ref) (function) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:58: warning: Member children (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:45: warning: Member children (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:85: warning: Member position (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:75: warning: Member pose_updated (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:86: warning: Member position_updated (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:82: warning: Member position (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:92: warning: Member orientation (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:83: warning: Member position_updated (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:93: warning: Member orientation_updated (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:89: warning: Member orientation (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:100: warning: Member linear_velocity_updated (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:90: warning: Member orientation_updated (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:102: warning: Member linear_velocity (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:96: warning: Member linear_velocity (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:109: warning: Member angular_velocity_updated (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:97: warning: Member linear_velocity_updated (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:111: warning: Member angular_velocity (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:103: warning: Member angular_velocity (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:28: warning: Member Position (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:104: warning: Member angular_velocity_updated (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:29: warning: Member Orientation (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:28: warning: Member Position (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:30: warning: Member LinearVelocity (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:29: warning: Member Orientation (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:31: warning: Member AngularVelocity (variable) of class RoboidControl.Thing.Thing is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:30: warning: Member LinearVelocity (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:35: warning: argument 'thingId' of command @param is not found in the argument list of Thing::__init__(self, owner=None, parent=None, thing_type=Type.Undetermined, thing_id=0)
|
||||||
d:/Python/RoboidControl-python/Thing.py:31: warning: Member AngularVelocity (variable) of class RoboidControl-python.Thing.Thing is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:35: warning: The following parameter of RoboidControl.Thing.Thing.__init__(self, owner=None, parent=None, thing_type=Type.Undetermined, thing_id=0) is not documented:
|
||||||
d:/Python/RoboidControl-python/Thing.py:94: warning: argument 'linearVelocity' of command @param is not found in the argument list of Thing::SetLinearVelocity(self, linear_velocity)
|
parameter 'thing_id'
|
||||||
d:/Python/RoboidControl-python/Thing.py:94: warning: The following parameter of RoboidControl-python.Thing.Thing.SetLinearVelocity(self, linear_velocity) is not documented:
|
d:/Python/RoboidControl/RoboidControl/Thing.py:97: warning: argument 'linearVelocity' of command @param is not found in the argument list of Thing::SetLinearVelocity(self, linear_velocity)
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Thing.py:97: warning: The following parameter of RoboidControl.Thing.Thing.SetLinearVelocity(self, linear_velocity) is not documented:
|
||||||
parameter 'linear_velocity'
|
parameter 'linear_velocity'
|
||||||
d:/Python/RoboidControl-python/Thing.py:101: warning: argument 'angularVelocity' of command @param is not found in the argument list of Thing::SetAngularVelocity(self, angular_velocity)
|
d:/Python/RoboidControl/RoboidControl/Thing.py:106: warning: argument 'angularVelocity' of command @param is not found in the argument list of Thing::SetAngularVelocity(self, angular_velocity)
|
||||||
d:/Python/RoboidControl-python/Thing.py:101: warning: The following parameter of RoboidControl-python.Thing.Thing.SetAngularVelocity(self, angular_velocity) is not documented:
|
d:/Python/RoboidControl/RoboidControl/Thing.py:106: warning: The following parameter of RoboidControl.Thing.Thing.SetAngularVelocity(self, angular_velocity) is not documented:
|
||||||
parameter 'angular_velocity'
|
parameter 'angular_velocity'
|
||||||
d:/Python/RoboidControl-python/Thing.py:11: warning: Member Undetermined (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:11: warning: Member Undetermined (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:13: warning: Member Switch (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:13: warning: Member Switch (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:14: warning: Member DistanceSensor (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:14: warning: Member DistanceSensor (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:15: warning: Member DirectionalSensor (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:15: warning: Member DirectionalSensor (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:16: warning: Member TemperatureSensor (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:16: warning: Member TemperatureSensor (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:17: warning: Member TouchSensor (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:17: warning: Member TouchSensor (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:19: warning: Member ControlledMotor (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:19: warning: Member ControlledMotor (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:20: warning: Member UncontrolledMotor (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:20: warning: Member UncontrolledMotor (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:21: warning: Member Servo (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:21: warning: Member Servo (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:23: warning: Member Roboid (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:23: warning: Member Roboid (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:24: warning: Member Humanoid (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:24: warning: Member Humanoid (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:25: warning: Member ExternalSensor (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:25: warning: Member ExternalSensor (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Thing.py:26: warning: Member Animator (variable) of class RoboidControl-python.Thing.Thing.Type is not documented.
|
d:/Python/RoboidControl/RoboidControl/Thing.py:26: warning: Member Animator (variable) of class RoboidControl.Thing.Thing.Type is not documented.
|
||||||
d:/Python/RoboidControl-python/Participants/SiteServer.py:44: warning: Member ProcessParticipantMsg(self, sender, msg) (function) of class SiteServer.SiteServer is not documented.
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:22: warning: Member SetDriveDimensions(self, wheel_diameter, wheel_separation) (function) of class RoboidControl.Things.DifferentialDrive.DifferentialDrive is not documented.
|
||||||
d:/Python/RoboidControl-python/Participants/SiteServer.py:51: warning: Member ProcessNetworkId(self, msg) (function) of class SiteServer.SiteServer is not documented.
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:33: warning: Member SetMotors(self, wheel_left, wheel_right) (function) of class RoboidControl.Things.DifferentialDrive.DifferentialDrive is not documented.
|
||||||
d:/Python/RoboidControl-python/Participants/SiteServer.py:24: warning: Member isolated (variable) of class SiteServer.SiteServer is not documented.
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:46: warning: Found unknown command '@params'
|
||||||
d:/Python/RoboidControl-python/Participants/SiteServer.py:25: warning: Member remote_site (variable) of class SiteServer.SiteServer is not documented.
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:62: warning: @copybrief or @copydoc target 'Thing::Update' not found
|
||||||
d:/Python/RoboidControl-python/Participants/SiteServer.py:32: warning: Member publishInterval (variable) of class SiteServer.SiteServer is not documented.
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:31: warning: Member wheel_left (variable) of class RoboidControl.Things.DifferentialDrive.DifferentialDrive is not documented.
|
||||||
d:/Python/RoboidControl-python/Participants/SiteServer.py:14: warning: Member name (variable) of class SiteServer.SiteServer is not documented.
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:31: warning: Member wheel_right (variable) of class RoboidControl.Things.DifferentialDrive.DifferentialDrive is not documented.
|
||||||
d:/Python/RoboidControl-python/README.md:12: warning: unable to resolve reference to 'RoboidControl::Thing::Thing' for \ref command
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:64: warning: Member angular_velocity_updated (variable) of class RoboidControl.Things.DifferentialDrive.DifferentialDrive is not documented.
|
||||||
d:/Python/RoboidControl-python/README.md:13: warning: unable to resolve reference to 'RoboidControl::ParticipantUDP::ParticipantUDP' for \ref command
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:46: warning: Found unknown command '@params'
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:47: warning: Found unknown command '@params'
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:62: warning: @copybrief or @copydoc target 'Thing::Update' not found
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Things/DifferentialDrive.py:63: warning: @copydetails or @copydoc target 'Thing::Update' not found
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Participants/SiteServer.py:24: warning: Member ProcessParticipantMsg(self, sender, msg) (function) of class SiteServer.SiteServer is not documented.
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Participants/SiteServer.py:29: warning: Member ProcessNetworkId(self, msg) (function) of class SiteServer.SiteServer is not documented.
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Participants/SiteServer.py:21: warning: Member isolated (variable) of class SiteServer.SiteServer is not documented.
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Participants/SiteServer.py:22: warning: Member publishInterval (variable) of class SiteServer.SiteServer is not documented.
|
||||||
|
d:/Python/RoboidControl/RoboidControl/Participants/SiteServer.py:14: warning: Member name (variable) of class SiteServer.SiteServer is not documented.
|
||||||
|
@ -3,6 +3,8 @@ from LinearAlgebra.Quaternion import *
|
|||||||
from LinearAlgebra.SwingTwist import *
|
from LinearAlgebra.SwingTwist import *
|
||||||
from RoboidControl.Messages import *
|
from RoboidControl.Messages import *
|
||||||
|
|
||||||
|
import time
|
||||||
|
|
||||||
class Thing:
|
class Thing:
|
||||||
"""! A thing is the basic building block"""
|
"""! A thing is the basic building block"""
|
||||||
class Type:
|
class Type:
|
||||||
@ -30,48 +32,135 @@ class Thing:
|
|||||||
LinearVelocity = 0x04
|
LinearVelocity = 0x04
|
||||||
AngularVelocity = 0x08
|
AngularVelocity = 0x08
|
||||||
|
|
||||||
def __init__(self, owner = None, thing_id = 0, type = Type.Undetermined, parent = None, name = None):
|
# region Init
|
||||||
"""! Create a new thing """
|
|
||||||
|
|
||||||
## The parent thing
|
|
||||||
self.parent = None
|
|
||||||
if parent is not None:
|
|
||||||
owner = parent.owner
|
|
||||||
self.SetParent(parent)
|
|
||||||
elif owner == None:
|
|
||||||
from RoboidControl.ParticipantUDP import ParticipantUDP
|
|
||||||
owner = ParticipantUDP.Isolated()
|
|
||||||
|
|
||||||
self.children = []
|
|
||||||
|
|
||||||
|
def __init__(self, owner = None, parent = None, thing_type = Type.Undetermined, thing_id = 0):
|
||||||
|
"""! Create a new thing
|
||||||
|
@param owner The owning participant
|
||||||
|
@param parent The parent thing (will override owner if set)
|
||||||
|
@param thing_type The type of thing (can use \ref RoboidControl::Thing::Thing::Type "Thing.Type")
|
||||||
|
@param thingId The ID of the thing, leave out or set to zero to generate an ID
|
||||||
|
"""
|
||||||
## The participant owning this thing
|
## The participant owning this thing
|
||||||
self.owner = owner
|
self.owner = None
|
||||||
## The ID of the thing
|
## The ID of the thing
|
||||||
self.id = thing_id
|
self.id = thing_id
|
||||||
## The type of the thing
|
## The type of the thing
|
||||||
self.type = type
|
#
|
||||||
|
## This can be either a \ref RoboidControl::Thing::Thing::Type "Thing.Type" or a byte value for custom types.
|
||||||
|
self.type = thing_type
|
||||||
|
|
||||||
|
## The parent of this thing
|
||||||
|
self.parent = None
|
||||||
|
if parent is not None:
|
||||||
|
self.owner = parent.owner
|
||||||
|
self.SetParent(parent)
|
||||||
|
elif owner == None:
|
||||||
|
from RoboidControl.ParticipantUDP import ParticipantUDP
|
||||||
|
self.owner = ParticipantUDP.Isolated()
|
||||||
|
|
||||||
|
## The children of this thing
|
||||||
|
self.children = []
|
||||||
|
|
||||||
## The name of the thing
|
## The name of the thing
|
||||||
self.name = name
|
self.name = None
|
||||||
## An URL pointing to the location where a model of the thing can be found
|
## An URL pointing to the location where a model of the thing can be found
|
||||||
self.model_url = None
|
self.model_url = None
|
||||||
|
|
||||||
## The position of the thing in local space, in meters
|
## The position of the thing in local space, in meters
|
||||||
self.position: Spherical = Spherical.zero
|
self.position: Spherical = Spherical.zero
|
||||||
|
## Boolean indicating that the thing has an updated position
|
||||||
self.position_updated: bool = False
|
self.position_updated: bool = False
|
||||||
## The new orientation in local space
|
|
||||||
|
## The orientation of the thing in local space
|
||||||
self.orientation: Quaternion = Quaternion.identity
|
self.orientation: Quaternion = Quaternion.identity
|
||||||
|
## Boolean indicating the thing has an updated orientation
|
||||||
self.orientation_updated: bool = False
|
self.orientation_updated: bool = False
|
||||||
|
|
||||||
## The linear velocity of the thing in local space, in meters per second
|
## The linear velocity of the thing in local space, in meters per second
|
||||||
self.linear_velocity: Spherical = Spherical.zero
|
self.linear_velocity: Spherical = Spherical.zero
|
||||||
|
## Boolean indicating the thing has an updated linear velocity
|
||||||
self.linear_velocity_updated: bool = False
|
self.linear_velocity_updated: bool = False
|
||||||
|
|
||||||
## The angular velocity of the thing in local space, in degrees per second
|
## The angular velocity of the thing in local space, in degrees per second
|
||||||
self.angular_velocity: Spherical = Spherical.zero
|
self.angular_velocity: Spherical = Spherical.zero
|
||||||
|
## Boolean indicating the thing has an updated angular velocity
|
||||||
self.angular_velocity_updated: bool = False
|
self.angular_velocity_updated: bool = False
|
||||||
|
|
||||||
#self.pose_updated = 0x00 # the bits indicate which fields have been updated
|
#self.pose_updated = 0x00 # the bits indicate which fields have been updated
|
||||||
self.owner.Add(self)
|
self.owner.Add(self)
|
||||||
|
|
||||||
|
# endregion Init
|
||||||
|
|
||||||
|
# region Hierarchy
|
||||||
|
|
||||||
|
def SetParent(self, parent):
|
||||||
|
"""! Sets the parent of this Thing
|
||||||
|
@param The Thing which should become the parent
|
||||||
|
@note Do not set Thing.parent directly, as that will break the parent-child relation
|
||||||
|
"""
|
||||||
|
if parent is None:
|
||||||
|
parentThing = self.parent
|
||||||
|
if parentThing is not None:
|
||||||
|
parentThing.RemoveChild(self)
|
||||||
|
self.parent = None
|
||||||
|
else:
|
||||||
|
parent.AddChild(self)
|
||||||
|
|
||||||
|
def AddChild(self, child):
|
||||||
|
"""! Add a child Thing to this Thing
|
||||||
|
@param child The Thing which should become a child
|
||||||
|
@remark When the Thing is already a child, it will not be added again
|
||||||
|
@note Do not add a thing to Thing.children directly, as that will break the parent-child relation
|
||||||
|
"""
|
||||||
|
if child in self.children:
|
||||||
|
return
|
||||||
|
|
||||||
|
child.parent = self
|
||||||
|
self.children.append(child)
|
||||||
|
def RemoveChild(self, child):
|
||||||
|
"""! Remove the given thing as a child of this thing
|
||||||
|
@param child The child to remove
|
||||||
|
"""
|
||||||
|
self.children.remove(child)
|
||||||
|
|
||||||
|
def GetChild(self, thing_id, recurse = False):
|
||||||
|
"""! Get a child by thing Id
|
||||||
|
@param id The thing ID to find
|
||||||
|
@param recurse Look recursively through all descendants
|
||||||
|
@returns The found thing of nullptr when nothing is found
|
||||||
|
"""
|
||||||
|
for child in self.children:
|
||||||
|
if child is None:
|
||||||
|
continue
|
||||||
|
if child.id == thing_id:
|
||||||
|
return child
|
||||||
|
if recurse:
|
||||||
|
found_child = child.GetChild(thing_id, recurse)
|
||||||
|
if found_child is not None:
|
||||||
|
return found_child
|
||||||
|
return None
|
||||||
|
|
||||||
|
def FindChild(self, name, recurse = True):
|
||||||
|
"""! Find a thing by name
|
||||||
|
@param name The name of the thing
|
||||||
|
@return The found thing or nullptr when nothing is found
|
||||||
|
@param recurse Look recursively through all descendants
|
||||||
|
"""
|
||||||
|
for child in self.children:
|
||||||
|
if child is None:
|
||||||
|
continue
|
||||||
|
if child.name == name:
|
||||||
|
return child
|
||||||
|
if recurse:
|
||||||
|
found_child = child.GetChild(name, recurse)
|
||||||
|
if found_child is not None:
|
||||||
|
return found_child
|
||||||
|
return None
|
||||||
|
# endregion Hierarchy
|
||||||
|
|
||||||
|
# region Pose
|
||||||
|
|
||||||
def SetPosition(self, position):
|
def SetPosition(self, position):
|
||||||
"""! Set the position of the thing
|
"""! Set the position of the thing
|
||||||
@param position The new position in local space, in meters
|
@param position The new position in local space, in meters
|
||||||
@ -104,7 +193,22 @@ class Thing:
|
|||||||
|
|
||||||
self.angular_velocity = angular_velocity
|
self.angular_velocity = angular_velocity
|
||||||
|
|
||||||
def Update(self, currentTime, recurse = False):
|
# endregion Pose
|
||||||
|
|
||||||
|
# region Update
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def GetTimeMs():
|
||||||
|
"""! Get the current time in milliseconds
|
||||||
|
@return The current time in milliseconds
|
||||||
|
"""
|
||||||
|
return time.time() * 1000
|
||||||
|
|
||||||
|
def Update(self, currentTime = 0, recurse = False):
|
||||||
|
"""! Update de state of the thing
|
||||||
|
@param currentTimeMs The current clock time in milliseconds; If this is zero, the current time is retrieved automatically
|
||||||
|
@param recurse When true, this will Update the descendants recursively
|
||||||
|
"""
|
||||||
self.position_updated = False
|
self.position_updated = False
|
||||||
self.orientation_updated = False
|
self.orientation_updated = False
|
||||||
self.linear_velocity_updated = False
|
self.linear_velocity_updated = False
|
||||||
@ -116,28 +220,19 @@ class Thing:
|
|||||||
continue
|
continue
|
||||||
child.Update(currentTime, recurse)
|
child.Update(currentTime, recurse)
|
||||||
|
|
||||||
def SetParent(self, parent):
|
# endregion Update
|
||||||
if parent is None:
|
|
||||||
parentThing = self.parent
|
|
||||||
if parentThing is not None:
|
|
||||||
parentThing.RemoveChild(self)
|
|
||||||
self.parent = None
|
|
||||||
else:
|
|
||||||
parent.AddChild(self)
|
|
||||||
|
|
||||||
def AddChild(self, child):
|
|
||||||
if child in self.children:
|
|
||||||
return
|
|
||||||
|
|
||||||
child.parent = self
|
|
||||||
self.children.append(child)
|
|
||||||
|
|
||||||
def RemoveChild(self, child):
|
|
||||||
self.children.remove(child)
|
|
||||||
|
|
||||||
def GenerateBinary(self, buffer, ix_ref) -> int:
|
def GenerateBinary(self, buffer, ix_ref) -> int:
|
||||||
|
"""! Function used to generate binary data for this thing
|
||||||
|
@param buffer The byte array for thw binary data
|
||||||
|
@param ix The starting position for writing the binary data
|
||||||
|
@returns The size of the binary data
|
||||||
|
"""
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
def ProcessBinary(self, data):
|
def ProcessBinary(self, data):
|
||||||
|
"""! Function used to process binary data received for this thing
|
||||||
|
@param bytes The binary data
|
||||||
|
"""
|
||||||
print('default binary processor')
|
print('default binary processor')
|
||||||
pass
|
pass
|
||||||
|
@ -3,7 +3,7 @@ from RoboidControl.Messages import LowLevelMessages
|
|||||||
|
|
||||||
class TemperatureSensor(Thing):
|
class TemperatureSensor(Thing):
|
||||||
def __init__(self, thing_id):
|
def __init__(self, thing_id):
|
||||||
super().__init__(thing_id, type = Thing.Type.TemperatureSensor)
|
super().__init__(thing_id, thing_type = Thing.Type.TemperatureSensor)
|
||||||
self.temp = 0
|
self.temp = 0
|
||||||
self._watchers = []
|
self._watchers = []
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ class TouchSensor(Thing):
|
|||||||
def __init__(self, owner = None, parent = None):
|
def __init__(self, owner = None, parent = None):
|
||||||
"""! Create a touch sensor
|
"""! Create a touch sensor
|
||||||
"""
|
"""
|
||||||
super().__init__(owner = owner, parent = parent, type = Thing.Type.TouchSensor)
|
super().__init__(owner = owner, parent = parent, thing_type = Thing.Type.TouchSensor)
|
||||||
|
|
||||||
## Value which is true when the sensor is touching something, false otherwise
|
## Value which is true when the sensor is touching something, false otherwise
|
||||||
self.touched_something = False
|
self.touched_something = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user