I am a newbie in Raspberry Pi and I don't know anything about Ubuntu, or ARM, etc. so please be patient in answering me and please, please guide me step by step. But I know how to run codes in C++ using libraries. Has anyone implemented an LQR controller in C++ in Raspberry Pi before? Can you tell me all the steps that you did? I am just afraid that something will get damaged if I install or modify anything in the Raspberry Pi because I really don't know anything.

closed as too broad by N. Staub, sempaiscuba, Greenonline, Ugo, Chuck Dec 10 at 16:53

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to Robotics John Smith, but I'm afraid that questions asking for code are off-topic because there are many ways to solve any given coding problem. We prefer practical, answerable questions based on actual problems that you face, so please try to include what you want to achieve, what you tried, what you saw & what you expected to see. Please take a look at How to Ask, tour and the Robotics question checklist for advice on writing a good question. – Chuck Dec 10 at 16:23
  • It's not clear what you're thinking you need to install or modify, why you think there would be an issue, or what other problems you're having. Is it just that you're just nervous to start? If that's the case then I would recommend you try some C++ tutorials to get started and use those to build up to the project you're trying to do. – Chuck Dec 10 at 16:52