Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linuxcnc retrofit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Machines et équipements
Méca Heavy
Mori Seiki SL0
linuxcnc retrofit
Commits
44ce8d23
Commit
44ce8d23
authored
Dec 07, 2020
by
electrolab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix homing pulse length which was too short
parent
7464eafa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
maurice_gmoccapy.py
maurice_gmoccapy.py
+5
-2
No files found.
maurice_gmoccapy.py
View file @
44ce8d23
...
...
@@ -3587,6 +3587,7 @@ class gmoccapy(object):
#self.command.home(-1)
# Maurice homing
self
.
halcomp
[
"joint.all.home"
]
=
1
sleep
(
0.5
)
self
.
halcomp
[
"joint.all.home"
]
=
0
def
_on_btn_unhome_clicked
(
self
,
widget
):
...
...
@@ -3614,11 +3615,12 @@ class gmoccapy(object):
self
.
_set_motion_mode
(
0
)
#self.command.home(joint_or_axis)
# Maurice homing
if
joint_axis
==
-
1
:
if
joint_
or_
axis
==
-
1
:
home_pin
=
"joint.all.home"
else
:
home_pin
=
"joint.%d.home"
%
(
joint_axis
)
home_pin
=
"joint.%d.home"
%
(
joint_
or_
axis
)
self
.
halcomp
[
home_pin
]
=
1
sleep
(
0.5
)
self
.
halcomp
[
home_pin
]
=
0
def
_unhome_signal
(
self
,
object
,
joint
):
...
...
@@ -5219,3 +5221,4 @@ if __name__ == "__main__":
gtk
.
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment