diff --git a/Dockerfile b/Dockerfile index 8337363..f7d7907 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,6 +76,7 @@ RUN pip3 install pymodbus && \ cd /home/ubuntu/catkin_ws/src/ZLAC8015D_python && \ + python3 setup.py install && \ usermod -a -G dialout $USER diff --git a/src/ZLAC8015D_python/zlac8015d/ZLAC8015D.py b/src/ZLAC8015D_python/zlac8015d/ZLAC8015D.py index 787c593..45541fe 100644 --- a/src/ZLAC8015D_python/zlac8015d/ZLAC8015D.py +++ b/src/ZLAC8015D_python/zlac8015d/ZLAC8015D.py @@ -131,7 +131,8 @@ elif MODE == 2: print("Set absolute position control") elif MODE == 3: - print("Set speed rpm control") + dummy = 0 + #print("Set speed rpm control") else: print("set_mode ERROR: set only 1, 2, or 3") return 0