回答済み

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

2年以上 前 | 0

回答済み

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

2年以上 前 | 0

| 採用済み

回答済み

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

2年以上 前 | 1

| 採用済み

回答済み

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

2年以上 前 | 1

| 採用済み

回答済み

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

2年以上 前 | 2

| 採用済み

回答済み

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

2年以上 前 | 1

| 採用済み

回答済み

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

3年弱 前 | 3

| 採用済み

回答済み

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

3年弱 前 | 0

回答済み

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

3年弱 前 | 0

回答済み

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

3年弱 前 | 0

回答済み

Abc to dq0 transformation

In Simscape Electrical (previously Simscape Power Systems) https://www.mathworks.com/help/physmod/sps/powersys/ref/abctodq0dq0t...

Abc to dq0 transformation

In Simscape Electrical (previously Simscape Power Systems) https://www.mathworks.com/help/physmod/sps/powersys/ref/abctodq0dq0t...

3年弱 前 | 0

回答済み

Circular trajectory on Parrot minidrone

If the X trajectory is a sine and the Y trajectory is a cosine, that's a circle! https://www.mathopenref.com/coordparamcircle.h...

Circular trajectory on Parrot minidrone

If the X trajectory is a sine and the Y trajectory is a cosine, that's a circle! https://www.mathopenref.com/coordparamcircle.h...

3年弱 前 | 0

| 採用済み

回答済み

Custom activation functions for Deep Learning Toolbox?

Sure you can! Here is an example: https://www.mathworks.com/help/deeplearning/ug/define-custom-deep-learning-layer.html - Seba...

Custom activation functions for Deep Learning Toolbox?

Sure you can! Here is an example: https://www.mathworks.com/help/deeplearning/ug/define-custom-deep-learning-layer.html - Seba...

3年弱 前 | 2

回答済み

Please suggest me how I can stop the charging of battery at 80% by using simulink?

If you open that switch, those 12A of constant current have no choice but to all go into the battery, so it makes sense that it ...

Please suggest me how I can stop the charging of battery at 80% by using simulink?

If you open that switch, those 12A of constant current have no choice but to all go into the battery, so it makes sense that it ...

3年弱 前 | 0

回答済み

How to use MATLAB open the baxter robot's cameras？

The joint commands require publishing to the topic, as it's actuators. Cameras are sensors, so they would require subscribing to...

How to use MATLAB open the baxter robot's cameras？

The joint commands require publishing to the topic, as it's actuators. Cameras are sensors, so they would require subscribing to...

3年弱 前 | 1

| 採用済み

回答済み

Problem with the .mltbx toolbox file in Matlab 2018a

I think this is because you're trying to install this on a folder that requires admin/root access. Try moving the .mltbx file s...

Problem with the .mltbx toolbox file in Matlab 2018a

I think this is because you're trying to install this on a folder that requires admin/root access. Try moving the .mltbx file s...

3年弱 前 | 0

回答済み

Unable to connect rotational elements to lever block in simscape

The Lever block accepts 2 Translational ports, so the Rotational ones won't directly connect. In your diagram, this means you ca...

Unable to connect rotational elements to lever block in simscape

The Lever block accepts 2 Translational ports, so the Rotational ones won't directly connect. In your diagram, this means you ca...

約3年 前 | 0

回答済み

Simulink - Constant as an argument to a MATLAB function block

Unfortunately, this is a documented limitation: <https://www.mathworks.com/help/signal/ref/upfirdn.html#d120e192101> (expand ...

Simulink - Constant as an argument to a MATLAB function block

Unfortunately, this is a documented limitation: <https://www.mathworks.com/help/signal/ref/upfirdn.html#d120e192101> (expand ...

約3年 前 | 0

回答済み

Error in determining the root folder

If you want the name of the current folder >> folderName = pwd; If you want the name of the file containing the MATLAB s...

Error in determining the root folder

If you want the name of the current folder >> folderName = pwd; If you want the name of the file containing the MATLAB s...

約3年 前 | 0

回答済み

