#๐Ÿ”’ Kinematic Mechanism in Python

33 messages ยท Page 1 of 1 (latest)

sleek notchBOT
#

@tawdry urchin

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

tawdry urchin
#

My message got deleted for some reason

lone bobcat
#

paste it again

tawdry urchin
#

So I'm new to python and I'm working on an engineering project. I have this kinematic system and it's parameters. I'm asked to calculate the velocity, acceleration and displacement then plot them. I have a guidance yoke mechanism code which is provided to me but I have to write all formulas using the SympyFormula() class, however not rewrite them as a text, it should be printed from the classes and their methods I'm supposed to do. I'm expected to add a crank mechanism class based on the yoke mechanism given and then join it into a one mechanism. https://paste.pythondiscord.com/3ZQA

#

and I wrote a code that is not really working properly, let me upload it here

full condor
#

hey so whats not working properly?

#

also the yokemechanism classes dont match

tawdry urchin
#

So I'm just assuming from the wrong graphs that my code is wrong

tawdry urchin
full condor
#

ah

#

so in 3ZQA theres a YokeMechanism class

#

and in RFDA theres also a YokeMechanism class

#

but they dont match, are you meant to create your own YokeMechanism ?

#

" a class is a template that defines the variables and methods for a specific type of object" google answer lol

tawdry urchin
#

I tried to use the yoke mechanism given as code to apply it to the system I have which doesn't have a yoke

#

but I have supports and sliders

#

the arm AB does a 360 movement as the angular velocity is constant

#

so mine should be the version of "crank mechanism"

tawdry urchin
#

as I often don't understand anything from the definitions

#

How can I apply the dependencies of this system to my code? and eventually calculate the velocity, acceleration and displacement?

full condor
#

hrm

#

are you able to video chat?

tawdry urchin
#

At the moment I'm at the library ๐Ÿ˜„

#

but for sure I will be available for a video chat in a couple of hours or maybe tomorrow?

full condor
#

yeah i might be available

#

but in the meantime look up classes

#

i dont know enough about your whole assignment to help lol

#

and im not the best at teaching :S

#

looks like a cool project though

sleek notchBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.