NeLy-EPFL / NeuroMechFly

A neuromechanical model of adult Drosophila melanogaster.
https://nely-epfl.github.io/NeuroMechFly/
Apache License 2.0
44 stars 1 forks source link

fixes for bullet_simulation #1

Closed ShravanTata closed 3 years ago

ShravanTata commented 3 years ago
  1. replace map function with dictionary to maintain order. For example, in ground contact sensors
  2. clean up contact force computation
    • compute_contact_normal_force(self, body_a, body_b, link_id_a, link_id_b) -> contact_force, contact_position
    • compute_contact_lateral_force_dir1(self, body_a, body_b, link_id_a, link_id_b) ->
    • compute_contact_lateral_force_dir2(self, body_a, body_b, link_id_a, link_id_b) ->
      1. save data : Currently additional data is saved separately. Move this to container