For a Robot: Are use cases and UML use case diagrams relevant for describing a robot and its obstacle detection capability?
Example:
Two characteristics are of interest:
(1) A physical mobile robot
(2) The robot has an obstacle detection software subsystem to avoid obstacles
Questions:
Is a detected object an actor?
Or maybe the only actor is a human who pressed the Power On button, maybe many hours or days ago?
Following on from the above, is it of any use / relevancy to draw a simple UML use case diagram for the simple relationship between the obstacle detection subsystem (the use case ‘oval shape’ inside the system boundary) and a detected object outside the system boundary?
Thanks
Avi
An actor is someone or something that interacts with a system under consideration (SUC). Now, it all depends on the perspective. Whom is the SUC targeted for? If it's some task to be automated and the robot is the one to do it for a human then the robot('s software) is the SUC. The obstacles can be (secondary) actors and the humans as well (if they are only there to turn the system on). In order to answer your question you first need to clarify the purpose of the SUC. Once that is clear you can find the actors. And finally you are able to find the added value the SUC brings to its (primary) actors. If the intention is to build a robot that circles just around obstacles, the primary actor is probably a human watching it and having fun. A bit obscure, but that would be the main use case. If the obstacle avoiding is only to find a way to help endangered persons by a robot (to be on the other end of the scale) then the use case would be to find people and the obstacle avoidance only a strong constraint. Edit If it's a SAR scenario then the searched person is an actor and it's UC would be "Get help" or so.
Generally I suggest to read Bittner/Spence about use cases. Definitely the best way to learn what UC are actually about.