Skip to content

Feature uarm gcode protocol and canbus implementation#26

Open
ForgeRoot wants to merge 38 commits into
releasefrom
feature-uarm-gcode-protocol
Open

Feature uarm gcode protocol and canbus implementation#26
ForgeRoot wants to merge 38 commits into
releasefrom
feature-uarm-gcode-protocol

Conversation

@ForgeRoot
Copy link
Copy Markdown

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

Dylan van Eck added 30 commits June 19, 2019 14:01
@JordyAlkema
Copy link
Copy Markdown

There are a lot of 'this->append', can you combine some of them?

Comment thread test/main.cpp
comm.accept_frame(data2);

uarm.process();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test is missing REQUIRES to check the final state and/or return values.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread code/headers/uarm_gcode_generator.hpp Outdated

/**
* @brief set current position head to reference position to gcode
* Makes the set current position head to reference position gcode command for the uarm
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sentence does not flow very well.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread code/headers/uarm_gcode_generator.hpp Outdated

/**
* @brief check posibility of coordinates cartesian polar to gcode
* Makes the check posibility of coordinates cartesian polar gcode command for the uarm
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sentence does not flow very well.

Comment thread code/headers/uarm_swift_pro.hpp Outdated

/**
* @brief attach all joint motors
* This setting function attach all the joint motors.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sentence does not flow very well.

@JordyAlkema
Copy link
Copy Markdown

It is a bit odd that a lot of the functions say 'This function wil get ...' however don't return that value

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

Successfully merging this pull request may close these issues.

2 participants