Feature uarm gcode protocol and canbus implementation#26
Open
ForgeRoot wants to merge 38 commits into
Open
Conversation
added 30 commits
June 19, 2019 14:01
…gcode_generator class
…uarm_swift_pro class
…uarm_swift_pro class
|
There are a lot of 'this->append', can you combine some of them? |
JordyAlkema
requested changes
Jul 1, 2019
| comm.accept_frame(data2); | ||
|
|
||
| uarm.process(); | ||
|
|
There was a problem hiding this comment.
Test is missing REQUIRES to check the final state and/or return values.
Author
There was a problem hiding this comment.
This is because the debug method doesn't return anything. It uses the hwlib::cout and so I checked if the can_bus/mock_bus works
|
|
||
| /** | ||
| * @brief set current position head to reference position to gcode | ||
| * Makes the set current position head to reference position gcode command for the uarm |
Author
There was a problem hiding this comment.
It is a bit odd that a lot of the functions say 'This function wil get ...' however don't return that value
That's because I have not implemented a char for the debug method to return. It will be another feature/upgrade to get after this PR
|
|
||
| /** | ||
| * @brief check posibility of coordinates cartesian polar to gcode | ||
| * Makes the check posibility of coordinates cartesian polar gcode command for the uarm |
|
|
||
| /** | ||
| * @brief attach all joint motors | ||
| * This setting function attach all the joint motors. |
|
It is a bit odd that a lot of the functions say 'This function wil get ...' however don't return that value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This code is done and ready for release
The interface now works with the canbus.
The uarm has all their API for gcode commands
Tests for the interface/canbus are written and tested
The debug function is now to hwlib::cout and it's better to convert it to a log or something like that. To make better tests