Planning of vehicle and of its manipulator arm