It's actually extremely simple. You check if their position has changed over time. So, if their position has not change (much) after how ever many seconds you want to define, then you can
assume that they are camping.
Note the emphasis on "assume"
__________________