Skip to content

Commit

Permalink
Add Z axis height
Browse files Browse the repository at this point in the history
Update roadmap
  • Loading branch information
Anonoei committed Mar 7, 2024
1 parent d6d7c87 commit a5ee2fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Using Ellis' pattern (AUTO_SPEED_VALIDATE) is **NOT** a safe movement pattern. P
- [ ] Add AUTO_SPEED ACCEL=10000 - to find what velocity lets you use accel 10000
- [ ] Add AUTO_SPEED VELOC=500 - to find what accel lets you use velocity 500
- [ ] Make AUTO_SPEED measure different accels/velocity to find the best values based on printer size
- [ ] Variable motor current
- [ ] Variable homing speed
- [X] Add testing Z axis
- [X] Reduce code duplication
- [X] Check kinematics to find best movement patterns
Expand Down
5 changes: 5 additions & 0 deletions autospeed/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ def cmd_AUTO_SPEED(self, gcmd):
validate = gcmd.get_int('VALIDATE', 0, minval=0, maxval=1)

self._prepare(gcmd) # Make sure the printer is level, [check endstop variance]

move_z = gcmd.get_int('Z', None)
if move_z is not None:
self._move([None, None, move_z], self.th_veloc)

start = perf_counter()
accel_results = self.cmd_AUTO_SPEED_ACCEL(gcmd)
veloc_results = self.cmd_AUTO_SPEED_VELOCITY(gcmd)
Expand Down

0 comments on commit a5ee2fb

Please sign in to comment.