-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from marshallpowell97/master
Add support for CS9 controller
- Loading branch information
Showing
52 changed files
with
870 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
staubli_val3_driver/val3/ros_server/.outlining.json | ||
*outlining.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/ack.pgx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2"> | ||
<Program name="ack" access="public"> | ||
<Parameters xmlns="http://www.staubli.com/robotics/VAL3/Param/1"> | ||
<Parameter name="x_nHeaderTime" type="num" xsi:type="element" /> | ||
<Parameter name="x_nElapsedTime" type="num" xsi:type="element" /> | ||
</Parameters> | ||
<Code><![CDATA[begin | ||
// display time between valid trajectory point received and ACK sent | ||
gotoxy(scMonitor, 0,9) | ||
put(scMonitor, "recvMsgHeader:") | ||
gotoxy(scMonitor, 15,9) | ||
put(scMonitor, toString(".4", x_nHeaderTime)) | ||
gotoxy(scMonitor, 0,10) | ||
put(scMonitor, "other states:") | ||
gotoxy(scMonitor, 15,10) | ||
put(scMonitor, toString(".4", x_nElapsedTime)) | ||
end]]></Code> | ||
</Program> | ||
</Programs> |
12 changes: 12 additions & 0 deletions
12
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/clearScreen.pgx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2"> | ||
<Program name="clearScreen" access="public"> | ||
<Code><![CDATA[begin | ||
// Clear pendant screen | ||
cls(scMonitor) | ||
end]]></Code> | ||
</Program> | ||
</Programs> |
27 changes: 27 additions & 0 deletions
27
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/debug.pgx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2"> | ||
<Program name="debug" access="public"> | ||
<Parameters xmlns="http://www.staubli.com/robotics/VAL3/Param/1"> | ||
<Parameter name="x_nExecStatus" type="num" xsi:type="element" use="reference" /> | ||
</Parameters> | ||
<Code><![CDATA[begin | ||
// Debug | ||
gotoxy(scMonitor, 18,12) | ||
switch x_nExecStatus | ||
case 0 | ||
put(scMonitor, "[+]") | ||
x_nExecStatus = 1 | ||
break | ||
case 1 | ||
put(scMonitor, "[-]") | ||
x_nExecStatus = 0 | ||
break | ||
default | ||
break | ||
endSwitch | ||
end]]></Code> | ||
</Program> | ||
</Programs> |
32 changes: 32 additions & 0 deletions
32
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/feedbackStatus.pgx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2"> | ||
<Program name="feedbackStatus" access="public"> | ||
<Parameters xmlns="http://www.staubli.com/robotics/VAL3/Param/1"> | ||
<Parameter name="x_nOutConnFlag" type="num" xsi:type="element" /> | ||
</Parameters> | ||
<Code><![CDATA[begin | ||
// update connection status on port 11002 (feedback server) | ||
gotoxy(scMonitor, 0,1) | ||
// 11 characteres: gotoxy(12,1) to insert status | ||
put(scMonitor, "Port 11002:") | ||
gotoxy(scMonitor, 12,1) | ||
switch x_nOutConnFlag | ||
case -1 | ||
put(scMonitor, "connection lost") | ||
break | ||
case 0 | ||
put(scMonitor, "not connected") | ||
break | ||
case 1 | ||
put(scMonitor, "connected") | ||
break | ||
default | ||
put(scMonitor, "not connected") | ||
break | ||
endSwitch | ||
end]]></Code> | ||
</Program> | ||
</Programs> |
14 changes: 14 additions & 0 deletions
14
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/init.pgx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2"> | ||
<Program name="init" access="public"> | ||
<Code><![CDATA[begin | ||
// Init user page | ||
userPage(scMonitor) | ||
cls(scMonitor) | ||
title(scMonitor, "ROS-I server") | ||
end]]></Code> | ||
</Program> | ||
</Programs> |
7 changes: 7 additions & 0 deletions
7
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/interfaceCS8.dtx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Data/2"> | ||
<Datas> | ||
<Data name="mNomSpeed" access="private" xsi:type="array" type="mdesc" size="1" /> | ||
<Data name="scMonitor" access="private" xsi:type="array" type="screen" size="1" /> | ||
</Datas> | ||
</Database> |
24 changes: 24 additions & 0 deletions
24
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/interfaceCS8.pjx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://www.staubli.com/robotics/VAL3/Project/3"> | ||
<Parameters version="s7.11" stackSize="5000" millimeterUnit="true" /> | ||
<Programs> | ||
<Program file="ack.pgx" /> | ||
<Program file="clearScreen.pgx" /> | ||
<Program file="debug.pgx" /> | ||
<Program file="feedbackStatus.pgx" /> | ||
<Program file="init.pgx" /> | ||
<Program file="motionBuffer.pgx" /> | ||
<Program file="motionProgress.pgx" /> | ||
<Program file="motionStatus.pgx" /> | ||
<Program file="start.pgx" /> | ||
<Program file="stop.pgx" /> | ||
<Program file="trajBuffer.pgx" /> | ||
<Program file="velOverwrite.pgx" /> | ||
</Programs> | ||
<Database> | ||
<Data file="interfaceCS8.dtx" /> | ||
</Database> | ||
<Libraries> | ||
<Library alias="libQueueFuncs" path="Disk://ros_libs/QueueFuncs/QueueFuncs.pjx" /> | ||
</Libraries> | ||
</Project> |
21 changes: 21 additions & 0 deletions
21
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/motionBuffer.pgx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2"> | ||
<Program name="motionBuffer" access="public"> | ||
<Parameters xmlns="http://www.staubli.com/robotics/VAL3/Param/1"> | ||
<Parameter name="x_nMovePts" type="num" xsi:type="element" /> | ||
<Parameter name="x_nElems" type="num" xsi:type="element" /> | ||
</Parameters> | ||
<Code><![CDATA[begin | ||
// update motion buffer size | ||
gotoxy(scMonitor, 0,4) | ||
put(scMonitor, "Motion buffer:") | ||
gotoxy(scMonitor, 19,4) | ||
put(scMonitor, x_nElems) | ||
gotoxy(scMonitor, 24,4) | ||
put(scMonitor, x_nMovePts) | ||
end]]></Code> | ||
</Program> | ||
</Programs> |
23 changes: 23 additions & 0 deletions
23
staubli_val3_driver/val3/ros_libs/UserInterface/interfaceCS8/motionProgress.pgx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2"> | ||
<Program name="motionProgress" access="public"> | ||
<Parameters xmlns="http://www.staubli.com/robotics/VAL3/Param/1"> | ||
<Parameter name="x_nMoveId" type="num" xsi:type="element" /> | ||
<Parameter name="x_nMotProg" type="num" xsi:type="element" /> | ||
</Parameters> | ||
<Code><![CDATA[begin | ||
// display nMoveId and nMotionProgress | ||
gotoxy(scMonitor, 0,7) | ||
put(scMonitor, "moveId:") | ||
gotoxy(scMonitor, 8,7) | ||
put(scMonitor, x_nMoveId) | ||
gotoxy(scMonitor, 13,7) | ||
put(scMonitor, "progress:") | ||
gotoxy(scMonitor, 23,7) | ||
put(scMonitor, x_nMotProg) | ||
end]]></Code> | ||
</Program> | ||
</Programs> |
Oops, something went wrong.