photo

Josh Chen

Last seen: Today Active since 2020

Followers: 0   Following: 0

Statistics

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

View badges

Feeds

View by

Answered
Header Assignment block error in ROS Toolbox: Header Assignment/Current Time' error occurred
Hello Hasan, Thanks for bring this issue to our attention. This is a known bug caused by an internal infrastructure update. We ...

2 dagen ago | 0

| accepted

Answered
ROS rate in Simulink with standalone code generation
Hi Balint, The actual message publishing rate can be affected by many other factors, and it may not be exactly the same as spec...

4 maanden ago | 0

Answered
How to solve this warning: This property will be converted to datatype "double" in the Simulink bus.
Hi An and Zheng, This auto conversion from int64 to double is to align with standard Simuilnk datatype by default. To avoid suc...

6 maanden ago | 0

Answered
ROS2 compile a standalone node: undefined references to `std::__throw_bad_array_new_length()'
Hi Federico, Thanks for providing the system information. This error seems to be a compiler incompatible issue. In R2023b vers...

6 maanden ago | 1

| accepted

Answered
Closed loop between Simulink and Autoware
Hi Nupur, Thanks for sharing the model. Unfortunately, it is still very changing to provide valuable suggestions without lookin...

6 maanden ago | 0

Answered
Why the time has not been synchronized between ros2 and simulink
Hi Nupur, In the model 'Sample.slx' you shared, the 'To Workspace' blocks have been placed at the top level of the model. Hence...

6 maanden ago | 0

| accepted

Answered
Getting ros2 time to stamp the PoseStamped message
Hi Samantha, We introduced ros2time since R2022b. If you are looking for a ROS 2 equivalent for getting timestamp and you are...

8 maanden ago | 0

| accepted

Answered
Error in ros2genmsg (line 467) buildPackage(builder, [], ' --merge-install', colconMakeArgs);
Hi Quan, As the build log message mentioned, the culprit is that the package name of your custom message is "action_msgs", whic...

9 maanden ago | 0

| accepted

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

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

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

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

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

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

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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 ...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar ago | 0

Load more