Skip to content

Chainplain/FlappingwingSimu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flapping_wing_Simu

This is a flapping wing simulation code.

It is runned on webots.

It includes translational lift, translation drag, rotational lift and added mass 4 kinds of aerodynamic forces.

It is robotic application oriented.

And this branch is for trajectory tracking.

Blade element is coded into file such like SimpleFlapper0Tail_H20BLE_X_pos.npy, which can be generated by https://github.com/Chainplain/BladeEleBuilder

Rotating

rotATE

Touching

Touch

Controlled Lateral Circular Flight (also X 0.2)

SimpleFlapFirstMaster_Test_Position_Trajecory_Tracking _1 (3)

Installation

You can use following steps to test your own algorithm:

  • Download webots https://cyberbotics.com/, the version we use is R2021a https://github.com/cyberbotics/webots/releases/tag/R2021a. However, we are pretty sure that you can run it on any version after that. Note that version higher than R2023a, the function addForceWithOffset is different from that in previous version. Specifically, whether the para relative is set True or False, the force is resolved in the rigid body frame. I have no idea, it is a bug or somthing "property". This version simulation is supposed to be resolved in the world frame, such that the force adding part should be refractured when using 2023a or higher version.

  • Load the worldfile, which is already marked.

  • Choose the controller of the robot called the Flapper as SimpleFlapGamma_SensorFusion, which is also provided here. This is the controller file, you can rewrite the corresponding classes which are given in other files. Note that the controller python function name should be the same as the container folder.

  • If everything is fine, using the following world file: https://github.com/Chainplain/FlappingwingSimu/blob/version2.0/SimpleFlapFirstMaster_Test_Position_Trajecory_Tracking%20.wbt it can be runned right away.

We want to thank following softwares and packages

Citing Flapping_wing_Simu

please cite as

@article{qian2024toward,
  title={Toward Practical Autonomous Flight Simulation for Flapping Wing Biomimetic Robots With Experimental Validation},
  author={Qian, Chen and Fang, Yongchun and Jia, Fan and Yan, Jifu and Liang, Yiming and Li, Tiefeng},
  journal={IEEE Transactions on Automation Science and Engineering},
  year={2024},
  publisher={IEEE}
}

About

This is a flapping wing simulation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors