Jump to content

Houdini connection with Arduino


Recommended Posts

Hello, everyone! I want to change the height of the tube by collecting the data from arduino. I refer to this tutorial, but it seems that I still have some problem with it. The screenshot are posted below. Can anyone help me with it? 

The error message shows like this :

Error:       Unable to evaluate expression (
Traceback (most recent call last):
  File "<stdin>", line 2, in expression
  File "opdef:/Object/gwPlatform?PythonModule", line 18, in getHeight
  File "opdef:/Object/gwPlatform?PythonModule", line 8, in updateValues
AttributeError: 'module' object has no attribute 'ser'
 (/obj/gwPlatform1/tube1/tube1/height)).

image.thumb.png.4eb3b8778681f7bb5b100ceacf943ae7.png

image.thumb.png.f0dffb1e4a203cbeb5877edb84a74fd2.png

image.thumb.png.4242ad29eb4b3bd4535c3f4f77e135da.png

image.thumb.png.aa910eb981a0731aad80b79b690ede1c.png

image.thumb.png.45b8f48caeb5c7c8e5d7a8c4a899bb1f.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...