Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this homework, create an imaginary robot with four parts: base, p1, p2 and p3. The four parts are connected in a serial fashion, such

In this homework, create an imaginary robot with four parts: base, p1, p2 and p3. The four parts are connected in a serial fashion, such as base--p1--p2--p3

Rotations should all be identity rotations (straight, no rotation). Translations should only be in x. The y and z should always be 0.

Publish their relative transformations using the sendTransform function.

Have the p2's x translation value relative to p1 change once a second. You can decide how that change will be (e.g., linear motion in x with 3m/s speed).

All of the above should happen in a node named robot.py.

In another node called plot.py, get p1's, p2's and p3's transformations with respect to base. Publish the x values of their translations. Plot them in time in webviz and include them in your report. Explain what the plots show and how it reflects the motions of the robot.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Define organisation chart

Answered: 1 week ago

Question

What are the advantages of planning ?

Answered: 1 week ago

Question

Explain the factors that determine the degree of decentralisation

Answered: 1 week ago

Question

What Is acidity?

Answered: 1 week ago

Question

Explain the principles of delegation

Answered: 1 week ago