Hi!
I’m trying to make somewhat of a Falcon 9 imitation and I have built and developed the code for the reusable booster. However, the payload, which is supposed to automatically orient and boost into a higher suborbital trajectory, will not orient. It will do anything else, but the gyroscope makes no effort to even try to point in the right direction.
I got this in the dev console:
102>: Cannot lock nav sphere because this is not the player craft.
This is pretty self explanatory, but a befuddling obstacle all in the same.
Would anyone have any info of how to get around this in the code of the craft? I should mention that the payload’s command module is not the primary, which causes the error. The command module in the landing booster is the primary.
I also should mention I’m on mobile.
Completely unrelated, but where is the search bar in this website?!

Tags
Question

2 Comments

  • Log in to leave a comment
  • Profile image

    Alright. Thank you for the feedback. Quick ask: Even after researching a PID controller I still don’t understand it. If you could, describe a PID controller in simplistic terms if it isn’t too much trouble.
    @Tweedle_Aerospace

    3.3 years ago
  • Profile image

    You could do this with a custom PID controller. Possibly. I will make a test program for you. You can control inputs when not using the craft but you can’t lock heading.

    3.3 years ago

1 Upvote

Log in in to upvote this post.