Stone-Soup icon indicating copy to clipboard operation
Stone-Soup copied to clipboard

Platforms can both 'move' and 'act'

Open nperree-dstl opened this issue 10 months ago • 1 comments

With the introduction of actionable platforms, where all Movables inherit from Actionable (# ), platforms now have both an act() and move() method. This is confusing, especially when using sensor management to task them, and in some cases causes missing functionality if the wrong one is used.

nperree-dstl avatar Apr 30 '24 09:04 nperree-dstl

I think it would make sense to have act() as standard method, and then have move() call act() for backwards compatibility. Aware this isn't a simple fix of just doing this, as the functionality of move() needs to be factored into the act() method with the other possible actions.

sdhiscocks avatar Apr 30 '24 09:04 sdhiscocks