Merge Dxl test #596
Merge Dxl test #596
Conversation
| @@ -226,6 +238,8 @@ namespace Motors { | |||
| //int32_t pos_min_steps, pos_max_steps; // in steps | |||
| //int32_t dxl_position, dxl_count_min, dxl_count_max; | |||
|
|
|||
| //grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Read position"); | |||
MitchBradley
Sep 15, 2020
Collaborator
MsgLevel::Info or delete line
MsgLevel::Info or delete line
|
|
||
| return dxl_position; | ||
| } else { | ||
| grbl_msg_sendf(CLIENT_SERIAL, MsgLevel::Info, "Data len arror: %d", data_len); | ||
| //grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "Data len arror: %d", data_len); |
MitchBradley
Sep 15, 2020
Collaborator
MsgLevel::Info or delete line
MsgLevel::Info or delete line
| @@ -348,6 +366,8 @@ namespace Motors { | |||
| uint8_t count = 0; | |||
| uint8_t current_id; | |||
|
|
|||
| //grbl_msg_sendf(CLIENT_SERIAL, MSG_LEVEL_INFO, "dxl_bulk_goal_position() "); | |||
MitchBradley
Sep 15, 2020
Collaborator
MsgLevel::Info or delete line
MsgLevel::Info or delete line
| uint8_t pin = system_control_get_state(); | ||
| if (pin) { | ||
| system_exec_control_pin(pin); | ||
| // this is the debounce task |
MitchBradley
Sep 15, 2020
Collaborator
Possible spurious indentation here to end of file.
Possible spurious indentation here to end of file.
|
Approved subject to formatting cleanups |
| return (steps[A_MOTOR] + steps[B_MOTOR]) / 2; | ||
| } | ||
| // CoreXY calculation only. Returns x or y-axis "steps" based on CoreXY motor steps. | ||
| int32_t system_convert_corexy_to_x_axis_steps(int32_t * steps) { return (steps[A_MOTOR] + steps[B_MOTOR]) / 2; } |
MitchBradley
Sep 15, 2020
Collaborator
Is this and the following definition really meant to be on one line?
Is this and the following definition really meant to be on one line?
* Changes, not ready yet * Some updates for M67 * WIP * Updates * Code cleanup and speed tweaks * Prep for PR * Cleaned up user I/O to use UNDEFINED_PIN as defaults. * Cleaned up spurious code.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Fixes to
New
Some cleanup