forked from apsystems/GrblHoming
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V3.1 - support for Grbl 0.8c, switch to polling Grbl for position, no…
… longer wipe Grbl positional data due to reset and many other changes
- Loading branch information
Showing
26 changed files
with
1,675 additions
and
501 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
This file contains enhancements the developer would like to implement: | ||
This file contains enhancements the developer and user community would like to see: | ||
|
||
- Restore "Go to home on completion" feature, right now that is commented out to prevent destroying work/bit | ||
Primary: | ||
- Add visualizer | ||
- Restore "Tool change" feature, including popup dialog | ||
- Implement support for Grbl 0.8c "homing" feature | ||
- Improve logging to timestamp each line and add all diag output | ||
- Save/Load current GRBL settings from disk | ||
- Suppress some bookkeeping output from the status window | ||
|
||
Secondary: | ||
- Clear log button | ||
- Restore "Favorites" feature | ||
- Restore "Tool change" feature | ||
- Handle 0.5 168 processor bug: binary response garbage causes failure (ignore and resend?) | ||
- Print current GRBL settings | ||
- Add option to auto connect to last port | ||
- Provide diagnostic response view | ||
- Provide counter showing time waiting for a response if time > 5s | ||
- Popup dialog when successful send is complete | ||
- Print current GRBL settings | ||
- Save log button | ||
- Clear log button | ||
- Write user manual |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
#define ABOUT_H | ||
|
||
#include <QDialog> | ||
#include "definitions.h" | ||
|
||
namespace Ui { | ||
class About; | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#include "atomicintbool.h" | ||
|
||
AtomicIntBool::AtomicIntBool(int newValue /* = 0 */) | ||
: value(newValue) | ||
{ | ||
} | ||
|
||
void AtomicIntBool::set(int newValue) | ||
{ | ||
value.fetchAndStoreRelaxed(newValue); | ||
} | ||
|
||
int AtomicIntBool::get() | ||
{ | ||
return value.fetchAndAddRelaxed(0); | ||
} | ||
/* | ||
int AtomicIntBool::getAndClear() | ||
{ | ||
return value.fetchAndStoreRelease(0); | ||
} | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef ATOMICINTBOOL_H | ||
#define ATOMICINTBOOL_H | ||
|
||
#include <QAtomicInt> | ||
|
||
// we wrap QAtomicInt because it is possible to accidentally | ||
// access the non-atomic operations of the class (look at the | ||
// header for QAtomicInt to see what I mean, and thus setting | ||
// a value directly against one of these variables will access | ||
// the non-atomic method) | ||
class AtomicIntBool | ||
{ | ||
public: | ||
AtomicIntBool(int newValue = 0); | ||
void set(int newValue); | ||
int get(); | ||
|
||
private: | ||
QAtomicInt value; | ||
}; | ||
|
||
#endif // ATOMICINTBOOL_H |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include "coord3d.h" | ||
|
||
Coord3D::Coord3D() | ||
: x(0.0), y(0.0), z(0.0) | ||
{ | ||
} | ||
|
||
bool Coord3D::operator==(const Coord3D& rhs) | ||
{ | ||
return (x == rhs.x && y == rhs.y && z == rhs.z); | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef COORD3D_H | ||
#define COORD3D_H | ||
|
||
#include <QMetaType> | ||
|
||
class Coord3D | ||
{ | ||
public: | ||
Coord3D(); | ||
bool operator==(const Coord3D& rhs); | ||
|
||
public: | ||
float x; | ||
float y; | ||
float z; | ||
}; | ||
|
||
Q_DECLARE_METATYPE ( Coord3D ) | ||
|
||
#endif // COORD3D_H |
This file contains 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
Oops, something went wrong.
64c1575
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you