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

how to code for X-Y motion if this kind of motion is COREXY or H-BOT #7

Open
brianbui93 opened this issue Dec 1, 2015 · 10 comments
Open

Comments

@brianbui93
Copy link

Now, I'm troubled with coding the X-Y motion when my project focuses on the kind of Corexy motion please help me to some instruction about it !. Thank you !

@i-make-robots
Copy link
Contributor

The makelangelo project already does what you want.

On Nov 30, 2015, at 11:36 PM, brianbui93 [email protected] wrote:

Now, I'm troubled with coding the X-Y motion when my project focuses on the kind of Corexy motion please help me to some instruction about it !. Thank you !


Reply to this email directly or view it on GitHub.

@brianbui93
Copy link
Author

thanks a lot

@i-make-robots
Copy link
Contributor

http://github.com/marginallyclever/makelangelo-firmware
change #define POLARGRAPH2 to #define COREXY and you should be good to go.
refer to our forums for tech support.

Glad we could help!

On Thu, Dec 3, 2015 at 8:27 PM, brianbui93 [email protected] wrote:

thanks a lot


Reply to this email directly or view it on GitHub
#7 (comment)
.

Dan Royer :: Marginally Clever http://www.marginallyclevergroup.com/ ::
Raising Robot Literacy :: +1.604.916.2281

@brianbui93
Copy link
Author

brianbui93 commented Dec 12, 2015 via email

@i-make-robots
Copy link
Contributor

Tell me which part you understand.

On Fri, Dec 11, 2015 at 4:57 PM, brianbui93 [email protected]
wrote:

There is a problem that I still don't understand in your code. It is the
Bresenham' algorithm to drawing straight line. I have read documents on
Internet but still troubled with them: how to pulse to step motors.
Would you mind if you can give me more detailed about this case ?

P/s: I'm so sorry because I'm a beginner.


Reply to this email directly or view it on GitHub
#7 (comment)
.

Dan Royer :: Marginally Clever http://www.marginallyclevergroup.com/ ::
Raising Robot Literacy :: +1.604.916.2281

@brianbui93
Copy link
Author

I refer to file "GcodeCNCDemo6AxisRumba.ino". I understand almost all of
your code except function which uses bresenham's line algorithm to move
both motors. Can you describe in detail how to apply this algorithm to
control step motor?. For example. I suppose that you only control 2 motors
X and Y simultaneously in which n1, n2 are the steps needed to operate
motor X, Y, respectively, t is the time to move both motors.To simplify, if
ok, can you summarize the algorithm in flow chart ?. Thank you very much !.

On Sat, Dec 12, 2015 at 12:24 PM, Dan Royer [email protected]
wrote:

Tell me which part you understand.

On Fri, Dec 11, 2015 at 4:57 PM, brianbui93 [email protected]
wrote:

There is a problem that I still don't understand in your code. It is the
Bresenham' algorithm to drawing straight line. I have read documents on
Internet but still troubled with them: how to pulse to step motors.
Would you mind if you can give me more detailed about this case ?

P/s: I'm so sorry because I'm a beginner.


Reply to this email directly or view it on GitHub
<
#7 (comment)

.

Dan Royer :: Marginally Clever http://www.marginallyclevergroup.com/ ::
Raising Robot Literacy :: +1.604.916.2281


Reply to this email directly or view it on GitHub
#7 (comment)
.

@i-make-robots
Copy link
Contributor

i-make-robots commented Sep 29, 2016

Makelangelo-firmware supports hbot and corexy.

On Sep 29, 2016, at 3:26 AM, Miguel Sanchez [email protected] wrote:

Ever head of Google? https://www.google.es/search?q=bresenham+flowchart&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwiVoYGrrrTPAhWC7RQKHS2lBkgQsAQIHQ&biw=1190&bih=682&dpr=1.25


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@i-make-robots
Copy link
Contributor

@brianbui93 do you understand bresenham's algorithm now? I'd like to close this issue.

@brianbui93
Copy link
Author

Yes, I understand this. Thanks Dan Royer and everybody so much :)

On Thu, Oct 27, 2016 at 4:45 AM, Dan Royer [email protected] wrote:

@brianbui93 https://github.com/brianbui93 do you understand bresenham's
algorithm now? I'd like to close this issue.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#7 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APWbklJaKczNPMWLJ2iwnWxvhxD4tVPIks5q38n1gaJpZM4GsD0z
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants