Robot arm that moves and picks up objects on its own