Gentlemen,
1. open two shells
2. type em2-trunk-sim/scripts/emc-environment in each shell
3. in the first shell start gdb
gdb rtapi_app
4. at the gdb prompt
b kinematicsForward
5. answer 'y' to the question
6. at the gdb prompt run
7. start emc2 in the second shell
emc2-trunk-sim/scripts/emc
emc starts and the model display starts - emc is frozen at this point
8. in the first shell gdb is showing messages and a prompt - the
program has stopped at the break point
9. the gdb commands work ie next, step, etc - info locals shows the
variables of the kinematicsForward function
10. at the gdb prompt type
continue - gdb prompt does not return
11. emc becomes unfrozen and the axis display is now on the screen
12. in the axis display - estop inverts when pressed (all commands
are very slow)
13. in the axis display - machine on inverts - the display shows the
machine to be started - ready to move
14. the home button inverts when pressed - homing begins and
completes as expected
15. switch to mdi. input motion commands - the machine moves as expected
16. hit control-c in the first shell - gdb prompt is returned
17. I am stuck at this point - I get no more motion from axis - I can
type commands into gdb (I think the gdb response is logical)
I have tried several things at this point - none successful (
the commands are effective in that I am finding ways it doesn't work)
:)
the axis display will respond to mouse clicks and keyboard
input - machine does not respond
in the gdb shell enable 2 - is accepted - gdb prompt is returned
run - is accepted - the response is a question asking if I want
to restart the program
no is accepted - no response - the gdb prompt is returned
info locals is accepted -
the response is 'no variable defined' - the gdb prompt is returned
yes is accepted - the response is a message
'Restarting program: ...'
'Error in resetting breakpoint 2'
'Function
"kinematicsForward" not defined'
after nine repeats of the
messages - the gdb prompt is not returned
18. suggestions are welcome
thanks
Stuart
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users