Community Profile

photo

Josh Chen

Last seen: 9 days ago Active since 2020

Statistics

  • Knowledgeable Level 4
  • 6 Month Streak
  • Revival Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Simulink codegen(with ROS2 Node) output error
Hi Rahul, It is hard to tell what's going on based on the description. When this happens, were you able to launch the generated...

13 days ago | 0

Answered
Read raw Bayer matrix from ROS2 image message
Hi Avishay, I am assuming you have the Image Processing Toolbox installed on your machine. By default, if you have Image Proces...

2 months ago | 0

Answered
ROS tool box's cantransform() and gettransform() still trigger on a stale tf.
Hi Mattew, It sounds like this might be related to the 'BufferTime'. By default, the buffer time for buffering transformations ...

2 months ago | 0

Answered
unable to connect 2 turtlebot3-burger with Simulink using ros subscribe block
Hi Hemant, Do you need to control those two turtlebots with different ROS_MASTER_URI with one single Simulink model? If yes, co...

3 months ago | 0

| accepted

Answered
Problem with installing ROS on Matlab
Hi Jonas, It seems there is a redefined variable in niryo_robot_status/msg/RobotStauts.msg - REBOOT_MOTOR has been defined twic...

3 months ago | 0

| accepted

Answered
"Error while processing" while using codegen in Matlab 2023a
Hi John, Thanks for reporting this issue. It would be nice if you could share a script and reproduction step so we can reproduc...

4 months ago | 0

Answered
How to add cv_bridge support in code generation ?
Hi Nicolas, Since you mentioned that both packages seem to be already installed. I assume you are trying to build and run the m...

4 months ago | 0

Answered
Error in rosReadBinaryOccupancyGrid
Hi SEUNGSHIN, Thanks for bringing this use case to our attention. As for now, there is no Simulink block for reading binary o...

5 months ago | 0

| accepted

Answered
ros2genmsg folder path validation error line 197
Hi CB, Which location are you trying to generate these messages to? It seems somewhere under "C:/Program Files/..."? Would it w...

5 months ago | 0

Answered
How do I reconstruct a TF tree from a rosbag?
Hello David, Yes! You may consider to use the getTransform function in BagSelection Object or rosbagreader Object to get the tr...

6 months ago | 0

Answered
Sending/Recieving ROS transformation /tf using Simulink
Hi Jürgen, In 2015b, you should be able to subscribe to the /tf topic directly with the ROS Subscribe block, and connect the ou...

6 months ago | 0

Answered
How do I properly generate code to set the topic name for a ROS 2 publisher using the value of the getParameter(...) function?
Hi Sam, Unfortunately, the topicName input for ros2publisher has to be a constant. Since parameter value is not constant, you c...

7 months ago | 0

| accepted

Answered
matlab custom ROS message C++ compiler not supported
Hi Joshua, This is likely related to missing component when installing visual studio 2019. In this post and this post, there ar...

9 months ago | 0

Answered
ROS2 distribution support: Humble
Hi Andinet, Thanks for reaching out! Yes, we are actively working on switching to Humble. For the latest updates to ROS Toolb...

10 months ago | 1

Answered
implementin NMPC in ROS using code generation
Hi Mikael, Thanks for sharing this additional information. I think using "goal variable" is a smart idea for generating the ROS...

10 months ago | 0

| accepted

Answered
The library method 'vision.internal.buildable.ComputeMetricBuildable.updateBuildInfo' failed
Hello Andinet, As the error message suggested, please use >> mex -setup to set up the compiler so that MATLAB can find the ...

10 months ago | 0

Answered
how can I make the simulink model to save some array data or ROS2 bag log in SD card in jetson nano
Hi Chulhoon, What is the data type of your results? One idea is to use Publish blocks to publish the result back to ROS 2 net...

10 months ago | 0

Answered
ROS2 with simulink
Hello Rahul, In order for Simulink to subscribe to the topic and receive custom messages, you need to provide message definitio...

10 months ago | 0

Answered
Why can't I publish ROS messages using simulink?
Hello Liam, When this kind of "only one way communication available" happens, it usually has something to do with the setting o...

10 months ago | 0

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

10 months ago | 0

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

10 months ago | 0

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

10 months ago | 0

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

12 months ago | 0

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 1

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 1

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

1 year ago | 0

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

1 year ago | 0

Load more