Hi Rainer,

>Visual Studio Code
OMG my mind is blown!  With VSCode installed I was able to quickly find the
10+ files that I needed to modify in order to add my new  parameter
HOME_AUTO = 1.
In the .ini file [Joint_0] HOME_AUTO = 0 and [Joint_1] HOME_AUTO = 1,
In the terminal
emcJointSetHomingParams(0, 0.0000, 0.0000, -1.0000, 0.0000, 9.9000, 0, 0,
0, 0, 0, 0 ) returned 0
emcJointSetHomingParams(1, 0.0000, 0.0000, -1.0000, 10.0000, 2.0000, 0, 0,
0, 1, 0, 1 ) returned 0

Then I realized what you were doing by setting the homing flag and boom!
I'm in control of homing.c.

I once had an electronics prof. that used to say if you could program a led
to turn on, you can rule the world.  I feel like that tonight.
Rainer, thanks man. Without your wizardry guidance this would never have
happened.
Will try to sort out the rest of homing.c this week and hopefully test on
the weekend when the shop is quiet.

Kind regards,
Dan

On Mon, Sep 20, 2021 at 2:02 AM Rainer Stelzer <r.stel...@sgs-robotics.de>
wrote:

> Hi Daniel,
>
> Eclipse is used by a lot of embedded  CPU vendors like NXP, Microchip,
> STM and RTOS like vxworks.
> It's worth trying.
> But the start is hard, that's for sure.
>
> An alternative, that is not that hard to learn, is  Visual Studio Code.
>
> I'm not the biggest Microsoft fan on the planet, but I have to admit
> that this tool is quite good.
>
> You may check it out.
> Import the complete "EMC" source and not open only single files.
> Accept the suggestion to install c / c++ (and for python for the gui)
> extensions when VSC  detects appropriate code.
>
> Navigating to a unknown source that complex without an editor that keeps
> track of the data structures and classes
> is extremely hard to do.
>
> cheers
>
> Rainer
>
> BTW: private mail has been sent.
>
>
>
>
>
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to