Replies: 15 comments 42 replies
-
Little update, the last picture was made within a native ubuntu install. Unfortunately the windows binary install are not up to par yet: https://answers.gazebosim.org//question/27539/fortress-windows-binary-install/ Very unfortunate... so that means that I'll hang around on ubuntu more often afterall |
Beta Was this translation helpful? Give feedback.
-
The ignition msg of actuators is not fully supported for the ros_ign_bridge yet out of the box, as can be seen in the readme of the repo. I've tried to build the actuator msg itself based on the original mav_com repo, but no luck yet. I've started this thread on answers.gazebo.org, but they are pretty responsive so hopefully it's solvable! |
Beta Was this translation helpful? Give feedback.
-
Perhaps I should give Webots a go, as they do have ROS2 support, and hopefully better windows support. They seem to have something going for the mavic pro, so let's see! Shall I keep those results in this discussion topic or make a new one? |
Beta Was this translation helpful? Give feedback.
-
Sim CF from: https://github.com/wuwushrek/ This is gazebo 11 with Noetic This is with the crazyflie firmware in the loop. Only 4 for now, if I try to fly 7 as the example shows, the cf_handler gazebo plugin crashes. But, the realtime factor during this flight stays around 0.95 which is pretty good! Currently I forked a branch to my github account: https://github.com/knmcguire/sim_cf to make some fixes since the original repository is no longer actively monitored. |
Beta Was this translation helpful? Give feedback.
-
Mavic in Webots with ROS2 Runs pretty fast even with a complicated environment, and it seems that the driver plugin is easy enough, which is used to determine it's dynamics. The only problem is that they don't support URDF, so if we want to make a crazyflie model, we probably have to make an URDF first and use their conversion tool. |
Beta Was this translation helpful? Give feedback.
-
So I decided to go and make my own urdf, especially since for ignition gazebo not all things are the same and I do want to make it compatible. Also the model can be much easier now due to the newly intergrated plugins (so xacro doesnt have to be used). Moreover, this should be a low poly version so better for rendering. I've started a repo for this here: https://github.com/knmcguire/crazyflie_models. Currently the props are not spinning and none of the quadcopter plugins are intergrated, but just slowely building it up from there. |
Beta Was this translation helpful? Give feedback.
-
So I managed to have the crazyflie sort of flying with velocity controller, which is according to the doc based on the lee controller from the rotorS project. but it's quite difficult to tune it properly... so it's still unstable. ign_gazebo_controller.mp4 |
Beta Was this translation helpful? Give feedback.
-
Here a video of regular gazebo using the 'actor' framework, which are regular 'animations' not affected by the phyics engine. This might be interesting if we want to show bigger swarms while maintaining faster simulation. gazebo_actor.mp4I've uploaded an example for this on https://github.com/knmcguire/crazyflie_models |
Beta Was this translation helpful? Give feedback.
-
Saw on twitter that somebody else also started on a simulator: https://github.com/malintha/multi_uav_simulator. Seems to be in rviz! So it's probably without an physics engine then. |
Beta Was this translation helpful? Give feedback.
-
Another possibility is Airsim: https://microsoft.github.io/AirSim/ . Maybe not in the immediate future but definitely one to remember. Maybe I should try out the experimental Unity plugin? |
Beta Was this translation helpful? Give feedback.
-
I've started with a low poly crazyflie model from scratch (instead of converting cad files and simplifying it, which made the models messy. These should should be much more suitable for simulation. The meshes can now be found here on the crazyflie bitcraze account: https://github.com/bitcraze/crazyflie_simulation |
Beta Was this translation helpful? Give feedback.
-
Hi all, I have been following this discussion for a bit. I also needed a simulator where I can simulate large swarms(For now 10 crazyflie will do - but in the future maybe around 50-100 crazyflies). I found this : https://github.com/utiasDSL/gym-pybullet-drones. I just started working on this. Also, let me know if I can help you with anything. I am more than happy to learn and help. Crazyswarm has made things a lot easier for me and I am more than happy to spend my time on similar projects. Thanks |
Beta Was this translation helpful? Give feedback.
-
So currently I have a sort of flying crazyfie in webots, in attitude mode with fixed heigth in https://github.com/bitcraze/crazyflie_simulation, where you can control the roll and pitch with the keyboard arrow keys. It is using very easy control for that. I tried to separate the controller and started to implement it in the Ign Gazebo SDF that I also made, but unfortunately it seems that webots and ign gazebo do not match up.... so that requires a bit more investigation. I think the first few steps that I will do, is to make a velocity controller for the Webots crazyflie model, make it react on a /cmd_vel ros command, and perhaps also make a python wrapper for the control. So stay tuned! |
Beta Was this translation helpful? Give feedback.
-
This was a great review paper I found about robotics simulators: https://ieeexplore.ieee.org/document/9386154 It even has the aerial robotics simulator table overview. Nothing for swarming though, but I think we can take a look at the simulators used for machine learning, as they often require multiple robots to be simulated in parallel doing the same task. |
Beta Was this translation helpful? Give feedback.
-
it seems that this discussion thread is getting pretty long and perhaps not about crazyswarm specific. We are trying out github discussions ourselves locally on the crazyflie-simulation repository, so I advise us to continue our simulation related discussions there! |
Beta Was this translation helpful? Give feedback.
-
Here just a quick preview of the ignition gazebo simulator with 5 quadcopters. I must say that it aint as slow as it was with gazebo, but I haven't had these fly fully. Ignition has now an plugin for multi copter control, which seems to be new, or at least based on the ROS1 RotorS package.
So the first step is to get one of these to fly, then multiple ones, and also see if we can get the crazyflie model in https://app.ignitionrobotics.org/fuel/models, so it's even easier to include them in ignition.
I still expect it to be pretty slow for big swarms, so perhaps we can also put in some kind of position only based on the dynamic script that @whoenig wrote. But small steps for now :)
I'll try to share my process in this thread.
Beta Was this translation helpful? Give feedback.
All reactions