diff --git a/.gitignore b/.gitignore index dc49d8c..501c20e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ DoxyGen/DoxyWarnLogfile.txt **/__pycache__/* RoboidControl.egg-info/ -build/* \ No newline at end of file +build/* +DoxyGen/DoxyWarnLogfile.txt diff --git a/DoxyGen/DoxyWarnLogfile.txt b/DoxyGen/DoxyWarnLogfile.txt index a1cea5e..bf93028 100644 --- a/DoxyGen/DoxyWarnLogfile.txt +++ b/DoxyGen/DoxyWarnLogfile.txt @@ -78,67 +78,82 @@ d:/Python/RoboidControl/RoboidControl/LinearAlgebra/LinearAlgebra/SwingTwist.py: 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/RoboidControl/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/RoboidControl/Participants/ParticipantUDP.py:92: warning: Member GetParticipant(self, str ip_address, int port) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:102: warning: Member AddParticipant(self, str ip_address, int port) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:128: warning: Member UpdateMyThings(self, int currentTimeMs) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:157: warning: Member SendThingInfo(self, Participant owner, 'Thing' thing, bool recursively=False) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:168: warning: Member PublishThingInfo(self, Thing thing) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:175: warning: Member Send(self, Participant owner, IMessage msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:184: warning: Member Publish(self, IMessage msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:197: warning: Member Receiver(self) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:213: warning: Member ReceiveData(self, bytes data, Participant sender) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:234: warning: Member ProcessParticipantMsg(self, Participant sender, ParticipantMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:237: warning: Member ProcessSiteIdMsg(self, Participant sender, NetworkIdMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:245: warning: Member ProcessInvestigateMsg(self, Participant sender, InvestigateMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:248: warning: Member ProcessThingMsg(self, ThingMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:251: warning: Member ProcessNameMsg(self, NameMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:254: warning: Member ProcessModelUrlMsg(self, ModelUrlMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:257: warning: Member ProcessPoseMsg(self, Participant sender, PoseMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:277: warning: Member ProcessBinaryMsg(self, BinaryMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:83: warning: Member Isolated() (function) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:67: warning: Member is_isolated (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:69: warning: Member remote_site (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:74: warning: Member udp_socket (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:76: warning: Member port (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:78: warning: Member thread (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:122: warning: Member nextPublishMe (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:139: warning: Member network_id (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:42: warning: Member name (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:90: warning: Member isolated_participant (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:126: warning: Member nextPublishMe (variable) of class ParticipantUDP.ParticipantUDP is not documented. -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:51: warning: argument 'ipAddress' of command @param is not found in the argument list of ParticipantUDP::__init__(self, int port=7681, Optional[str] ip_address=None, int local_port=7681) -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:51: warning: argument 'localPort' of command @param is not found in the argument list of ParticipantUDP::__init__(self, int port=7681, Optional[str] ip_address=None, int local_port=7681) -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:51: warning: The following parameters of ParticipantUDP.ParticipantUDP.__init__(self, int port=7681, Optional[str] ip_address=None, int local_port=7681) are not documented: +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:114: warning: Member UpdateMyThings(self, int currentTimeMs) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:141: warning: Member SendThingInfo(self, Participant owner, 'Thing' thing, bool recursively=False) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:152: warning: Member PublishThingInfo(self, Thing thing) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:159: warning: Member Send(self, Participant owner, IMessage msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:168: warning: Member Publish(self, IMessage msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:181: warning: Member Receiver(self) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:197: warning: Member ReceiveData(self, bytes data, Participant sender) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:218: warning: Member ProcessParticipantMsg(self, Participant sender, ParticipantMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:221: warning: Member ProcessSiteIdMsg(self, Participant sender, NetworkIdMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:229: warning: Member ProcessInvestigateMsg(self, Participant sender, InvestigateMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:232: warning: Member ProcessThingMsg(self, Participant sender, ThingMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:235: warning: Member ProcessNameMsg(self, Participant sender, NameMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:248: warning: Member ProcessModelUrlMsg(self, Participant sender, ModelUrlMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:251: warning: Member ProcessPoseMsg(self, Participant sender, PoseMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:271: warning: Member ProcessBinaryMsg(self, Participant sender, BinaryMsg msg) (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:85: warning: Member Isolated() (function) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:68: warning: Member is_isolated (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:70: warning: Member remote_site (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:76: warning: Member udp_socket (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:78: warning: Member port (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:80: warning: Member thread (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:108: warning: Member nextPublishMe (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:125: warning: Member network_id (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:43: warning: Member name (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:92: warning: Member isolated_participant (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:112: warning: Member nextPublishMe (variable) of class ParticipantUDP.ParticipantUDP is not documented. +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:52: warning: argument 'ipAddress' of command @param is not found in the argument list of ParticipantUDP::__init__(self, int port=7681, Optional[str] ip_address=None, int local_port=7681) +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:52: warning: argument 'localPort' of command @param is not found in the argument list of ParticipantUDP::__init__(self, int port=7681, Optional[str] ip_address=None, int local_port=7681) +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:52: warning: The following parameters of ParticipantUDP.ParticipantUDP.__init__(self, int port=7681, Optional[str] ip_address=None, int local_port=7681) are not documented: parameter 'ip_address' parameter 'local_port' -d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:110: warning: argument 'The' of command @param is not found in the argument list of ParticipantUDP::Update(self, Optional[int] currentTimeMs=None) inherited from member Update at line 62 in file d:/Python/RoboidControl/RoboidControl/Participant.py -d:/Python/RoboidControl/RoboidControl/Participant.py:62: warning: The following parameter of ParticipantUDP.ParticipantUDP.Update(self, Optional[int] currentTimeMs=None) is not documented: +d:/Python/RoboidControl/RoboidControl/Participants/ParticipantUDP.py:96: warning: argument 'The' of command @param is not found in the argument list of ParticipantUDP::Update(self, Optional[int] currentTimeMs=None) inherited from member Update at line 63 in file d:/Python/RoboidControl/RoboidControl/Participant.py +d:/Python/RoboidControl/RoboidControl/Participant.py:63: warning: The following parameter of ParticipantUDP.ParticipantUDP.Update(self, Optional[int] currentTimeMs=None) is not documented: parameter 'currentTimeMs' -d:/Python/RoboidControl/RoboidControl/Messages/DestroyMsg.py:23: warning: Member thing_id (variable) of class RoboidControl.Messages.DestroyMsg.DestroyMsg is not documented. -d:/Python/RoboidControl/RoboidControl/Messages/DestroyMsg.py:40: warning: Member network_id (variable) of class RoboidControl.Messages.DestroyMsg.DestroyMsg is not documented. -d:/Python/RoboidControl/RoboidControl/Messages/DestroyMsg.py:10: warning: Member id (variable) of class RoboidControl.Messages.DestroyMsg.DestroyMsg is not documented. -d:/Python/RoboidControl/RoboidControl/Messages/DestroyMsg.py:11: warning: Member length (variable) of class RoboidControl.Messages.DestroyMsg.DestroyMsg is not documented. -d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:17: warning: Member network_id (variable) of class RoboidControl.Messages.NetworkIdMsg.NetworkIdMsg is not documented. -d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:9: warning: Member id (variable) of class RoboidControl.Messages.NetworkIdMsg.NetworkIdMsg is not documented. -d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:10: warning: Member length (variable) of class RoboidControl.Messages.NetworkIdMsg.NetworkIdMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/DestroyMsg.py:26: warning: Member network_id (variable) of class RoboidControl.Messages.DestroyMsg.DestroyMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/DestroyMsg.py:27: warning: Member thing_id (variable) of class RoboidControl.Messages.DestroyMsg.DestroyMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/IMessage.py:9: warning: argument 'ref_buffer' of command @param is not found in the argument list of IMessage::Serialize(self, list[bytearray] buffer_ref) +d:/Python/RoboidControl/RoboidControl/Messages/IMessage.py:9: warning: The following parameter of RoboidControl.Messages.IMessage.IMessage.Serialize(self, list[bytearray] buffer_ref) is not documented: + parameter 'buffer_ref' +d:/Python/RoboidControl/RoboidControl/Messages/InvestigateMsg.py:44: warning: Member network_id (variable) of class RoboidControl.Messages.InvestigateMsg.InvestigateMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/ModelUrlMsg.py:49: warning: argument 'ref_buffer' of command @param is not found in the argument list of ModelUrlMsg::Serialize(self, list[bytearray] buffer_ref) +d:/Python/RoboidControl/RoboidControl/Messages/ModelUrlMsg.py:49: warning: The following parameter of RoboidControl.Messages.ModelUrlMsg.ModelUrlMsg.Serialize(self, list[bytearray] buffer_ref) is not documented: + parameter 'buffer_ref' +d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:23: warning: Member network_id (variable) of class RoboidControl.Messages.NetworkIdMsg.NetworkIdMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:30: warning: argument 'ref_buffer' of command @param is not found in the argument list of NetworkIdMsg::Serialize(self, list[bytearray] buffer_ref) +d:/Python/RoboidControl/RoboidControl/Messages/NetworkIdMsg.py:30: warning: The following parameter of RoboidControl.Messages.NetworkIdMsg.NetworkIdMsg.Serialize(self, list[bytearray] buffer_ref) is not documented: + parameter 'buffer_ref' 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/RoboidControl/Participant.py:84: warning: Member AddParticipant(Union[str, int] arg1, Optional[int] port) (function) of class RoboidControl.Participant.Participant is not documented. -d:/Python/RoboidControl/RoboidControl/Participant.py:70: warning: Member GetParticipant(Union[str, int] arg1, Optional[int] port) (function) of class RoboidControl.Participant.Participant is not documented. -d:/Python/RoboidControl/RoboidControl/Participant.py:64: warning: Member things (variable) of class RoboidControl.Participant.Participant is not documented. -d:/Python/RoboidControl/RoboidControl/Participant.py:67: warning: Member participants (variable) of class RoboidControl.Participant.Participant is not documented. -d:/Python/RoboidControl/RoboidControl/Participant.py:62: warning: argument 'The' of command @param is not found in the argument list of Participant::Update(self, int currentTimeMs=0) -d:/Python/RoboidControl/RoboidControl/Participant.py:62: warning: The following parameter of RoboidControl.Participant.Participant.Update(self, int currentTimeMs=0) is not documented: +d:/Python/RoboidControl/RoboidControl/Messages/PoseMsg.py:60: warning: Member position (variable) of class RoboidControl.Messages.PoseMsg.PoseMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/PoseMsg.py:62: warning: Member orientation (variable) of class RoboidControl.Messages.PoseMsg.PoseMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/PoseMsg.py:64: warning: Member linear_velocity (variable) of class RoboidControl.Messages.PoseMsg.PoseMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/PoseMsg.py:66: warning: Member angular_velocity (variable) of class RoboidControl.Messages.PoseMsg.PoseMsg is not documented. +d:/Python/RoboidControl/RoboidControl/Messages/PoseMsg.py:87: warning: argument 'ref_buffer' of command @param is not found in the argument list of PoseMsg::Serialize(self, buffer_ref) +d:/Python/RoboidControl/RoboidControl/Messages/PoseMsg.py:87: warning: The following parameter of RoboidControl.Messages.PoseMsg.PoseMsg.Serialize(self, buffer_ref) is not documented: + parameter 'buffer_ref' +d:/Python/RoboidControl/RoboidControl/Messages/TextMsg.py:37: warning: argument 'ref_buffer' of command @param is not found in the argument list of TextMsg::Serialize(self, buffer_ref) +d:/Python/RoboidControl/RoboidControl/Messages/TextMsg.py:37: warning: The following parameter of RoboidControl.Messages.TextMsg.TextMsg.Serialize(self, buffer_ref) is not documented: + parameter 'buffer_ref' +d:/Python/RoboidControl/RoboidControl/Messages/ThingMsg.py:49: warning: argument 'ref_buffer' of command @param is not found in the argument list of ThingMsg::Serialize(self, list[bytearray] buffer_ref) +d:/Python/RoboidControl/RoboidControl/Messages/ThingMsg.py:49: warning: The following parameter of RoboidControl.Messages.ThingMsg.ThingMsg.Serialize(self, list[bytearray] buffer_ref) is not documented: + parameter 'buffer_ref' +d:/Python/RoboidControl/RoboidControl/Participant.py:65: warning: Member things (variable) of class RoboidControl.Participant.Participant is not documented. +d:/Python/RoboidControl/RoboidControl/Participant.py:68: warning: Member participants (variable) of class RoboidControl.Participant.Participant is not documented. +d:/Python/RoboidControl/RoboidControl/Participant.py:63: warning: argument 'The' of command @param is not found in the argument list of Participant::Update(self, int currentTimeMs=0) +d:/Python/RoboidControl/RoboidControl/Participant.py:63: warning: The following parameter of RoboidControl.Participant.Participant.Update(self, int currentTimeMs=0) is not documented: parameter 'currentTimeMs' d:/Python/RoboidControl/RoboidControl/Thing.py:57: warning: Member owner (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:109: warning: Member parent (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:168: warning: Member position (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:169: warning: Member position_updated (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:175: warning: Member orientation (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:176: warning: Member orientation_updated (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:183: warning: Member linear_velocity_updated (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:185: warning: Member linear_velocity (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:192: warning: Member angular_velocity_updated (variable) of class RoboidControl.Thing.Thing is not documented. -d:/Python/RoboidControl/RoboidControl/Thing.py:194: warning: Member angular_velocity (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:111: warning: Member parent (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:170: warning: Member position (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:171: warning: Member position_updated (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:177: warning: Member orientation (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:178: warning: Member orientation_updated (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:185: warning: Member linear_velocity_updated (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:187: warning: Member linear_velocity (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:194: warning: Member angular_velocity_updated (variable) of class RoboidControl.Thing.Thing is not documented. +d:/Python/RoboidControl/RoboidControl/Thing.py:196: warning: Member angular_velocity (variable) of class RoboidControl.Thing.Thing is not documented. d:/Python/RoboidControl/RoboidControl/Thing.py:31: warning: Member Position (variable) of class RoboidControl.Thing.Thing is not documented. d:/Python/RoboidControl/RoboidControl/Thing.py:32: warning: Member Orientation (variable) of class RoboidControl.Thing.Thing is not documented. d:/Python/RoboidControl/RoboidControl/Thing.py:33: warning: Member LinearVelocity (variable) of class RoboidControl.Thing.Thing is not documented. @@ -146,23 +161,23 @@ d:/Python/RoboidControl/RoboidControl/Thing.py:34: warning: Member AngularVeloci d:/Python/RoboidControl/RoboidControl/Thing.py:40: warning: argument 'thingId' of command @param is not found in the argument list of Thing::__init__(self, Optional[ 'Participant'] owner=None, Optional[ 'Thing'] parent=None, int thing_type=Type.Undetermined, int thing_id=0) d:/Python/RoboidControl/RoboidControl/Thing.py:40: warning: The following parameter of RoboidControl.Thing.Thing.__init__(self, Optional[ 'Participant'] owner=None, Optional[ 'Thing'] parent=None, int thing_type=Type.Undetermined, int thing_id=0) is not documented: parameter 'thing_id' -d:/Python/RoboidControl/RoboidControl/Thing.py:102: warning: argument 'The' of command @param is not found in the argument list of Thing::SetParent(self, Optional[ 'Thing'] parent) -d:/Python/RoboidControl/RoboidControl/Thing.py:102: warning: The following parameter of RoboidControl.Thing.Thing.SetParent(self, Optional[ 'Thing'] parent) is not documented: +d:/Python/RoboidControl/RoboidControl/Thing.py:104: warning: argument 'The' of command @param is not found in the argument list of Thing::SetParent(self, Optional[ 'Thing'] parent) +d:/Python/RoboidControl/RoboidControl/Thing.py:104: warning: The following parameter of RoboidControl.Thing.Thing.SetParent(self, Optional[ 'Thing'] parent) is not documented: parameter 'parent' -d:/Python/RoboidControl/RoboidControl/Thing.py:133: warning: argument 'id' of command @param is not found in the argument list of Thing::GetChild(self, int thing_id, bool recurse=False) -d:/Python/RoboidControl/RoboidControl/Thing.py:133: warning: The following parameter of RoboidControl.Thing.Thing.GetChild(self, int thing_id, bool recurse=False) is not documented: +d:/Python/RoboidControl/RoboidControl/Thing.py:135: warning: argument 'id' of command @param is not found in the argument list of Thing::GetChild(self, int thing_id, bool recurse=False) +d:/Python/RoboidControl/RoboidControl/Thing.py:135: warning: The following parameter of RoboidControl.Thing.Thing.GetChild(self, int thing_id, bool recurse=False) is not documented: parameter 'thing_id' -d:/Python/RoboidControl/RoboidControl/Thing.py:180: warning: argument 'linearVelocity' of command @param is not found in the argument list of Thing::SetLinearVelocity(self, Spherical linear_velocity) -d:/Python/RoboidControl/RoboidControl/Thing.py:180: warning: The following parameter of RoboidControl.Thing.Thing.SetLinearVelocity(self, Spherical linear_velocity) is not documented: +d:/Python/RoboidControl/RoboidControl/Thing.py:182: warning: argument 'linearVelocity' of command @param is not found in the argument list of Thing::SetLinearVelocity(self, Spherical linear_velocity) +d:/Python/RoboidControl/RoboidControl/Thing.py:182: warning: The following parameter of RoboidControl.Thing.Thing.SetLinearVelocity(self, Spherical linear_velocity) is not documented: parameter 'linear_velocity' -d:/Python/RoboidControl/RoboidControl/Thing.py:189: warning: argument 'angularVelocity' of command @param is not found in the argument list of Thing::SetAngularVelocity(self, Spherical angular_velocity) -d:/Python/RoboidControl/RoboidControl/Thing.py:189: warning: The following parameter of RoboidControl.Thing.Thing.SetAngularVelocity(self, Spherical angular_velocity) is not documented: +d:/Python/RoboidControl/RoboidControl/Thing.py:191: warning: argument 'angularVelocity' of command @param is not found in the argument list of Thing::SetAngularVelocity(self, Spherical angular_velocity) +d:/Python/RoboidControl/RoboidControl/Thing.py:191: warning: The following parameter of RoboidControl.Thing.Thing.SetAngularVelocity(self, Spherical angular_velocity) is not documented: parameter 'angular_velocity' -d:/Python/RoboidControl/RoboidControl/Thing.py:225: warning: argument 'buffer' of command @param is not found in the argument list of Thing::GenerateBinary(self, bytearray bytes, set[int] ix_ref) -d:/Python/RoboidControl/RoboidControl/Thing.py:225: warning: The following parameter of RoboidControl.Thing.Thing.GenerateBinary(self, bytearray bytes, set[int] ix_ref) is not documented: +d:/Python/RoboidControl/RoboidControl/Thing.py:227: warning: argument 'buffer' of command @param is not found in the argument list of Thing::GenerateBinary(self, bytearray bytes, set[int] ix_ref) +d:/Python/RoboidControl/RoboidControl/Thing.py:227: warning: The following parameter of RoboidControl.Thing.Thing.GenerateBinary(self, bytearray bytes, set[int] ix_ref) is not documented: parameter 'bytes' -d:/Python/RoboidControl/RoboidControl/Thing.py:233: warning: argument 'bytes' of command @param is not found in the argument list of Thing::ProcessBinary(self, bytes data) -d:/Python/RoboidControl/RoboidControl/Thing.py:233: warning: The following parameter of RoboidControl.Thing.Thing.ProcessBinary(self, bytes data) is not documented: +d:/Python/RoboidControl/RoboidControl/Thing.py:235: warning: argument 'bytes' of command @param is not found in the argument list of Thing::ProcessBinary(self, bytes data) +d:/Python/RoboidControl/RoboidControl/Thing.py:235: warning: The following parameter of RoboidControl.Thing.Thing.ProcessBinary(self, bytes data) is not documented: parameter 'data' d:/Python/RoboidControl/RoboidControl/Thing.py:13: warning: Member Undetermined (variable) of class RoboidControl.Thing.Thing.Type is not documented. d:/Python/RoboidControl/RoboidControl/Thing.py:15: warning: Member Switch (variable) of class RoboidControl.Thing.Thing.Type is not documented. diff --git a/RoboidControl/Messages/ModelUrlMsg.py b/RoboidControl/Messages/ModelUrlMsg.py index d99dee9..de30f90 100644 --- a/RoboidControl/Messages/ModelUrlMsg.py +++ b/RoboidControl/Messages/ModelUrlMsg.py @@ -38,10 +38,16 @@ class ModelUrlMsg(IMessage): self.network_id: int = int(arg1) ## The ID of the thing self.thing_id: int = thing.id - ## The URL - self.url: Optional[str] = thing.model_url.encode('utf-8') - ## The length of the encoded URL - self.url_length = len(self.url) + if thing.model_url is None: + ## The URL + self.url: Optional[str] = None + ## The length of the encoded URL + self.url_length = 0 + else: + ## The URL + self.url: Optional[str] = thing.model_url.encode('utf-8') + ## The length of the encoded URL + self.url_length = len(self.url) def Serialize(self, buffer_ref: list[bytearray]): """! diff --git a/RoboidControl/Messages/NameMsg.py b/RoboidControl/Messages/NameMsg.py index abc3995..8e601fd 100644 --- a/RoboidControl/Messages/NameMsg.py +++ b/RoboidControl/Messages/NameMsg.py @@ -37,8 +37,7 @@ class NameMsg(IMessage): self.name: Optional[str] = None else: self.name: Optional[str] = thing.name.encode('utf-8') - ## The length of the encoded name - self.name_length = len(self.name) + self.name_length = len(self.name) def Serialize(self, buffer_ref: list[bytearray]): """! diff --git a/RoboidControl/Participant.py b/RoboidControl/Participant.py index c30b815..9f1c92e 100644 --- a/RoboidControl/Participant.py +++ b/RoboidControl/Participant.py @@ -28,6 +28,8 @@ class Participant: ## The things managed by this participant self.things: set[Thing] = set() + self.root: Thing = Thing.CreateRoot(self) + def Get(self, thing_id: int) -> Optional[Thing]: """! Get the thing with the given properties diff --git a/RoboidControl/Participants/SiteServer.py b/RoboidControl/Participants/SiteServer.py index 9545b27..a362d2d 100644 --- a/RoboidControl/Participants/SiteServer.py +++ b/RoboidControl/Participants/SiteServer.py @@ -3,8 +3,11 @@ from RoboidControl.Messages.ParticipantMsg import ParticipantMsg from RoboidControl.Messages.NetworkIdMsg import NetworkIdMsg from RoboidControl.Messages.ThingMsg import ThingMsg from RoboidControl.Things.TemperatureSensor import TemperatureSensor +from RoboidControl.Things.TouchSensor import TouchSensor +from RoboidControl.Things.DifferentialDrive import DifferentialDrive from RoboidControl.Thing import Thing + from typing import Optional class SiteServer(ParticipantUDP): @@ -48,7 +51,16 @@ class SiteServer(ParticipantUDP): else: parent = None - Thing(owner=sender, thing_type=msg.thing_type, thing_id=msg.thing_id, parent = parent) + match (msg.thing_type): + case Thing.Type.TouchSensor: + thing = TouchSensor(parent = sender.root) + case Thing.Type.DifferentialDrive: + thing = DifferentialDrive(parent = sender.root) + case _: + thing = Thing(parent= sender.root) + thing.id = msg.thing_id + thing.type = msg.thing_type + thing.parent = parent #endregion Receive \ No newline at end of file diff --git a/RoboidControl/Thing.py b/RoboidControl/Thing.py index f345674..540fe82 100644 --- a/RoboidControl/Thing.py +++ b/RoboidControl/Thing.py @@ -95,6 +95,10 @@ class Thing: if self.owner is not None: self.owner.Add(self) + @staticmethod + def CreateRoot(owner): + return Thing(owner = owner) + # endregion Init # region Hierarchy