The Wayback Machine - https://web.archive.org/web/20210120095351/https://github.com/bdring/Grbl_Esp32/pull/596
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Dxl test #596

Merged
merged 9 commits into from Sep 15, 2020
Merged

Merge Dxl test #596

merged 9 commits into from Sep 15, 2020

Conversation

@bdring
Copy link
Owner

@bdring bdring commented Sep 14, 2020

Fixes to

  • Dynamixel Motor
  • User I/O

New

  • Parallel Delta Custom file

Some cleanup

@@ -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");

This comment has been minimized.

@MitchBradley

MitchBradley Sep 15, 2020
Collaborator

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);

This comment has been minimized.

@MitchBradley

MitchBradley Sep 15, 2020
Collaborator

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() ");

This comment has been minimized.

@MitchBradley

MitchBradley Sep 15, 2020
Collaborator

MsgLevel::Info or delete line

uint8_t pin = system_control_get_state();
if (pin) {
system_exec_control_pin(pin);
// this is the debounce task

This comment has been minimized.

@MitchBradley

MitchBradley Sep 15, 2020
Collaborator

Possible spurious indentation here to end of file.

Copy link
Collaborator

@MitchBradley MitchBradley left a comment

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; }

This comment has been minimized.

@MitchBradley

MitchBradley Sep 15, 2020
Collaborator

Is this and the following definition really meant to be on one line?

@bdring bdring merged commit adec46c into Devt Sep 15, 2020
@bdring bdring deleted the dxl_test branch Sep 16, 2020
atlaste pushed a commit to atlaste/Grbl_Esp32 that referenced this pull request Oct 13, 2020
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.