A résolu


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

plus de 3 ans il y a

A résolu


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

plus de 3 ans il y a

A résolu


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

plus de 3 ans il y a

A résolu


Inner product of two vectors
Find the inner product of two vectors.

plus de 3 ans il y a

A résolu


Create a vector
Create a vector from 0 to n by intervals of 2.

plus de 3 ans il y a

A résolu


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

plus de 3 ans il y a

A résolu


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

plus de 3 ans il y a

A résolu


Find max
Find the maximum value of a given vector or matrix.

plus de 3 ans il y a

A résolu


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

plus de 3 ans il y a

A résolu


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

plus de 3 ans il y a

A résolu


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

plus de 3 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

plus de 3 ans il y a

Réponse apportée
Co-Simulation - Simulink, gazebo: Error evaluating 'MaskDialog'
Hi Jaeyong, I checked both .world files and saw issue in The_RC_Car_World.world I found that, in the The_RC_Car_World.world ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Gazebo Plug-in with Simulink : world position/orientation & relative position/orientation of the link
Hi Yunsik, The 'pose' values present in Gazebo GUI are 'relative_pose' Here, 'relative_pose' from Simulink are matching wi...

plus de 3 ans il y a | 0

Réponse apportée
Problem with gazebo subscribe block in simulink
Hi Aleksey, To enable custom message support, you need to use 'gazebogenmsg' in MATLAB. The .proto files or Gazebo msgs, you ...

plus de 3 ans il y a | 0

Réponse apportée
C++ file for Gazebo plugin "GazeboCoSimPlugin.so"
Hi Jaeyong, As you already have ROS2 and Gazebo VM, I will provide you details with respect to same VM. The Gazebo plugin so...

plus de 3 ans il y a | 0

Réponse apportée
Gazebo Customized Plugin: Read the body names of contacts
Hi Yunsik, As mentioned in the error, " Examine the configurations of 'Gazebo Robot/MATLAB Function' for one of the followin...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Simulating multiple robots in Gazebo through MATLAB/Simulink
Hi Antonio, There is command overriding issue associated with few apply command in multiple robot scenario. We worked on this...

plus de 3 ans il y a | 0

Réponse apportée
Gazebo Customized Plugin: Read contact positions that contains both a variable sized element and an array of sub-buses
Hi Yunsik, Add 'MATLAB function' block in Simulink and add following code lines in the function function y = fcn(u) y = strin...

plus de 3 ans il y a | 0

Réponse apportée
Gazebo Customized Plugin: Read contact positions that contains both a variable sized element and an array of sub-buses
Hi Yunsik, I created Simulink model for Contacts message and able to subscribe Contacts message data. To enable this, I did fol...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Gazebo Customized Plugin: Read contact positions that contains both a variable sized element and an array of sub-buses
Hi Yunsik, You can directly get Position.x at Bus Selector 13 by selection/expanding Position in Bus Selector. Any specific re...

plus de 3 ans il y a | 0

Réponse apportée
Gazebo subscribe block error in Simulink
Hi Yunsik, 1] This issue is more related to mux don't support variable size input. So, might be you need to try with fixed size...

plus de 3 ans il y a | 0

Réponse apportée
Error of gazebogenmsg to create the customized gazebo plugin
Hi Yunsik, You need to select Microsoft Visual C++ 2019 as follows, >> mex -setup cpp MEX configured to use 'Micros...

plus de 3 ans il y a | 0

| A accepté

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus de 3 ans il y a

Réponse apportée
How to apply relative force/torque/wrench using Gazebo Co simulation blocks in Simulink?
Hi Kenneth, To enable Gazebo functionality which are not available in current MATLAB-Simulink support, you can create custom pl...

plus de 3 ans il y a | 0

Réponse apportée
Gazebo subscribe block error in Simulink
Hi Yunsik, The Gazebo_SL_Bus_gazebo_msgs_custom_gazebo_msgs_Contacts.contact.wrench.body_1_wrench.force.x is of variable length...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to subscribe topic from gazebo by using the "gazebo subscribe block" in simulink
Hi shengqi, The Gazebo Subscribe block is designed for Custom Message Support. Basically, other than built-in support ( Read Bl...

plus de 3 ans il y a | 0

Réponse apportée
Probems working with Gazebo Pacer and ROS Messages
Hi Martin, You might need to update plugin from VM. Use packageGazeboPlugin and copy-build plugin on VM. You can follow exampl...

plus de 3 ans il y a | 0

Réponse apportée
Multiple mobile robots simulation with simulink and gazebo
Hi Alberto, The ApplyLinkWrench command with two robot can be configured as follows and work for two robots. Can you specify...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Co-simulation between Simulink and Gazebo runs slowly
Hi Haruki, You changed sampling time from 0.01 to 0.001 in the Gazebo Simulink block, which is correct. Currently, this is the ...

presque 4 ans il y a | 0

| A accepté

Charger plus