My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

merging still needs.txt 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. files to compare manually:
  2. planner.cpp
  3. stepper.cpp
  4. temperature.cpp
  5. ---
  6. things that changed:
  7. * planner.cpp
  8. estimate_acc_distance now works with floats.
  9. in calculate_trapezoid:for_block
  10. long acceleration_rate=(long)((float)acceleration*8.388608) is gone
  11. so is block_>acceleration_rate
  12. void planner_reverse_pass:
  13. some stuff I don't understand right now changed
  14. in planner_forward_pass:
  15. done: BLOCK_BUFFER_SIZE is now necessarily power of 2 (aka 8 16, 32). Inportant to document this somewhere.
  16. no more inline in void plan_discard_current_block()
  17. no more inline in plan_get_current_block()
  18. in plan_buffer_line(...)
  19. the long target[4]; and calculations of thoose should go after the while(block_buffer_tail==..). if the axis_steps_per_unit are changed from the gcode (M92) the calculation for the currently planned buffer move will be corrupt, because Target is calculated with one value, and the stuff afterwards with another. At least this solved the problem I had with the M92 E* changes in the code. Very sure about this, I took me 20min to find this as the solution for the bug I was hunting.
  20. around if(feed_rate<minimumfeedrate) this only should be done if it is not a pure extrusion. I think there is a bug right now.
  21. ~line 447 blockcount=
  22. not sure if this also works if the difference is negative, as it would happen if the ringbuffer runs over the end and start at 0.
  23. ~line 507 tmp_aceleration. not sure whats going on, but a lot changed.
  24. * stepper.cpp
  25. ~214: if (busy) should be a echoln, maybe
  26. ~331: great, The Z_M_PIN checks are in :)
  27. *temperature.cpp
  28. done: enum for heater, bed,
  29. manage_heater() is seriously different.
  30. done: if tem_meas_ready ==true->!true+return?
  31. done #define K1 0.95 maybe in the configuration.h?
  32. semi-done: PID-C checking needed. Untested but added.
  33. ----
  34. still needed to finish the merge, before testin!
  35. manage_heater
  36. ISR
  37. movement planner
  38. TODO:
  39. remove traveling at maxpseed
  40. remove Simplelcd
  41. remove DEBUG_STEPS?
  42. block_t
  43. pid_dt ->0.1 whats the changes to the PID, checking needed
  44. ----
  45. second merge saturday morning:
  46. done: PID_dt->0.1