Hello,
I am new to v-rep and have more of a general question. If I write a simulation for the Quadricopter Drone in V-rep, how can I get the program on a real robot drone? I mean, what requirements does the real quadricopter have to fulfill for it to run the code from the simulation? How would I even get it on the drone? Would it work with the Parrot AR Drone? (http://ardrone2.parrot.com/usa/)
Thank you and kind regards,
David
Quadricopter Drone Simulation and Real
Re: Quadricopter Drone Simulation and Real
Hello David,
Best would be to have your original code on the quadricopter slightly modified, and instead of sending motor commands or receiving sensor data to/from the real robot, have them go to/come from the simulated robot. For that you can use either:
You have many other possibilities, but above two are the most often used ones, and probably the easier ones.
Cheers
Best would be to have your original code on the quadricopter slightly modified, and instead of sending motor commands or receiving sensor data to/from the real robot, have them go to/come from the simulated robot. For that you can use either:
You have many other possibilities, but above two are the most often used ones, and probably the easier ones.
Cheers
Re: Quadricopter Drone Simulation and Real
Hello coppelia,
thanks for your prompt answer. Since I am still very new to this excuse me if I don't quite understand yet.
So are there requirements that the real robot has to fulfill in order for your proposed solution to work? I mean does the robot need to run a certain operating system/ROS? How do I know if it does? Is there a tutorial that explains this solution from simulation to real robot (preferably quadricopter)?
Thanks again,
David
thanks for your prompt answer. Since I am still very new to this excuse me if I don't quite understand yet.
So are there requirements that the real robot has to fulfill in order for your proposed solution to work? I mean does the robot need to run a certain operating system/ROS? How do I know if it does? Is there a tutorial that explains this solution from simulation to real robot (preferably quadricopter)?
Thanks again,
David
Re: Quadricopter Drone Simulation and Real
When using the remote API, following are the requirements to your hardware (i.e. quadricopter):
Additionally, you can also read from here.
Cheers
- Your hardware needs to have a socket communication interface (in order to link it to V-REP)
- You should be able to add 2-3 C-source code files to your project on your hardware, and compile those files together with your project.
Additionally, you can also read from here.
Cheers