aidotse / aidotse/PASEOS

Manage missing orbits for local spacecraft actor.

未关闭
#76 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue help wanted physical-model user-facing
主要语言
Python
星标
61
派生
16
平均合并
32 分钟
30 天内合并 PR
8

描述

# 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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with the README example under “How to deal with PASEOS activities,” then trace sim.perform_activity(...) for the local SpacecraftActor path. Reproduce the failure with ActorBuilder.set_orbit(...) commented out; done means the call raises a clear error directing users to set an orbit before performing the activity.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。