Is it a lawful order to command a person who is not committing a crime to move from a public sidewalk she has every right to be on?
Did he tell her to move off the sidewalk? Or did he tell her to stay where she was and let the robot navigate around her?
Police can definitely order you to stop obstructing a public right of way.