Skip to content

Commit 2845657

Browse files
Changed IP in readme to default robot IP
1 parent 9b88914 commit 2845657

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Unlock the brakes in the web interface, activate FCI, and start coding:
8383
```python
8484
from franky import *
8585

86-
robot = Robot("172.16.0.2") # Replace this with your robot's IP
86+
robot = Robot("10.90.90.1") # Replace this with your robot's IP
8787

8888
# Let's start slow (this lets the robot use a maximum of 5% of its velocity, acceleration, and jerk limits)
8989
robot.relative_dynamics_factor = 0.05
@@ -286,7 +286,7 @@ As a first example, only four lines of code are needed for simple robotic motion
286286
using namespace franky;
287287

288288
// Connect to the robot with the FCI IP address
289-
Robot robot("172.16.0.2");
289+
Robot robot("10.90.90.1");
290290

291291
// Reduce velocity and acceleration of the robot
292292
robot.setRelativeDynamicsFactor(0.05);
@@ -303,7 +303,7 @@ The corresponding program in Python is
303303
```python
304304
from franky import Affine, CartesianMotion, Robot, ReferenceType
305305
306-
robot = Robot("172.16.0.2")
306+
robot = Robot("10.90.90.1")
307307
robot.relative_dynamics_factor = 0.05
308308
309309
motion = CartesianMotion(Affine([0.2, 0.0, 0.0]), ReferenceType.Relative)
@@ -344,7 +344,7 @@ Moreover, we added methods to adapt the dynamics limits of the robot for all mot
344344
```python
345345
from franky import *
346346

347-
robot = Robot("172.16.0.2")
347+
robot = Robot("10.90.90.1")
348348

349349
# Recover from errors
350350
robot.recover_from_errors()
@@ -395,7 +395,7 @@ The robot state can be retrieved by accessing the following properties:
395395
```python
396396
from franky import *
397397

398-
robot = Robot("172.16.0.2")
398+
robot = Robot("10.90.90.1")
399399

400400
# Get the current state as `franky.RobotState`. See the documentation for a list of fields.
401401
state = robot.state
@@ -794,7 +794,7 @@ Instead, it returns immediately and, thus, allows the main thread to set new mot
794794
import time
795795
from franky import Affine, CartesianMotion, Robot, ReferenceType
796796
797-
robot = Robot("172.16.0.2")
797+
robot = Robot("10.90.90.1")
798798
robot.relative_dynamics_factor = 0.05
799799
800800
motion1 = CartesianMotion(Affine([0.2, 0.0, 0.0]), ReferenceType.Relative)
@@ -830,7 +830,7 @@ Then, additionally to the libfranka commands, the following helper methods can b
830830
#include <chrono>
831831
#include <future>
832832

833-
auto gripper = franky::Gripper("172.16.0.2");
833+
auto gripper = franky::Gripper("10.90.90.1");
834834

835835
double speed = 0.02; // [m/s]
836836
double force = 20.0; // [N]
@@ -866,7 +866,7 @@ The Python API follows the c++ API closely:
866866
```python
867867
import franky
868868

869-
gripper = franky.Gripper("172.16.0.2")
869+
gripper = franky.Gripper("10.90.90.1")
870870

871871
speed = 0.02 # [m/s]
872872
force = 20.0 # [N]
@@ -910,7 +910,7 @@ A typical automated workflow could look like this:
910910
```python
911911
import franky
912912

913-
with franky.RobotWebSession("172.16.0.2", "username", "password") as robot_web_session:
913+
with franky.RobotWebSession("10.90.90.1", "username", "password") as robot_web_session:
914914
# First take control
915915
try:
916916
# Try taking control. The session currently holding control has to release it in order
@@ -948,7 +948,7 @@ In case you are running the robot for longer than 24h you will have noticed that
948948
import time
949949
import franky
950950

951-
with franky.RobotWebSession("172.16.0.2", "username", "password") as robot_web_session:
951+
with franky.RobotWebSession("10.90.90.1", "username", "password") as robot_web_session:
952952
# Execute self-test if the time until self-test is less than 5 minutes.
953953
if robot_web_session.get_system_status()["safety"]["timeToTd2"] < 300:
954954
robot_web_session.disable_fci()

0 commit comments

Comments
 (0)