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/

Submitted

Using MATLAB with Python

Files demonstrating MATLAB and Python interoperability

6 days ago | 30 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...

11 days 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...

11 days 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....

1 month 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...

3 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...

3 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...

4 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...

4 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...

4 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...

4 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...

5 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...

5 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, ...

6 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...

6 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 ...

6 months ago

Solved

Pose interpolation in 2D

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

6 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...

6 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...

6 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...

6 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...

6 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...

6 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...

6 months ago

Solved

Relative pose 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 is a...

6 months ago

Answered

Subscribing to a topic with our own defined message type in ROS through Simulink

There is an example in the documentation for setting up custom ROS messages: https://www.mathworks.com/help/robotics/ug/create-...

Subscribing to a topic with our own defined message type in ROS through Simulink

There is an example in the documentation for setting up custom ROS messages: https://www.mathworks.com/help/robotics/ug/create-...

7 months ago | 0

Answered

Path Following for a Differential Drive Robot

Do you mean the exact code that is shown in the documentation page? Because it's all there... https://www.mathworks.com/help/ro...

Path Following for a Differential Drive Robot

Do you mean the exact code that is shown in the documentation page? Because it's all there... https://www.mathworks.com/help/ro...

7 months ago | 0

| accepted

Answered

Cannot connect to ROS device

Hi An, Have you installed openssh-server on your Ubuntu machine? This is needed for the tests to succeed, far as I recall. htt...

Cannot connect to ROS device

Hi An, Have you installed openssh-server on your Ubuntu machine? This is needed for the tests to succeed, far as I recall. htt...

7 months ago | 0

| accepted

Answered

Mobile robotics training toolbox

This means you don't have a Robotics System Toolbox license. If you are able to get one, this issue should be resolved. - Seba...

Mobile robotics training toolbox

This means you don't have a Robotics System Toolbox license. If you are able to get one, this issue should be resolved. - Seba...

7 months ago | 1

| accepted

Answered

Custom ROS msg type does not get added to rosmsg list even after MATLAB restart

Hi An, Pretty sure the ROS package requires your .msg file to be inside a subfolder called msg. So your folder structure shoul...

Custom ROS msg type does not get added to rosmsg list even after MATLAB restart

Hi An, Pretty sure the ROS package requires your .msg file to be inside a subfolder called msg. So your folder structure shoul...

7 months ago | 2

| accepted

Answered

ROS create PointCloud2 from MATLAB pointCloud

Hello Connor, It's almost been a year since you asked, but I just learned about this question! I've written MATLAB and Simulin...

ROS create PointCloud2 from MATLAB pointCloud

Hello Connor, It's almost been a year since you asked, but I just learned about this question! I've written MATLAB and Simulin...

7 months ago | 1

| accepted

Answered

Difference between Simulink Coder and Embedded Coder

Both Simulink Coder generate C code from Simulink models, and both of them can put that C code in a C++ wrapper to be effectivel...

Difference between Simulink Coder and Embedded Coder

Both Simulink Coder generate C code from Simulink models, and both of them can put that C code in a C++ wrapper to be effectivel...

8 months ago | 3

| accepted