-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TPDO 2 Subindex #392
Comments
Hi @fab-sch, If you mapped the objects you can use the parameter name to access it
For instance "Target Velocity", is the name of the object mapped to RPDO 1 subindex 1 try this (this is from the top of my head and i'm not sure which is the correct one) |
Hi,
Here is my Record details.
It would be really helpful if you can provide a small example to get ParameterName from the OD directly and then read it in a loop. Thanks in advance. |
Hi there,
i mapped 0x3010sub1, 0x3010 sub2, and 0x3010 sub3 to TPDO2.
No i want to read the 0x3010sub1 with a python script:
...
try:
while True:
...
unfortunately i always get the error:
x_raw=node_50.tpdo[2][0x3010][1].raw
TypeError: 'Variable' object is not subscriptable
I also tried x_raw=node_50.tpdo[2][0x3010, 1].raw but the same error occured
When I try x_raw=node_50.tpdo[2][0x3010].raw i recieve values, but how can i access to 3010sub3 for example?
Thank you very much
The text was updated successfully, but these errors were encountered: