Community Profile

photo

Josh Chen

Last seen: 6 días hace Con actividad desde 2020

Statistics

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

Ver insignias

Content Feed

Ver por

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

8 días hace | 0

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

23 días hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

| aceptada

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

alrededor de 1 mes hace | 0

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

3 meses hace | 0

| aceptada

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

3 meses hace | 0

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

4 meses hace | 0

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

4 meses hace | 0

| aceptada

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

4 meses hace | 0

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

4 meses hace | 0

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

7 meses hace | 0

| aceptada

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

7 meses hace | 0

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

8 meses hace | 0

| aceptada

Respondida
Error in building custom ros messages
Hello Mustafa, Looking at the error message, it seems that the python virtual environment was not been created properly. Could ...

8 meses hace | 0

Respondida
Creating Custom ROS2 message types for simulink
Hello Andre, When running "ros2 msg list", are you able to see the custom message you are trying to use? If not, you would need...

8 meses hace | 0

Respondida
vision.blobanalysis used in ROS code generation does not support dynamicMemoryAllocation for AllVariableSizeArrays, but needed for ROS code gen
Hello Matthew, Since the "step" function does not want "unbounded" input, one idea that worth trying is to create an empty fixe...

10 meses hace | 0

Respondida
Simulink Ros, code generation
Hello Nicolas, In R2019a, not all codes will be generated into the *_ert_rtw folder. Instead, they were packed in the *.tgz fil...

11 meses hace | 0

Respondida
WSL2/Docker container/ROS from Matlab in Win10
Hello @Goupil56, The key for enabling the communication between WSL2 ROS and MATLAB/Simulink is to make sure the environment va...

12 meses hace | 0

Respondida
Convert Struct to Pointcloud using ROS2
Hello Manuel, The function pointCloud takes 3-D coordinate points as input argument. However, the variable 'a' here in the scre...

alrededor de 1 año hace | 0

| aceptada

Respondida
Simulink/ROS Publishing pose of a 7 DOF arm using moveit_msgs/MoveGroupActionGoal
Hello Hasan, In Simulink, each string is represented as an array of uint8 values. As so, when assigning string fields in a mess...

más de 1 año hace | 0

Respondida
Generate custom ROS messages in Matlab R2021a running on MacOS 11.4 with CMake 3.20.5. Error: Could not find CMake in your system
Hello Sriharsha, This seems to be an issue with MATLAB custom LD_LIBRARY_PATH. To confirm this, could you please try running th...

más de 1 año hace | 1

| aceptada

Respondida
Publishing on a ROS Topic Simulink
Hello Hassan, In Simulink when creating a bus, it requires more information than MATLAB to lock down the message you want to se...

más de 1 año hace | 3

Respondida
Fail to create a ROS publisher/ subcriber for individual project
Hi Van, Based on your reply, it did seem that you are missing custom message definition in MATLAB. So MATLAB has a set of prede...

casi 2 años hace | 1

| aceptada

Respondida
how to run rosinit in Matlab
Hello Van, Based on the error message, it looks like MATLAB cannot find an available python executable on your computer. rosini...

casi 2 años hace | 2

Respondida
How to use String array in a custom Message in Simulink?
Hello David, It seems that the the message you are assigning here is of type "std_msgs/String", have you tried to change the ma...

casi 2 años hace | 0

Respondida
Setup of an /trajectory_msgs/JointTrajectory message in Simulink
Hello Martin, The message trajectory_msgs/JointTrajectory contains variable-length arrays such as the 'Points' here shown on th...

alrededor de 2 años hace | 0

| aceptada

Respondida
Manage Ros Custom Message with Variable-Length array
Hi Marco, For WaypointArray.msg, are you referring to rsm_msgs/Waypoint? It's a bit difficult to see the full picture without ...

alrededor de 2 años hace | 0

Respondida
How do I enter a string into a ROS message in Simulink?
Hello Harry, Since ROS strings in Simulink have to be fixed-length uint8 array, normally there are two ways of entering a strin...

alrededor de 2 años hace | 0

| aceptada

Respondida
How can I create standalone application while using Robotics System Toolbox's rosgenmsg function?
Hello Dandanakan, It is possible to use custom ROS messages in MATLAB Compiler with the following workaround. Since "rosgenmsg"...

alrededor de 2 años hace | 0

| aceptada