From 9fdec96cc4b62eab04cf743eb5788bd7fda0149b Mon Sep 17 00:00:00 2001 From: Johann Bauer Date: Wed, 27 Apr 2016 13:07:09 +0200 Subject: [PATCH] Change example to call class instead of module `urx.robot` is a module and thus not callable. I think the `Robot` class is what's meant here. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f366b24..e657fe8 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ urx was primarily developed by [Olivier Roulet-Dubonnet](https://github.com/orou ```python import urx -rob = urx.robot("192.168.0.100") +rob = urx.Robot("192.168.0.100") rob.set_tcp((0, 0, 0.1, 0, 0, 0)) rob.set_payload(2, (0, 0, 0.1)) rob.movej((1, 2, 3, 4, 5, 6), a, v) @@ -89,4 +89,4 @@ if __name__ == '__main__': rob.close() print "true" sys.exit() -``` \ No newline at end of file +```