Answered

Four coupled inductors in Simscape.

Hi, There is no direct model for Four-Winding coupled inductor in Simscape. However, you can use the custom block in Simcape a...

Four coupled inductors in Simscape.

Hi, There is no direct model for Four-Winding coupled inductor in Simscape. However, you can use the custom block in Simcape a...

ungefär 3 år ago | 0

Answered

Loading a occupancy grid into a function block in simulink

Hi, You can refer to this documentation for implementation of Occupancy map in Simulink(check the planning block). Here a bina...

Loading a occupancy grid into a function block in simulink

Hi, You can refer to this documentation for implementation of Occupancy map in Simulink(check the planning block). Here a bina...

ungefär 3 år ago | 0

Answered

I want to use a comparator to compare a sine wave and a triangle wave in simscape. I can't get the components to connect.

Hi, You need to use a controlled voltage source block to convert a physical signal to a Electrical Signal. I have attached a s...

I want to use a comparator to compare a sine wave and a triangle wave in simscape. I can't get the components to connect.

Hi, You need to use a controlled voltage source block to convert a physical signal to a Electrical Signal. I have attached a s...

ungefär 3 år ago | 0

Answered

How can I control a pneumatic robot with Arduino and Matlab?

Hi, There is no direct way to control a pneumatic value or actuator directly from matlab. However you can build your logic usin...

How can I control a pneumatic robot with Arduino and Matlab?

Hi, There is no direct way to control a pneumatic value or actuator directly from matlab. However you can build your logic usin...

ungefär 3 år ago | 0

| accepted

Answered

Help in simulating Alternator Tests in determining the synchronous impedance of an alternator

Hi, You can model a synchronous alternator using Simscape in Simulink. Here is the a example which will give you a basic idea. ...

Help in simulating Alternator Tests in determining the synchronous impedance of an alternator

Hi, You can model a synchronous alternator using Simscape in Simulink. Here is the a example which will give you a basic idea. ...

ungefär 3 år ago | 0

Answered

How to prevent Simulink Pacer from resetting ROS time?

Hi, So the objective of the Gazebo Cosim feature is to design your logic in Simulink and the use Gazebo as a physics engine to ...

How to prevent Simulink Pacer from resetting ROS time?

Hi, So the objective of the Gazebo Cosim feature is to design your logic in Simulink and the use Gazebo as a physics engine to ...

ungefär 3 år ago | 0

Answered

How to generate 3D Trajectory Heatmap?

Hi, You can achieve the required workflow using occupancyMap3D. You can initialize the map initially with cell size as per your...

How to generate 3D Trajectory Heatmap?

Hi, You can achieve the required workflow using occupancyMap3D. You can initialize the map initially with cell size as per your...

ungefär 3 år ago | 0

Answered

webread won't read everything

Hi, The data on this webpage is dynamically generated using javascript and not static data as mentioned in the examples. Thus s...

webread won't read everything

Hi, The data on this webpage is dynamically generated using javascript and not static data as mentioned in the examples. Thus s...

ungefär 3 år ago | 1

| accepted

Answered

Using findpeaks collapses the size of my array, how do i stop this happening?

Hi, Based on your requirement, this snippet should solve your problem. [peaks,locations] = findpeaks(spectrum); %find the peak...

Using findpeaks collapses the size of my array, how do i stop this happening?

Hi, Based on your requirement, this snippet should solve your problem. [peaks,locations] = findpeaks(spectrum); %find the peak...

ungefär 3 år ago | 0

Answered

Read values from jpg images

Hi, The easiest way to read out the value will be using OCR. You can use it to read the values from the chart and then plot the...

Read values from jpg images

Hi, The easiest way to read out the value will be using OCR. You can use it to read the values from the chart and then plot the...

ungefär 3 år ago | 0

Answered

Spline/interp trajectory

Hi, Assuming that you want to perform interpolation on the waypoints, you can use the interp1 function to achieve interpolation...

Spline/interp trajectory

Hi, Assuming that you want to perform interpolation on the waypoints, you can use the interp1 function to achieve interpolation...

ungefär 3 år ago | 0

Answered

Gazebo Pacer setup issue

Hi, Based on what I understand from your question here is my answer in points. libGazeboCoSimPlugin enables the Gazebo size of...

Gazebo Pacer setup issue

Hi, Based on what I understand from your question here is my answer in points. libGazeboCoSimPlugin enables the Gazebo size of...

ungefär 3 år ago | 1

Answered

IMU mpu 6050 matlab code

Hi, There is direct interface available in MATLAB for mpu6050. You can find the documentation here. Hope this helps !!

IMU mpu 6050 matlab code

Hi, There is direct interface available in MATLAB for mpu6050. You can find the documentation here. Hope this helps !!

ungefär 3 år ago | 0

| accepted

Answered

Remove&reproduce node for path planning

Hi, You can use the uavScenerio feature in MATLAB to generate multi UAV as well as dynamic Obstacles. uavScenerio is the recomm...

Remove&reproduce node for path planning

Hi, You can use the uavScenerio feature in MATLAB to generate multi UAV as well as dynamic Obstacles. uavScenerio is the recomm...

ungefär 3 år ago | 1

Answered

Sensitivity Analysis Tool for Pre-Gathered Discrete Data Sets?

Hi, you can refer to this example which involves external data while doing senstivity analysis. You can also refer to additiona...

Sensitivity Analysis Tool for Pre-Gathered Discrete Data Sets?

