Overview

In this project, the goal was to control a youBot mobile manipulator — a robot with a mecanum-wheel base and a 5-joint arm. This included:

The project was divided into 3 milestones, each building up toward full control and simulation of the mobile manipulator

Milestone 1

In this milestone, the goal was to write a simulator for the kinematics of the youBot. This involved implementing a function that updates the robot’s configuration based on its current state and given joint/wheel velocities over a small time step.

Inputs:

The function computes:

The function was tested by simulating 1 second of constant control input, saving the resulting robot states in a CSV file, and visualizing the motion in the CoppeliaSim simulator.

Milestone 2

This milestone focused on creating a reference trajectory for the end-effector of the youBot. This meant implementing a function to generate a complete motion plan for picking up a cube from an initial position and moving it to a target location.

Inputs:

Output:

The trajectory includes 8 segments:

  1. Move above the cube
  2. Lower to grasp
  3. Close gripper
  4. Lift cube
  5. Move above target
  6. Lower to target
  7. Open gripper
  8. Return to standoff

Approach

Milestone 3: Feedforward Control

In the final milestone, the task was to implement feedback control for the youBot mobile manipulator. The goal was to write a FeedbackControl function that computes the twist (motion command) needed for the robot’s end-effector to follow a reference trajectory in task space.

Description 2

This controller combines both:

The function uses:

It computes the commanded twist of the end-effector, which is then converted to joint and wheel velocities using the robot’s Jacobian expressed in end-effector frame. The controller allows the robot to accurately track a planned path and correct for any small errors, enabling smooth and responsive motion in simulation.

Description 2

Handling joint constraints and singularities

Results

Code

All code and simulation outputs are available at https://github.com/phanikiran1169/RoboticManipulation

References

  1. K. M. Lynch and F. C. Park, Modern Robotics: Mechanics, Planning, and Control. Cambridge, U.K.: Cambridge Univ. Press, 2017