Robot control and trajectory planing
Welcome! I'm excited to dive into the world of robotics with you.
Before we build our roadmap and start mapping out trajectories, I'd love to learn a little bit about what brings you here.
To help me tailor our session, could you tell me a bit about your background? For example, are you a student, a hobbyist, or working in a related engineering field? Also, what is your primary goal for learning about robot control and trajectory planning?
I'm a hobbyist building my own robot and want to make it move smoothly.
It is great to have you here! Building your own robot is an incredibly rewarding challenge, and wanting to make it move smoothly is the perfect goal to guide us. To get that silky-smooth motion, we first need to understand the master brain behind the movement: Robot Control.
Let's continue to Trajectory Planning and how it differs.
Now let's switch gears to the other half of our smooth-motion puzzle: Trajectory Planning.
Can you show me a diagram of this?
To visualize how these systems interact to prevent jerky, sudden motions, let's look at the flow of information across the whole loop:
The control loop flow of a robot, showing the relationship from Planner to Controller, Actuators, Robot, Sensors, and back.
I've started generating that diagram to help you visualize the loop!
Notice how the planner sits outside the feedback loop. It creates the perfect reference trajectory ahead of time. The controller then constantly compares the sensor data against this reference, calculating the exact motor commands to keep the physical robot on the planned path.
Continue to joint space vs. task space
Now that we know how the planner and controller cooperate, let's explore how they actually describe the robot's world. To make your robot move smoothly, we have to look at its movement through two entirely different lenses: Task Space and Joint Space.
The Two Spaces of Robotics
This sets up the ultimate coordination challenge: we want to plan smooth, logical paths in task space (so the hand moves in a straight line), but we have to control the motors in joint space.
Before we dive into how we map those two spaces together, does this core distinction between the user's world (task space) and the motor's world (joint space) make sense?