Comments (13)
Thank you for your reply i try it and will reply you.
from bebops.
I don't know if I got well your question. However, in the Wiki is the link to the paper linked to this work. As for the controller, it is available in the src
folder of the repo.
from bebops.
Hi @octopusF! Can I close this issue?
from bebops.
Hi @gsilano I wanna test my algorithm that is written in .py
How can i replace the algorithm to check mine for the same drone?
from bebops.
What would you like to test? The controller?
from bebops.
What would you like to test? The controller?
i want to test my algorithm.
Actually i wanna replace my control algorithm with yours, just to ensure that i am working on a right track
from bebops.
is it controller_bebop.yaml
?
from bebops.
Okay, I get it. Here are the steps to make it work with the simulator:
- Put your controller in the
src\library
folder. - Work with a copy or modify the
position_controller_node.cpp
file, and the relative heading file (position_controller_node.h
), to work with the new controller algorithm (your controller). - Edit the
CMakeLists.txt
file to work with the new setup. I don't think it is necessary to change anything since your code is written in Python, but it would be better to check if it fits with your controller.
from bebops.
Sorry, i found the node. that is not in src\library
rather it is in src\nodes
But to change the controller we don't need to deal with node
isn't it?
It's okay to just change position_controller_with_bebop.cpp
with relevant algorithm. Am I Right?
from bebops.
I updated my previous message and deleted others to improve the readability of the issue. The controller algorithms are in the libray
folder, while the node (it can use various control algorithms, look at this repository to understand what I mean) is in the nodes
folder. You can understand more about the software architecture by reading these publications.
I hope this helps.
from bebops.
Sorry to bother you so much @gsilano . but don't you think the above discussion was about BebopS rather than CrazyS.
I am saying this because this repository leads to the discussion about CrazyS. I am sorry but please guide me if i am wrong in this regard.
from bebops.
Ok, let's start from the beginning. Your question was: how I can insert my control algorithm in BebopS? It is written in Python.
To use your control algorithm, you have to create an interface with the existing nodes. At this time, the nodes use the scripts contained in the library
folder. To help you understand how to connect various control algorithms with a single node, I suggested you to take a look at CrazyS. If you see the repository, especially the position_controller.cpp
file you will find out how various control algorithms can run together. Then, it is just a matter of connecting yours.
Before running the script, you need to update the CMakeList.txt
file.
I hope this helps.
from bebops.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from bebops.
Related Issues (20)
- The rotors don't spin HOT 14
- SITL with QGC HOT 4
- Spawning Error HOT 5
- Custom Messages in Matlab HOT 2
- UAV can't move HOT 9
- topics are incomplete HOT 3
- Running {task1_world_with_bebop,task2_world_with_bebop}.launch files HOT 5
- rostopic - command to set the trajectory HOT 1
- root@7fe7b2744d5d:~/carla-ros-bridge/catkin_ws# sudo rosdep init HOT 3
- Gzserver: symbol lookup error After Launching bebop_without_controller.launch HOT 12
- bebop_autonomy with bebopS HOT 4
- gzserver:symbol lookup error: HOT 3
- Can't comple catkin_ws HOT 9
- Invalid parameter and Error with Param xml HOT 3
- [ERROR] Build fails HOT 4
- Simulator not starting HOT 3
- motor_speed or cmd_vel HOT 6
- ROS noetic and gazebo 11 HOT 18
- gzserver error: Look up (when running PX4 mavros example) HOT 3
- drone simulation to live drone flight HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bebops.