#How to make a guidance system
1 messages · Page 1 of 1 (latest)
Please provide more information about your problem
Okay. So I want to create a guidance system for rockets drones planes etc. That allows them to get from point a to point b without hitting anything and without external guidance like a controler
Basically self driving/self flying
Dude it will be a long rigorous coding journey to create this type of software. Start your project in GitHub and paste information about your project in #826138466101755995 so interested people can contribute in it.
Your idea is quite complicated and it will require a lot of work.
I am prepared
Then create a repo in GitHub and start working on it
Okay
Do I need to make a github account?
It's Up to you most developers have it.
OK thanks
Further you can get help from chat gpt.
Chat gpt will provide you a step by step guide on how you can create this software and what would be requirements for it.
just saying that you want to make a guidance system for drones and rockets is quite vague , the idea is great dont get me wrong , but this is not exactly a problem , first you will have to figure out how you are gonna program it , i am assumming when u say for drones it will be built into drones so for that you will have to know what kind of drones exist and how they can be programmed if they can that is , we dont know if we can use python or we are gonna require some other low level programming language then I assume u will have to mount a camera or some way your code / program can understand surroudings and then maybe come up with a path finding algorithm and then lastly you will also have to write the code to like control the drone itself
this is a very complex project which will include learning a lot of stuff which ranges from basics of programming to complex hardware stuff .
How to make a guidance system
What did you try so far?
I'm currently trying see if I can do it in python. Then convert to Java
Mmhm. But it's not impossible
What is your current level of programming?
Is your goal to simulate a drone? Or to program a hardware drone? If the later, you will need another language than Python (or Java for that matter): most likely you will need to use C or C++ (maybe some assembly depending of if you wanna speed up some process). You will need to learned about microcontrollers and everything embedded programming related
Intermediate. Only now going seriously since I started college
Simulate I guess. I don't really have the money to get a drone and stuff
Ok, for a simulation I guess you could do it in Python, but I would still recommend using C/C++.
Then you can run your simulation on hardware simulator such as QEMU
If you wanna just build a UI, Python probably okay, but for the backend and all the mechanics, C++ will be the way to go
Okay. I'm gonna have to learn C then. So C in all it's Forms does the background heavy lifting?
What do you mean by “background heavy lifting?” ?
The things you usually don't think about. Like changing text color
I do think about everything in software development lol. You mean UI text color? If so, yes, you can change the color of the text outputted in the terminal with C
Okay
Thank you
You just have to add ANSI code to your print statement
Okay
;compile cpp
#include <stdio.h>
int main()
{
printf( "\033[1;31mHello\033[0m");
return 0;
}
Hello
You can’t see it in discord, but I added red color around the hello (if you try it in your terminal, you will see the Hello printed in red
A guide or this^
https://github.com/drjdlarson/gncpp here is a similar idea written in C++ and Python.
Morning