Notifications
Article
Satellite AI
Updated 5 months ago
1.9 K
6
Satellite AI
This project uses ML-Agents to stabilize satellite rotating in one axis. AI controls two satellite engines which can be on or off. Session starts with rotating satellite.
It took two hours of ML-Agents learning to achieve a goal to stabilize satellite, stop rotation and calibrate position of satellite between 0.5 and 359.5 angle in Z axis for minimum 20 seconds. In the movie you will see progress from: - no training (sat rotating with no engines AI control) to: - one hour training (AI controls two engines, but cannot perfect stabilize sat rotation) - and finally successful two hour training (AI controls two engines and calibrate sat) Future next steps will be to stabilize satellite with ML-Agents in two other axis.
Link to GitHub repository:
https://github.com/Emilus666/UnityMLSateliteAI

Emil Leszczynski
CTO/Lead Programmer/Game Designer - SimFabric - Programmer
17
Comments
Emil Leszczynski
5 months ago
CTO/Lead Programmer/Game Designer - SimFabric - Programmer
Marek FergusonI would say you did "dobra", but I am only half Polish. I was just curious, if you could would you put this ai, on a real satellite?
Dobra dobra :D Sure on real satellite it's possible. I think about using ML-Agents in drones for pathfinding in 3D.
0
Marek Ferguson
5 months ago
Digital Learning Specialist Crosstown High - Student
I would say you did "dobra", but I am only half Polish. I was just curious, if you could would you put this ai, on a real satellite?
1
Emil Leszczynski
6 months ago
CTO/Lead Programmer/Game Designer - SimFabric - Programmer
Richard MorwoodGreat work Emil! Can you run us through how your reward function works?
Sure: +reward for: smaller actual z rotation speed than previous smaller delta from goal position than previous use of left engine when rotating to left use of right engine when rotating to right position in range - between 0.5f - 359.5f angle z final goal - 20 sek in range - reward for: greater actual z rotation speed than previous greater delta from goal position than previous use of left engine when rotating to right use of right engine when rotating to left for go away from position in range - between 0.5f - 359.5f angle z for over 10 minutes with no success
0
RM
Richard Morwood
6 months ago
Great work Emil! Can you run us through how your reward function works?
1
Emil Leszczynski
6 months ago
CTO/Lead Programmer/Game Designer - SimFabric - Programmer
Jabrilsawesome work Emil! Great ML demo!
Thanks! It's nice to hear that you like it :) It's awesome plugin with many possibilities :)
0