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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7 months ago | 3

| accepted

Answered

arduino uno simulink matlab Simulink does not permit you to modify the MATLAB installation area.

"Please change to a working folder that is not in the MATLAB installation area and re-try the previous command." So... as the e...

arduino uno simulink matlab Simulink does not permit you to modify the MATLAB installation area.

"Please change to a working folder that is not in the MATLAB installation area and re-try the previous command." So... as the e...

8 months ago | 0

Answered

Variable resistor in Simscape Specialized Technology

You can build one fairly quickly using the approach discussed here: https://www.mathworks.com/help/physmod/sps/powersys/ug/buil...

Variable resistor in Simscape Specialized Technology

You can build one fairly quickly using the approach discussed here: https://www.mathworks.com/help/physmod/sps/powersys/ug/buil...

8 months ago | 0

Answered

is turtlebot 2i also opera table using matlab?

You can control a TurtleBot2 from MATLAB using ROS: https://www.mathworks.com/help/robotics/examples/get-started-with-a-real-tu...

is turtlebot 2i also opera table using matlab?

You can control a TurtleBot2 from MATLAB using ROS: https://www.mathworks.com/help/robotics/examples/get-started-with-a-real-tu...

8 months ago | 0