Manage missing orbits for local spacecraft actor.

Đang mở
#76 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu với ví dụ trong README tại “How to deal with PASEOS activities”, sau đó theo dõi sim.perform_activity(...) cho đường đi cục bộ của SpacecraftActor. Tái hiện lỗi bằng cách comment ActorBuilder.set_orbit(...); hoàn thành khi lệnh gọi tạo ra một lỗi rõ ràng hướng dẫn người dùng thiết lập quỹ đạo trước khi thực hiện hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug good first issue help wanted physical-model user-facing

Issue

Problem Description

At the moment, if the local spacecraftActor tries to run an activity when an orbit is not assigned, a not clear error is raised.

Expected Behavior

An appropriate error shall be raised suggesting to add "ActorBuilder.set_orbit(...)" when sim.perform_activity(...) is called, if the actor is a spacecraftActor missing of activity.

What Needs to be Done

If an actor is a SpacecraftActor, when sim.perform_activity(...) is called, it is necessary to check if an orbit is assigned and, otherwise, raise an appropriate error.

How Can It Be Tested or Reproduced

Try the example in the README on "How to deal with PASEOS activities" and comment the call to the "ActorBuilder.set_orbit(...)" function., before launching the activity.

Ngôn ngữ chính
Python
Star
64
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aidotse/PASEOS

Tất cả issue của aidotse/PASEOS

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.