Save this video free

Advanced Dynamics: Introduction to Mujoco Part 2

Christian Hubicki · 1:16:45 · Watch on YouTube

Advanced Dynamics: Introduction to Mujoco Part 2 Watch on YouTube →

Overview

Christian Hubicki extends a MuJoCo and Python workflow for building articulated systems, recording simulation state, and plotting joint motion. He constructs a double pendulum and parallel branches in XML, explains key dynamics outputs, and implements a PD controller to drive a joint toward a 90-degree target.

Key takeaways

Chapters

0:00 MuJoCo Part 2: From Basic Models to Usable Simulations
3:00 Recapping the Cart, Slider, Hinge, and Capsule Model
6:00 Defining Capsule Geometry with MuJoCo's fromto Coordinates
10:00 Body Position, Mass, Inertia, and 3D Orientation
14:00 Kinematic Trees and the Shift from Animation to Data
17:00 Recording Time, Joint Positions, and Velocities
24:00 Copying MuJoCo State and Converting Logs to NumPy Arrays
30:00 Plotting Cart Position and Pendulum Angle with Matplotlib
36:00 Changing MuJoCo's Fixed Simulation Timestep
38:00 Finding State, Control, Force, and Acceleration Outputs
44:00 Relating MuJoCo Outputs to the Manipulator Dynamics Equation
50:00 Adding a Second Pendulum Through Nested XML Bodies
56:00 Debugging XML Syntax and Placing the Second Link
1:05:00 Actuating the Second Hinge and Building a PD Controller
1:14:00 Duplicating Pendulum Branches to Make a Contacting Robot

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:02 Good morning everybody. Hope you're doing well. Hope you're doing great. Sorry, I'm still a little under the weather. So, I figured I would lecture from this my home studio where I have my robot mug. I didn't make this one. That's from a cafe called the broken robot cafe somewhere on the west coast. But anyway, since I am not with you today, I am here in my coding setup. though while I've been sick I've been managed I think to upgrade my uh in le inhal lecture setup for easier coding I think I think I got it working in the process of fixing this up I think I fixed that one up too so it should be easier to switch back and forth from uh from math to coding and back and forth because what I want to do next week is by the end of this week I

0:51 want you to know how the basics of using Majoko okay uh the basic like can you assemble a body? Can you put it in a simulation? Can you get the data out? Can you plot it? Can you animate it and play with it from there? Because there's so many options in Moko. You can go through their documentation just googling Mo and get it. But I want to show you the the the bones for how you build this thing. And hopefully today we will have those bones for it, right? Be able to get the things that you need. Okay. So, uh that's what I hope to do today. And next week I want to show you how you can do more advanced simulations in mat lab. Okay, in the ways that we've been setting up all of our lrangee mechanics, okay, and uh using things

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Christian Hubicki.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.