Réponse apportée
Unstable communication of turtlesim in ROS2 in Simulink
Hello 健, Custom messages are supported in Simulink as well. If I understand your question correctly, you are trying to subscri...

presque 3 ans il y a | 0

Réponse apportée
Rosinit error: Undefined function or variable 'rosinit'
Hi Alireza, This error indicates that MATLAB is not able to find the function 'rosinit'. Likely, some path got messed up. You c...

presque 3 ans il y a | 0

Réponse apportée
ROS compilation fails because 'slros_initialize.h' is missing.
Hello Markus, As Tobias suggested, please change the hardware board seeting to 'Robot Operating System (ROS)'. This is required...

presque 3 ans il y a | 0

Réponse apportée
how to convert .bag file into .pcd in matlab (Lidar Data) ?
Hi Dayananda, To achieve this with MATLAB, you would need both ROS Toolbox license and Computer Vision Toolbox license. You can...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
ROS2 subscribe IsNew output remains true even if no new messages are received
Hello Callum, This is a known issue in 2021b and earlier version of MATLAB. Please update your MATLAB to at least 2021b Updat...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Matlab fails to see nodes in Gazebo VM
Hi Oren, Can you provide more information about the VM you are using here? Are you using the VM from MathWorks? If yes, which ...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
Automated Parking Valet with ROS 2 in Simulink example errors out during model update
Recent change in GNU turned "--as-needed" for ld as default, which causes this issue. To address this, open the model "ROS2Vale...

presque 3 ans il y a | 0

| A accepté

Question


Automated Parking Valet with ROS 2 in Simulink example errors out during model update
I open the model from Automated Parking Valet with ROS 2 in Simulink example and use "Ctrl+D" to update it. However, I got the f...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to input bus data (values) into my simulink model?
Hey Timo, If you have that bus/struct saved in Data dictionary, you should be able to bring it to MATLAB with "Simulink.data.di...

presque 3 ans il y a | 1

Réponse apportée
Error occurs when executing 'rosinit'
Hello Ryo, Before running "rosinit", have you used "ROS Toolbox Preference" to setup the environment? In there, if there is any...

presque 3 ans il y a | 0

Réponse apportée
ROS Toolbox read scan block ouput zero all the time.
Hi Zike, It does not matter if you have a "stop" or not in the Simulink model. When referring to the comment on the read-scan ...

environ 3 ans il y a | 0

Réponse apportée
Error when trying to set the Path for python executable for ROS toolbox preferences
Hello Nabil, Sorry about the confusing error message, team is working on improving this error message. As for now, please try ...

environ 3 ans il y a | 0

Réponse apportée
Fail to list ros2 topics when ubuntu publish topics with same ros_domain_id and same subnet.
Hi Jingyu, I hope you've found a solution to this issue. If not, please also feel free to also reach out to our techinical supp...

environ 3 ans il y a | 0

Réponse apportée
Data from Simulink does not update ROS2 topic
Hello Renzo, When publishing messages with vector fields in Simulink, Simulink needs to know the length of valid data in those ...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Issue with libstdc++.so.6, when starting code generation.
Hello Mirhad, You may consider updating MATLAB to R2022b Update 2. This issue should be resolved after updating MATLAB. Besi...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Issue in publishing ROS topic to another PC
Hello Kazuo, The environment variable configuration you shared looks correct to me. I suspect this may still have something to...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Error in Using ROS Topic
Hi Shivam, The topic "/gazebo/ModelState" contains only one "Pose" field, while the topic "/gazebo/ModelStates" that you are us...

environ 3 ans il y a | 0

Réponse apportée
ROS2 Subscriber Callback Function Arguments for Code Generation
Hello Michael, This is a known issue in code generation with ros2subscriber callback. Sorry about the inconvenience caused by t...

environ 3 ans il y a | 0

| A accepté

Réponse apportée
Generated ROS node from Simulink, does not work on the target ROS device when launching it manually from Linux terminal without Simulink
Hi JF, Other quick things to try are: 1. Check whether the Gazebo world has been reset or not. Sometimes you may need to reset...

environ 3 ans il y a | 0

Réponse apportée
Unable to run the simulink on ROS device due to administrative privileges issue
Hello Sandesh, This is a suggested action instead of an error. It should not prevent you from generating a ROS node or deployin...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to make ROS subscribe block ensure that each message of a customized ROS topic is caught from Gazebo
Hi Hirak, If I understand correctly, you are running the Simulink controller through Simulink simulation instead of code gene...

plus de 3 ans il y a | 0

Réponse apportée
Select Node name created by ROS Toolbox on Simulink at master connection
Hello Jesús, As you may've discovered, the name of ROS node created from a Simulink model is auto generated with the pattern as...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How do I use a ros2 discovery server in matlab
Hi Samuel, I just tried this on my end and it works fine as shown below: sub3 was created with a node when "ROS_DISCOVERY_SE...

plus de 3 ans il y a | 0

Réponse apportée
How to access instance of class in ROS2 subscriber callback?
Hello Kyösti, Using a single object to manage both data and callback for subscriber is feasible. In this case, subscriber callb...

plus de 3 ans il y a | 0

Réponse apportée
ROS toolbox stuck on service call
Hi Kyösti, The code looks correct for me except "res" should probably be "response". But I don't think that is the culprit. I ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
when i creat a ros2 node ,it dosn't work.why 'Input data can only contain ASCII characters' ?
Hello Xin, I tried the same command you posted here on my end and it successfully created a ROS 2 node. As Walter mentioned, t...

plus de 3 ans il y a | 0

Réponse apportée
Incorrect image encoding from ROS and Raspicam
Hello Sebasian, Could you elaborate about what you mean by "VariableSize property from encoding arrey to rgb (1280x960x3)"? I a...

plus de 3 ans il y a | 0

Réponse apportée
Compatibility ros2node with Coder Generation
Hello Michael, You are right. Code generation support for 'ros2node' starts at R2021b. You should be able to use this feature ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Questions about ros2 call service blocks in simulink
Hello Xiaochen, It is difficult to figure out the culprit from the screenshot of the model. However, I do have some troubleshoo...

presque 4 ans il y a | 0

Réponse apportée
ROS2: How to generate code without makefile execution using Matlab coder
Hello Marek, Thanks for bringing this to our attention! This is a bug in both ROS and ROS 2 MATLAB code generation. We are curr...

presque 4 ans il y a | 0

| A accepté

Charger plus