Creating a plugin with a neural network.
Posted: 05 Aug 2022, 15:05
Hello. I plan to experiment with the method of potential fields. I want to add a neural network to this algorithm.
The neural network should:
1) On the basis of experience, indicate which side to bypass the obstacle
2) Calculate the minimum path when bypassing the pripyatstvii
3) Do not allow the robot to enter dead-end places (for example, in bulges and pits)
4) Any other improvements in the future
So far I have the usual method of potential fields with lidar on a wheeled robot. And I would like to develop in drones and drones.
My question is:
How to add a neural network to Coppeliasim (it would be cool not to write it in the program code, but to take an existing one and use it as a plugin in c++)?
When solving this issue, I faced the problem of installing and writing the plugins themselves. I don't understand how to link Coppeliasim and, for example, Visual Studia. I've seen many examples of such work, but I can't find step-by-step instructions with examples of how to get started..
Along the way, tell me how to make plugins anyway and embed them into the program (maybe there are manuals or videos with analysis or examples). Until this day, I wrote everything in the program code (I have a large project), combining the Lua and Sim. language. but now I understand that it would not be wise to write everything in the code of Coppelia itself.
It would be cool if you would show a couple of examples of projects with neural networks on Coppeliasim.
The neural network should:
1) On the basis of experience, indicate which side to bypass the obstacle
2) Calculate the minimum path when bypassing the pripyatstvii
3) Do not allow the robot to enter dead-end places (for example, in bulges and pits)
4) Any other improvements in the future
So far I have the usual method of potential fields with lidar on a wheeled robot. And I would like to develop in drones and drones.
My question is:
How to add a neural network to Coppeliasim (it would be cool not to write it in the program code, but to take an existing one and use it as a plugin in c++)?
When solving this issue, I faced the problem of installing and writing the plugins themselves. I don't understand how to link Coppeliasim and, for example, Visual Studia. I've seen many examples of such work, but I can't find step-by-step instructions with examples of how to get started..
Along the way, tell me how to make plugins anyway and embed them into the program (maybe there are manuals or videos with analysis or examples). Until this day, I wrote everything in the program code (I have a large project), combining the Lua and Sim. language. but now I understand that it would not be wise to write everything in the code of Coppelia itself.
It would be cool if you would show a couple of examples of projects with neural networks on Coppeliasim.