Question: Please help with this piece of code. I don't know what the mistake is . def wave _ hi ( publisher ) :
Please help with this piece of code. I don't know what the mistake is
def wavehipublisher:
Wave with one hand."""
jointnames HeadYaw "HeadPitch", "LShoulderPitch", "LShoulderRoll", "LElbowYaw", "LElbowRoll"
# Raise arm
raisearmpositions math.radians math.radians math.radians
publishjointstatepublisher jointnames, raisearmpositions, delay
# Wave back and forth
for i in range:
wavepositions raisearmpositions:
wavepositions math.radians # Elbow wave position
publishjointstatepublisher jointnames, wavepositions, delay
wavepositions math.radians # Elbow wave position
publishjointstatepublisher jointnames, wavepositions, delay
# Lower arm
lowerarmpositions
publishjointstatepublisher jointnames, lowerarmpositions, delay
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