Hi, you can refer to this example which involves external data while doing senstivity analysis. You can also refer to additiona...

mer än 3 år ago | 0

Answered

rostime call is slow

Hi, The difference in computation time is because of the implementation difference between the MATLAB and Python version of the...

rostime call is slow

Hi, The difference in computation time is because of the implementation difference between the MATLAB and Python version of the...

mer än 3 år ago | 0

Answered

Find intersection between two 2D meshes

Hi, Your task can be performed by Using collisionMesh to create a collision geometry. using checkCollision to check if the ge...

Find intersection between two 2D meshes

Hi, Your task can be performed by Using collisionMesh to create a collision geometry. using checkCollision to check if the ge...

mer än 3 år ago | 1

Answered

Camera Calibration with AprilTags not working with png image datafile

Hi, I have brought this issue to the notice of our developers. They will investigate the matter further.

Camera Calibration with AprilTags not working with png image datafile

Hi, I have brought this issue to the notice of our developers. They will investigate the matter further.

mer än 3 år ago | 0

Answered

How can I get distance data output from driving designer scneario ? otherwise how can I get distance so that it will be input for ACC model

Hi, Here is an example that has a similar implementation of ACC in Driving Scenerio. You can aslo refer to this documentation...

How can I get distance data output from driving designer scneario ? otherwise how can I get distance so that it will be input for ACC model

Hi, Here is an example that has a similar implementation of ACC in Driving Scenerio. You can aslo refer to this documentation...

mer än 3 år ago | 0

| accepted

Answered

Automated Driving Toolbox motion models

Hi, Here is a matlab example that models the motion of a tractor trailer system. This example uses simulink and the vehicle dyn...

Automated Driving Toolbox motion models

Hi, Here is a matlab example that models the motion of a tractor trailer system. This example uses simulink and the vehicle dyn...

mer än 3 år ago | 0

Answered

How can I unzip("MerchData.zip"); - permission denied to create file

Hi, You should try to change the current directory (using cd) to some other directory like Desktop or Home and then try. You c...

How can I unzip("MerchData.zip"); - permission denied to create file

Hi, You should try to change the current directory (using cd) to some other directory like Desktop or Home and then try. You c...

mer än 3 år ago | 0

Answered

Heatmap colors in districts of a map

Hi, The colormap can be used to change the colors in the plots. The colors are not random but taken from a set scheme as you ca...

Heatmap colors in districts of a map

Hi, The colormap can be used to change the colors in the plots. The colors are not random but taken from a set scheme as you ca...

mer än 3 år ago | 0

Answered

How does Simscape derive the state of charge, temperature, and terminal voltage from an input current in the battery models?

Hi, The Documentation for battery model mentions the equtations used in the model. You can also refer to the refrences attached...

How does Simscape derive the state of charge, temperature, and terminal voltage from an input current in the battery models?

Hi, The Documentation for battery model mentions the equtations used in the model. You can also refer to the refrences attached...

mer än 3 år ago | 1

Answered

Curve Extraction from Binary Image

Hi, In the image there are only 2 labels generated by bwlabeln, Assuming that you wish to generate a polynomial and plot it fo...

Curve Extraction from Binary Image

Hi, In the image there are only 2 labels generated by bwlabeln, Assuming that you wish to generate a polynomial and plot it fo...

mer än 3 år ago | 0

Answered

swarm simulation using mobile robotics simulation toolbox

Hi, Here is an example for swarm robots simulation. This will help you to simulate multiple Ware house robots using Robotics Sy...

swarm simulation using mobile robotics simulation toolbox

Hi, Here is an example for swarm robots simulation. This will help you to simulate multiple Ware house robots using Robotics Sy...

mer än 3 år ago | 0

Answered

send mavlink message to px4 by udp

Hi, As mentioned by @Ankur Bose you can use the Path Planning Protocol to send a TRAJECTORY_REPRESNTATION_WAYPOINTS message to...

send mavlink message to px4 by udp

Hi, As mentioned by @Ankur Bose you can use the Path Planning Protocol to send a TRAJECTORY_REPRESNTATION_WAYPOINTS message to...

mer än 3 år ago | 0

Answered

matchScansLine() gives poor match hypotheses

Hi, I have made modifications to your code that give better match and position estimates. I advise you to go through the refren...

matchScansLine() gives poor match hypotheses

Hi, I have made modifications to your code that give better match and position estimates. I advise you to go through the refren...

mer än 3 år ago | 0

Answered

How to make MATLAB find all roots of the equation?

Hi, There is currently no method to include the required condition in the solve function to get the roots. I have brought this ...

How to make MATLAB find all roots of the equation?

Hi, There is currently no method to include the required condition in the solve function to get the roots. I have brought this ...

mer än 3 år ago | 0

Answered

How to reduce the computation time for adding 3D-array?

Hi, You can use the parfor loop to use parallel processing and get higher computation speeds. However you will have to modify y...

How to reduce the computation time for adding 3D-array?

Hi, You can use the parfor loop to use parallel processing and get higher computation speeds. However you will have to modify y...

mer än 3 år ago | 0

Answered

Errors after converting project from 2019b to 2017a

Hi, The reason you are facing this issue is because the 'KeepCollinearPoints' Parameter for polyshape function was introduced a...

Errors after converting project from 2019b to 2017a

Hi, The reason you are facing this issue is because the 'KeepCollinearPoints' Parameter for polyshape function was introduced a...

mer än 3 år ago | 1

| accepted