Skip to content

Commit f29a153

Browse files
author
Lars Ivar Hatledal
committed
Updated readme and gitignore
1 parent 88cf1c3 commit f29a153

File tree

6 files changed

+83
-32
lines changed

6 files changed

+83
-32
lines changed

.gitignore

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
1+
# NetBeans specific #
2+
nbproject/private/
3+
build/
4+
nbbuild/
5+
dist/
6+
nbdist/
7+
nbactions.xml
8+
nb-configuration.xml
9+
10+
# Class Files #
111
*.class
212

313
# Package Files #
414
*.war
515
*.ear
6-
/JOpenShowVar-core/dist/
7-
/JOpenShowVar-core/build/
8-
/JOpenShowVar-swing/build/
9-
/JOpenShowVar-swing/dist/
10-
11-
12-
#netbeans specific
13-
/JOpenShowVar-core/nbproject/*
14-
/JOpenShowVar-core/!nbproject/project.properties
15-
/JOpenShowVar-core/!nbproject/project.xml
16-
17-
/JOpenShowVar-swing/nbproject/*
18-
/JOpenShowVar-swing/!nbproject/project.properties
19-
/JOpenShowVar-swing/!nbproject/project.xml
20-
2116

2217
#general swap/backup files
2318
*.so
@@ -26,4 +21,4 @@
2621
*~
2722
*.swp
2823
*.DS_Store
29-
*.lock
24+
*.lock

JOpenShowVar-core/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# NetBeans specific #
2+
nbproject/private/
3+
build/
4+
nbbuild/
5+
dist/
6+
nbdist/
7+
nbactions.xml
8+
nb-configuration.xml
9+
10+
# Class Files #
11+
*.class
12+
13+
# Package Files #
14+
*.war
15+
*.ear
16+
17+
#general swap/backup files
18+
*.so
19+
*.log
20+
*.out
21+
*~
22+
*.swp
23+
*.DS_Store
24+
*.lock

JOpenShowVar-core/nbproject/private/private.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ do.depend=false
33
do.jar=true
44
javac.debug=true
55
javadoc.preview=true
6-
user.properties.file=C:\\Users\\Lars Ivar\\AppData\\Roaming\\NetBeans\\8.0\\build.properties
6+
user.properties.file=C:\\Users\\LarsIvar\\AppData\\Roaming\\NetBeans\\8.0\\build.properties

JOpenShowVar-core/nbproject/private/private.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
33
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
44
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
5-
<group>
6-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/networking/CrossComClient.java</file>
7-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/variables/StructNode.java</file>
8-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/networking/Request.java</file>
9-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/variables/Variable.java</file>
10-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/variables/Struct.java</file>
11-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/networking/Callback.java</file>
12-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/variables/Bool.java</file>
13-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/variables/Int.java</file>
14-
<file>file:/C:/GITRepo/GitHub/mechlab/JOpenShowvar/JOpenShowVar-core/src/no/hials/crosscom/variables/Real.java</file>
15-
</group>
5+
<group/>
166
</open-files>
177
</project-private>

JOpenShowVar-swing/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# NetBeans specific #
2+
nbproject/private/
3+
build/
4+
nbbuild/
5+
dist/
6+
nbdist/
7+
nbactions.xml
8+
nb-configuration.xml
9+
10+
# Class Files #
11+
*.class
12+
13+
# Package Files #
14+
*.war
15+
*.ear
16+
17+
#general swap/backup files
18+
*.so
19+
*.log
20+
*.out
21+
*~
22+
*.swp
23+
*.DS_Store
24+
*.lock

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,55 @@ making it possible to use different input devices and to develop alternative con
99

1010
JOpenShowVar may be used to connect to a real KRC controller or a simulated one using the KUKA.OfficeLite package
1111

12+
Video showing a KUKA KR6 R900 sixx being controlled using JOpenShowVar as the communication interface
13+
https://www.youtube.com/watch?v=6aZZAK4oyGg
14+
1215
Usage
1316
=========
14-
KUKAVARPROXY must firstly be installed on the KUKA SmartPad (copy paste the folder to somewhere in the windows environment -> run KUKAVARPROXY.exe)
17+
KUKAVARPROXY must firstly be started on the KUKA SmartPad (copy paste the folder to somewhere in the WinXP environment -> run KUKAVARPROXY.exe)
1518
Port 7000 has to set open from the SmartPad:
1619
Start-up -> Network configuration -> NAT -> Add port -> Port number 7000 and Permitted protocols: tcp/udp
1720

18-
Video showing a KUKA KR6 R900 sixx being controlled using JOpenShowVar as the communication interface
19-
https://www.youtube.com/watch?v=6aZZAK4oyGg
21+
In order to successfully establish an connection to the server. Your IP must be assigned a static IP in the same subrange as the one defined in the the SmartPads network configuration.
22+
2023

2124
Example code
2225
===========
2326

2427
```java
2528
public class Example {
2629

27-
private static String robotIP = "192.168.2.2";
30+
private static String robotIP = "192.168.2.2"; //The static IP of the robot
2831
private static int port = 7000;
2932

3033
public static void main(String[] args) throws IOException {
3134
CrosscomClient client = new CrossComClient(robotIP, port); //establish connection
3235

36+
//Reads the current value of $OV_JOG and print the callback containing the value
3337
Callback readRequest = client.sendRequest(new Request(0, "$OV_JOG")); //read request
3438
System.out.println(readRequest);
3539

40+
//Set $OV_JOG to 100% and print the callback
3641
Callback writeRequest = client.sendRequest(new Request(1, "$OV_JOG", "100")); //write request
3742
System.out.println(writeRequest);
43+
44+
//note that the first int argument can be any number between 0 and 99. It is simply an id given to the request so that it can be tracked.
3845
}
3946

4047
}
4148
```
4249

50+
Repository contents
51+
==================
52+
The repository contains 3 projects.
53+
JOpenShowVar-core is the core project and contains the important stuff.
54+
JOpenShowVar-swing provides a GUI interface and references the core project
55+
JOpenShowVar-android is a simple android project that also references the core project
56+
57+
libs contains 3rd party libraries used by the swing project
58+
59+
KUKAVARPROXY contains the files that must be copied over to the WinXP environment on the KUKA SmartPad.
60+
4361
Acknowledgements
4462
==============
4563
A big thanks to Massimiliano Fago, which is the original author of KUKAVARPROXY and the C++ project OpenShowVar (http://sourceforge.net/projects/openshowvar/)

0 commit comments

Comments
 (0)