On 05/15/2015 11:17 AM, Tom Easterday wrote:
> 
>> On May 14, 2015, at 3:25 PM, Sebastian Kuzminsky <[email protected]> wrote:
>> The preferred ways to submit patches are described in the Contributing 
>> to LinuxCNC document, feel free to ask questions if you run into any 
>> problems.
>>
>> http://linuxcnc.org/docs/2.7/html/code/Contributing-to-LinuxCNC.html#_overview_of_the_process
> 
> Is this the correct format?

Thanks.

The patch file you attached claims to be the third patch in a series of
3, but numbers 1 and 2 were not attached.  Was that intentional?

It applies cleanly to origin/2.7 and builds, so maybe everything's ok
and i shouldn't freak out.

There's a typo (missing white space) in the --help output for --disable.

Inconsistent indentation in the new fields in the haldata_t struct.

There's a spurious indentation change in the main loop ("the meat of the
program").  Not a big deal, but it does make the patch a bit harder to
follow.

Why do you prefix all your comments with "---"?  My eyes keep trying to
parse that as command-line arguments.

If the comp is enabled and transitions to the disabled state, it does
one last write to turn off the spindle.  Presumably in this use-case an
estop causes the VFD to lose input power and causes the gs2 comp to move
to the disabled state, but the VFD has enough power in its caps to
accept this last command before it dies?

In the main loop, when the comp tries to initialize the VFD after
becoming enabled, it responds to communication failures by running
"continue" before setting isInitialized to True, so shouldn't that
handle the communications retry that you added to gs2_set_accel_time()?


Thanks for working to make the gs2 driver better.  This will be a good
addition once these minor nitpicks are addressed.


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to