Skip to content

Commit

Permalink
Fixed some GTA related comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hjd1964 committed Aug 22, 2018
1 parent a660451 commit 5f26dd7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions AlignEq.ino
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ void TGeoAlign::autoModel(int n, bool start) {
}

#ifdef HAL_SLOW_PROCESSOR
// search, this can handle about 4.5 degrees of polar misalignment, and 1 degree of cone error
// search, this can handle about 9 degrees of polar misalignment, and 2 degree of cone error
// DoPdPzPeTfFfDfOdOh
if (step==2) do_search(16384,0,0,1,1,0,0,0,1,0);
if (step==10) do_search( 8192,0,0,1,1,0,0,0,1,0);
Expand All @@ -310,7 +310,7 @@ void TGeoAlign::autoModel(int n, bool start) {
if (step==30) do_search( 512,0,0,1,1,0,0,0,1,1);
if (step==40) do_search( 256,0,0,1,1,0,0,0,1,1);
#elif HAL_FAST_PROCESSOR
// search, this can handle about 9 degrees of polar misalignment, and 2 degrees of cone error, 8' of FF/DF/PD
// search, this can handle about 9 degrees of polar misalignment, and 4 degrees of cone error, 8' of FF/DF/PD
// DoPdPzPeTfFf Df OdOh
if (step==2) do_search(16384,0,0,1,1,0, 0, 0,1,1);
if (step==4) do_search( 8192,1,0,1,1,0, 0, 0,1,1);
Expand All @@ -328,7 +328,7 @@ void TGeoAlign::autoModel(int n, bool start) {
if (step==40) do_search( 64,1,0,1,1,0, 0, 0,1,1);
}
#else
// search, this can handle about 9 degrees of polar misalignment, and 2 degrees of cone error
// search, this can handle about 9 degrees of polar misalignment, and 4 degrees of cone error
// DoPdPzPeTfFf Df OdOh
if (step==2) do_search(16384,0,0,1,1,0, 0, 0,1,1);
if (step==5) do_search( 8192,1,0,1,1,0, 0, 0,1,1);
Expand Down
6 changes: 3 additions & 3 deletions AlignHor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ void TGeoAlignH::autoModel(int n, bool start) {
}

#ifdef HAL_SLOW_PROCESSOR
// search, this can handle about 4.5 degrees of polar misalignment, and 1 degree of cone error
// search, this can handle about 9 degrees of polar misalignment, and 2 degree of cone error
// DoPdPzPeTfFfDfOdOh
if (step==2) do_search(16384,0,0,1,1,0,0,0,1,0);
if (step==10) do_search( 8192,0,0,1,1,0,0,0,1,0);
Expand All @@ -324,7 +324,7 @@ void TGeoAlignH::autoModel(int n, bool start) {
if (step==30) do_search( 512,1,0,1,1,0,0,0,1,0);
if (step==40) do_search( 256,1,0,1,1,0,0,0,1,0);
#elif HAL_FAST_PROCESSOR
// search, this can handle about 9 degrees of polar misalignment, and 2 degrees of cone error, 8' of FF/DF/PD
// search, this can handle about 9 degrees of polar misalignment, and 4 degrees of cone error, 8' of FF/DF/PD
// DoPdPzPeTfFf Df OdOh
if (step==2) do_search(16384,0,0,1,1,0, 0, 0,1,1);
if (step==4) do_search( 8192,1,0,1,1,0, 0, 0,1,1);
Expand All @@ -342,7 +342,7 @@ void TGeoAlignH::autoModel(int n, bool start) {
if (step==40) do_search( 64,1,0,1,1,0, 0, 0,1,1);
}
#else
// search, this can handle about 9 degrees of polar misalignment, and 2 degrees of cone error
// search, this can handle about 9 degrees of polar misalignment, and 4 degrees of cone error
// DoPdPzPeTfFf Df OdOh
if (step==2) do_search(16384,0,0,1,1,0, 0, 0,1,1);
if (step==5) do_search( 8192,1,0,1,1,0, 0, 0,1,1);
Expand Down
2 changes: 1 addition & 1 deletion src/HAL/HAL_Mega2560/HAL_Mega2560.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// This platform doesn't support true double precision math
#define HAL_NO_DOUBLE_PRECISION

// This is for ~16MHz AVR processors or similar. These MCUs can't do a wide range of degrees for misalignment modeling (Goto Assist.)
// This is for ~16MHz AVR processors or similar.
// They can, however, run Motor Timer ISR's w/stepper driver signal timing met in one pass vs. two for faster processors
#define HAL_SLOW_PROCESSOR

Expand Down

0 comments on commit 5f26dd7

Please sign in to comment.