Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus authored Apr 3, 2019
1 parent b1725ad commit a9fc2a5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,14 @@ public class ExampleClient extends UDPSimplePacketComs {
readFloats(1871, data);
});
}
public void send(double d){
double [] data = new double [1];
data[0]=d;
writeFloat(1871,data);
public double get(int index){
return data[index];
}
public void send(int index,double d){
IMU.getDownstream()[index]=d;
}
}
ExampleClient myInstance = ExampleClient.get("MyRobotName");
```

## New Servers Java
Expand Down

0 comments on commit a9fc2a5

Please sign in to comment.