Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS GAZEBO #77

Closed
hazarD77 opened this issue Jul 15, 2021 · 6 comments
Closed

ROS GAZEBO #77

hazarD77 opened this issue Jul 15, 2021 · 6 comments
Assignees
Labels
type: question Further information is requested wontfix This will not be worked on

Comments

@hazarD77
Copy link

Hi, i work on Gazebo with crazyflie and i succeed to open crazyflie files on ROS, the crazyfile is flying but
I couldn't find the file where I can give the target location while the drones are in the air. I want to show target point to drones. How i succeed that?
Thanks...
Best Regards.

@welcome
Copy link

welcome bot commented Jul 15, 2021

Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened!

@gsilano gsilano self-assigned this Jul 15, 2021
@gsilano gsilano added the type: question Further information is requested label Jul 15, 2021
@gsilano
Copy link
Owner

gsilano commented Jul 15, 2021

Please, read #67, #65, #44, #55. If you have other questions, just drop me a message.

@hazarD77
Copy link
Author

Hi, sir
I read and research the subject headings in the #67, #65, #44, #55. Therefore, i want to ask some question. If you answer me, i am glad.

  1. How to transfer our own algorithms to CrazyS files?
  2. How can I achieve this when I want to integrate virtual and real?
  3. Do I need to use a Gazebo environment for Crazyflie Virtual Reality Flight, can I use another simulation program?
    Thanks.
    Best Regards...

@gsilano
Copy link
Owner

gsilano commented Jul 21, 2021

My answers are inline:

  1. What do you mean by your own algorithm? Is it a controller? If so, you need to write your C++ file and include it in the rotors_control/src/library folder. Next, you need to edit the position_controller_node.cpp file to call your controller, and not the standard one in CrazyS. Of course, you have to follow the flow understanding if other changes are required. The line is reported below for your convenience.
    position_controller_.CalculateRotorVelocities(&ref_rotor_velocities);

Finally, you need to include the code in the CMakeList.txt file. Just follow the file for the other libraries, i.e., crazyflie_onboard_controller.cpp, crazyflie_complementary_filter.cpp, and so on.

  1. If you want to fly with the Crazyflie, you can take a look at these two repositories: crazyflie_nmpc and crazyflie_cpp. As far as I know, they are the best to cope with this task.

  2. CrazyS was designed to work with Gazebo. I don't know which robotic simulator you have in mind. However, whatever the simulator, the code requires some changes.

I hope this helps.

@stale
Copy link

stale bot commented Apr 16, 2022

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.

@stale stale bot added the wontfix This will not be worked on label Apr 16, 2022
@gsilano
Copy link
Owner

gsilano commented Apr 16, 2022

The controller #86 is not ready to be integrated yet. Issue closed for inactivity.

@gsilano gsilano closed this as completed Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants