1. 22 Jun, 2022 1 commit
    • Ibrahim's avatar
      Added motor simulation, gym env interfaces; · 6fdd36a7
      Ibrahim authored
      env.py: Dynamics- and Speed-based environment classes,
      vehicle.py: Motor parameters,
      simulation.py: Motor simulation,
      helpers.py: Added function to learn speed-to-voltage conversion given a motor
  2. 20 Jun, 2022 1 commit
  3. 16 Jun, 2022 2 commits
  4. 26 Apr, 2022 1 commit
  5. 09 Apr, 2022 1 commit
    • Ibrahim's avatar
      Changed coord system, PID controllers exhibiting sensible behavior; · 4cf5fd7e
      Ibrahim authored
      simulation.py: z coord points up in body and inertial frames, rearranging variable indices to match gazebo calculations (pos, vel, orientation, angular rate), propeller reset does not overwrite params, thrust-constant based thrust function.
      physics.py: rearranged state variable indices, changed d(velocity) equations so forces act in correct direction, given pwhich direction is assumed as positive angle. Previously positive torque was causing negative x/y motion due to inverted axes.
      helpers.py: bugfix in calculating control allocation matrix. x-moment is due to y-distances. Approproate signs conventions for positive moments.
      control.py: New iteration of controllers (Att, Alt, Pos, Controller) which work properly when cascaded.
  6. 14 Mar, 2022 1 commit
  7. 21 Feb, 2022 3 commits
  8. 31 Jan, 2022 1 commit
    • Ibrahim's avatar
      Visualization using FuncAnimation(); · 30f2da46
      Ibrahim authored
      helpers: bugfix in vehicle_params_factory where Propeller() class was instantiated instead of PropellerParams().
      simulation: time attribute for tracking simulation progress.
      vehicle: added some placeholder constants for torque/thrust calculations.
      visualize: uses FuncAnimation() and optionally draws body axes on vehicle.
  9. 28 Jan, 2022 1 commit
    • Ibrahim's avatar
      Visualization in jupyter notebook; · e4a103f6
      Ibrahim authored
      Trajectory of multirotor shows only after the loop with all actions is finished. Need to find way to make updates to plot live.
      Errors when plotting outside notebook environment via ssh with x-display. TODO.
  10. 25 Jan, 2022 1 commit
  11. 23 Jan, 2022 1 commit
  12. 15 Jan, 2022 1 commit