[INSTRM-1326] Disallow attempting to send command from an actor's broadcast command Created: 20/Jul/21  Updated: 20/Jul/21

Status: Open
Project: Instrument control development
Component/s: tron_actorcore, tron_tron
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 1

 Description   

When sending an command to another actor with, e.g. self.actor.cmdr.call(), it is best to declare which command we are executing, with .call(forUserCmd=. Turn out that the hub rejects command send from an actor's broadcast command. Not positive that is the right thing to do, but it does feel right.

Two problems, though. One is that tron silently drops the command very early. The other is that the actorcore library allows such commands to be sent. This ticket addresses the second point: raise an exception when such commands are attempted.


Generated at Sat Feb 10 16:34:12 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.