What to use for Semantic Segmentation

You can start with premade neural network architectures. The following example does this with the VGG-16 architecture: <https...

What to use for Semantic Segmentation

You can start with premade neural network architectures. The following example does this with the VGG-16 architecture: <https...

約3年 前 | 0

| 採用済み

回答済み

Defining time on Ev3 Robot in matlab

If you're using the MATLAB - LEGO interface, then you're not really deploying any code, right? If so, then I would recommend usi...

Defining time on Ev3 Robot in matlab

If you're using the MATLAB - LEGO interface, then you're not really deploying any code, right? If so, then I would recommend usi...

約3年 前 | 0

回答済み

Measurement data as source for Simulink model

Try a "From Workspace" block: <https://www.mathworks.com/help/simulink/slref/fromworkspace.html> Or in general, you can e...

Measurement data as source for Simulink model

Try a "From Workspace" block: <https://www.mathworks.com/help/simulink/slref/fromworkspace.html> Or in general, you can e...

約3年 前 | 0

回答済み

Is it possible to pass outputs from one model to be the inputs of another model using simulink?

You could try model referencing to connect these two models inside one bigger "parent" model. It's a very common thing when you ...

Is it possible to pass outputs from one model to be the inputs of another model using simulink?

You could try model referencing to connect these two models inside one bigger "parent" model. It's a very common thing when you ...

約3年 前 | 1

| 採用済み

回答済み

please what are the names of the different types of neural network available in matlab?

There are for sure Convolutional and Recurrent Neural Networks in release 2018b of MATLAB. * Convolutional: <https://www.math...

please what are the names of the different types of neural network available in matlab?

There are for sure Convolutional and Recurrent Neural Networks in release 2018b of MATLAB. * Convolutional: <https://www.math...

約3年 前 | 0

回答済み

This function does not fully set the dimensions of output port 2 error in matlab?

Hi Najmeh Eskandari, I would highly recommend running this code in MATLAB and debugging it yourself. I just did the same and ...

This function does not fully set the dimensions of output port 2 error in matlab?

Hi Najmeh Eskandari, I would highly recommend running this code in MATLAB and debugging it yourself. I just did the same and ...

約3年 前 | 0

| 採用済み

回答済み

i made a quarter car suspension using simulink . but the output is always 0. why? i need help!

You either need a forcing function or some nonzero initial conditions in the Integrator blocks... otherwise, you should expect t...

i made a quarter car suspension using simulink . but the output is always 0. why? i need help!

You either need a forcing function or some nonzero initial conditions in the Integrator blocks... otherwise, you should expect t...

約3年 前 | 1

| 採用済み

回答済み

Converting double array to struct array for generalized inverse kinematics

Instead of converting back and forth, it's easier to stick to a consistent format -- either all structs or all numeric. If yo...

Converting double array to struct array for generalized inverse kinematics

Instead of converting back and forth, it's easier to stick to a consistent format -- either all structs or all numeric. If yo...

約3年 前 | 0

回答済み

show command from robotics

Yes -- you have to disable the |PreservePlot| property as follows: show(robot,qWaypoints(k,:)','PreservePlot',false); - ...

show command from robotics

Yes -- you have to disable the |PreservePlot| property as follows: show(robot,qWaypoints(k,:)','PreservePlot',false); - ...

約3年 前 | 0

回答済み

How can i send image using UDP in Matlab code ?

If you have Instrument Control Toolbox, you can use this functionality: <https://www.mathworks.com/help/instrument/tcp-ip-and...

How can i send image using UDP in Matlab code ?

If you have Instrument Control Toolbox, you can use this functionality: <https://www.mathworks.com/help/instrument/tcp-ip-and...

約3年 前 | 0

| 採用済み

回答済み

how to create topic ?

With |rospublisher|: <https://www.mathworks.com/help/robotics/ref/robotics.publisher.html> - Sebastian

how to create topic ?

With |rospublisher|: <https://www.mathworks.com/help/robotics/ref/robotics.publisher.html> - Sebastian

約3年 前 | 2