Skip to content
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

Muscular Snake Post Processing Problem #473

Open
Aar2d2006 opened this issue Feb 26, 2025 · 0 comments
Open

Muscular Snake Post Processing Problem #473

Aar2d2006 opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Aar2d2006
Copy link

Describe the bug
rod_com_lines[rod_idx].set_xdata[com[0]]
rod_com_lines[rod_idx].set_ydata(com[2]).
These methods are supposed to accept float lists as parameters for the inputs in float. com[0] is a float and provides a runtime error when used in these methods. To fix this com[0] should be inputted as a list in the form of [com[0]]. After doing so, the code runs without error.

Image
@Aar2d2006 Aar2d2006 added the bug Something isn't working label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant