Robotics and AI educator at MathWorks. Co-host of the MATLAB and Simulink Robotics Arena.

Professional Interests: Education, Robotics, Simulation, Controls, Algorithms, Physical Modeling, Model-Based Design, Computer Vision, Machine Learning, Software Engineering

Non-professional Interests: Running, beer, wine, and heavy metal \m/

Answered

How do I make an autonomous line following program and also have driver control

Have you seen this new video of ours? https://www.mathworks.com/videos/switching-between-driver-and-autonomous-control-of-vex-r...

How do I make an autonomous line following program and also have driver control

Have you seen this new video of ours? https://www.mathworks.com/videos/switching-between-driver-and-autonomous-control-of-vex-r...

3 months ago | 0

Answered

Hor to make a URDF file?

URDF is a file format used externally to MATLAB. It just happens that MATLAB has a URDF importer. Here are the official tutoria...

Hor to make a URDF file?

URDF is a file format used externally to MATLAB. It just happens that MATLAB has a URDF importer. Here are the official tutoria...

3 months ago | 0

Answered

Simulink 3D Animation vs. Mechanics Explorer

Simulink 3D Animation requires you to simulate the robot dynamics separately, and then whatever positions you get from your simu...

Simulink 3D Animation vs. Mechanics Explorer

Simulink 3D Animation requires you to simulate the robot dynamics separately, and then whatever positions you get from your simu...

3 months ago | 1

| accepted

Answered

Robotsimulator is undefined function

That was from a demo, and not a shipping product feature. The closest thing I can think of in the latest version is the basic M...

Robotsimulator is undefined function

That was from a demo, and not a shipping product feature. The closest thing I can think of in the latest version is the basic M...

3 months ago | 0

Answered

I have no 'Build Model' button on my Simulink model Toolbar.

Do you have MATLAB Coder and Simulink Coder in your license? If you type in >> ver in MATLAB, do those toolboxes show up? - ...

I have no 'Build Model' button on my Simulink model Toolbar.

Do you have MATLAB Coder and Simulink Coder in your license? If you type in >> ver in MATLAB, do those toolboxes show up? - ...

3 months ago | 0

Answered

Error using RoboticsPlayground app while running a sample simulation

Do you have a Simscape Multibody license? If you type in >> ver in MATLAB, does that toolbox show up? - Sebastian

Error using RoboticsPlayground app while running a sample simulation

Do you have a Simscape Multibody license? If you type in >> ver in MATLAB, does that toolbox show up? - Sebastian

3 months ago | 0

Answered

frames not appearing using robotics system toolbox

Maybe the frames have a default size that is much smaller than the robot. If you divide the distance values of the DH parameters...

frames not appearing using robotics system toolbox

Maybe the frames have a default size that is much smaller than the robot. If you divide the distance values of the DH parameters...

3 months ago | 0

| accepted

Answered

Mobile Robotics Simulation Toolbox: Map Issues

The toolbox will accept any binaryOccupancyMap or occupancyMap variable as the map (or robotics.BinaryOccupancyGrid and robotics...

Mobile Robotics Simulation Toolbox: Map Issues

The toolbox will accept any binaryOccupancyMap or occupancyMap variable as the map (or robotics.BinaryOccupancyGrid and robotics...

3 months ago | 0

Submitted

Using MATLAB with Python

Files demonstrating MATLAB and Python interoperability

3 months ago | 32 downloads |

Answered

Issue: Create ROS master on Matlab

Two things. First, if all you want to do is create a ROS master on the localhost, all you need is the following rosinit Secon...

Issue: Create ROS master on Matlab

Two things. First, if all you want to do is create a ROS master on the localhost, all you need is the following rosinit Secon...

5 months ago | 0

Answered

Is it possible to use PRM and sequentially findpath function in Simulink?

It's doable in the sense that you can put the code in a MATLAB Function block (or as a MATLAB Function in Stateflow). It has its...

Is it possible to use PRM and sequentially findpath function in Simulink?

It's doable in the sense that you can put the code in a MATLAB Function block (or as a MATLAB Function in Stateflow). It has its...

5 months ago | 0

| accepted

Answered

Simulation Map Generator issues

The error you linked is a common one that happens when you input a grayscale (M x N) image instead of a color (M x N x 3) image....

Simulation Map Generator issues

The error you linked is a common one that happens when you input a grayscale (M x N) image instead of a color (M x N x 3) image....

6 months ago | 1

| accepted

Answered

Trajectory plotting of manipulator path in Simscape

Hi Gautami, Simscape Multibody has a "Spline" block that lets you display a curve if you pass in the XYZ points. You have to di...

Trajectory plotting of manipulator path in Simscape

Hi Gautami, Simscape Multibody has a "Spline" block that lets you display a curve if you pass in the XYZ points. You have to di...

7 months ago | 0

Answered

Empty thermal liquid tank

Have you looked into Simscape Fluids? They have a built in Thermal Liquid tank block you can parameterize based on specs like th...

Empty thermal liquid tank

Have you looked into Simscape Fluids? They have a built in Thermal Liquid tank block you can parameterize based on specs like th...

7 months ago | 0

Answered

Feeding knees angle to the walking robot

Thanks for tagging this post with roboticsarena so we got that notification! Much appreciated. In Simscape Multibody, you can c...

Feeding knees angle to the walking robot

Thanks for tagging this post with roboticsarena so we got that notification! Much appreciated. In Simscape Multibody, you can c...

8 months ago | 2

| accepted

Answered

ROS Publish Msg - DJI ROS OSDK

Instead of using a Bus Creator block, use a Blank Message block with the right message type (sensor_msgs/joy), and then use a Bu...

ROS Publish Msg - DJI ROS OSDK

Instead of using a Bus Creator block, use a Blank Message block with the right message type (sensor_msgs/joy), and then use a Bu...

8 months ago | 0

Answered

No visualisation shown in mechanics explorer

You might want to check that the folder containing the mesh files (the .STL or .STEP) files is on your MATLAB path. Else, the si...

No visualisation shown in mechanics explorer

You might want to check that the folder containing the mesh files (the .STL or .STEP) files is on your MATLAB path. Else, the si...

8 months ago | 0

Answered

In PRM algorithm how much the Minimum number of nodes needs to find the path

You don't! Probabilistic planning approaches have no guarantees, so you just have to pick something that succeeds most of the ti...

In PRM algorithm how much the Minimum number of nodes needs to find the path

You don't! Probabilistic planning approaches have no guarantees, so you just have to pick something that succeeds most of the ti...

8 months ago | 0

| accepted

Answered

What is the best desktop configuration/parts to run Matlab?

MathWorks has a system requirements page you can look at! https://www.mathworks.com/support/requirements/matlab-system-requirem...

What is the best desktop configuration/parts to run Matlab?

MathWorks has a system requirements page you can look at! https://www.mathworks.com/support/requirements/matlab-system-requirem...

10 months ago | 1

| accepted

Answered

Perform Safe Trajectory Tracking Control on Baxter robot

I'd suggest starting by computing the inverse kinematics/dynamics for each arm independently and seeing if you can place both ma...

Perform Safe Trajectory Tracking Control on Baxter robot

I'd suggest starting by computing the inverse kinematics/dynamics for each arm independently and seeing if you can place both ma...

10 months ago | 0

| accepted

Answered

System Identification of MIMO

You can perform System Identification on a MIMO system, as shown in this example. If you already have a model in SimMechanics, ...

System Identification of MIMO

You can perform System Identification on a MIMO system, as shown in this example. If you already have a model in SimMechanics, ...

10 months ago | 0

Solved

Pose from bearing angles in 2D

A robot moving on the plane has a sensor that measures the bearing angle to two mapped landmarks, that is, the world frame coord...

11 months ago

Solved

Twists in 2D

So far we have represented the pose of an object in the plane using a homogeneous transformation, a 3x3 matrix belonging to the ...

11 months ago

Solved

Pose interpolation in 2D

Consider two poses represented by homogeneous transformation matrices: |T1| and |T2|. Write an algorithm to interpolate between...

11 months ago

Solved

Composing relative poses in 2D: problem 2

We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There i...

11 months ago

Solved

Composing relative poses in 2D: problem 1

We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There i...

11 months ago

Solved

Relative points in 2D: problem 3

The 2D pose of a robot, with respect to a world coordinate frame {O}, is described by a 3x3 homogenous transform matrix T. A la...

11 months ago

Solved

Relative points in 2D: problem 2

The 2D pose of a robot, with respect to a world coordinate frame {O}, is described by a 3x3 homogenous transform matrix T. A la...

11 months ago

Solved

Relative points in 2D: problem 1

The 2D pose of a robot, with respect to a world coordinate frame {O}, is described by a 3x3 homogenous transform matrix T. A la...

11 months ago

Solved

Relative pose in 2D: problem 2

We consider a world reference frame denoted by {0} which has its x-axis pointing east and its y-axis pointing north. There is a...

11 months ago