Answered
MATLAB freezes the OS when using java environments: a Fatal Java Exception occurs (Resource temporarily unavailable)
I assume that you are using SSH with X11 forwarding to work with MATLAB on a remote machine? I would recommend against doing tha...

8 months ago | 0

Answered
Would I able to load a Gazebo world as a training model into rlSimulinkEnv function ?
Hello Jen-Yu, Loading a Simulink model that simulates a robot is very different than loading a Gazebo world. There is currently...

8 months ago | 0

| accepted

Answered
how to generate the custom message
This is the same issue as here. Please see that question and this one for more folder structure details. -Cam

8 months ago | 0

| accepted

Answered
Error ros.ro2.internal.createOrGetLocalpython
Hello Nikhil, There are two issues happening here. The first is that there is something stopping some of your root Python libra...

9 months ago | 0

| accepted

Answered
Fail to create custom message rosgenmsg in Matlab 2020b
Hello Van, You are providing the "package directory" to rosgenmsg, when it is looking for the "interfaces directory". This is b...

9 months ago | 0

Answered
Error when running rosgenmsg for control_msgs
Hello Bassem, Based on the error, it seems that the ROS custom message support package did not install properly. I would recomm...

9 months ago | 0

Answered
Return all values of a struct parameter within a cell array.
Hello Gregory, Matt J's way works, by creating multiple struct arrays, working your way down the nested fields. It's functional...

9 months ago | 0

Answered
Could not load library (Poco exception = libMatlabDataArray.so: cannot open shared object file: No such file or directory)
Hello Andreas, This may be because you have conflicting libraries on your platform's library path. It may be related to this bu...

9 months ago | 0

Answered
An issue with subscribing to custom messages from ROS network
Hello Nima, Issues with ROS communication between machines, especially if messages can be received from one machine but not the...

9 months ago | 1

| accepted

Answered
Simulink fails to create ROS subscriber
Hello Johan, This may be because you have conflicting libraries on your platform's library path. It may be related to this bug,...

9 months ago | 1

Answered
Speedgoat machine and ROS
Hello Jihyik, For the standard question of "Can I deploy a Simulink ROS node to _____ hardware?" the answer is usually the same...

9 months ago | 0

| accepted

Answered
rosactionclient failure due to version mismatch
I realize this question is from a while ago, but I wanted to put in an answer to catch anyone else running into the same problem...

9 months ago | 0

Answered
downloadPretrainedPointPillarsNet help
Hello Gustavo, I believe that command isn't a standard function in MATLAB, it's a helper provided with the example. You'll need...

9 months ago | 0

| accepted

Answered
Unrecognized function or variable 'asbQuadcopterStart'.
Aerospace Toolbox and Aerospace Blockset are two different products. That example is in Aerospace Blockset, which does not appea...

10 months ago | 0

Answered
rosgenmsg error in line333 MATLAB2020b
Hello Holden, You are providing the "package" folder to rosgenmsg, when instead it requires the parent folder of that. This is ...

10 months ago | 0

Answered
Can lost time when using 'waitfor(rate)' function be used for other tasks?
Hello Mohan, Generally the way to use rosrate is to put it at the end of a "control loop" - code that you execute every iterati...

10 months ago | 0

| accepted

Answered
Robotic Arm Trajectory Animation Using Robotic Toolbox
Hello Ahmetcan, The configuration solution output of calling the inverseKinematics object defaults to being a struct. If you wa...

10 months ago | 0

Answered
[Robotics Playground Toolbox Add-on] Error Message When Using Distance Sensor Block
Hello Benjamin, robotics.OccupancyGrid is the old name for the occupancyMap object. It is a valid alias, so if you try to use r...

11 months ago | 1

Answered
Why does the ROS MATLAB connection via topic receive command (ROS-Toolbox) not work in R2020a but in R2020b
Hello Oliver, The most common reason for being able to see rostopic, but not being able to receive messages from one or other o...

11 months ago | 1

Answered
Populating ros messages is slow
Hello Mauro, Cause of Performance Issues Accessing Nested Messages (pre-R2020b) Based on your other question, I assume you ar...

11 months ago | 1

| accepted

Answered
Importing ROS bag file of LIDAR scan into Matlab as point cloud structure
So you have the XYZ points from the PointCloud2 message after you use readXYZ, and you want to get it in the format of the point...

11 months ago | 0

Answered
Matlab Ros Gazebo Add force to Ball
Hello Philipp, There is an issue with the specific service definition that is used in that call command. We are working on a re...

11 months ago | 0

Answered
MATLAB2020b/ROS interface - Unrecognized function or variable 'pythonPkgSrc'
Hello all, Here is the bug report published for this issue. This issue is fixed in R2020b Update 2, so installing that or later...

11 months ago | 1

Answered
Error when trying to view a variable
Hey David, I have a suspicion that there is either a variable in your workspace, or a function/script in your current folder/pa...

12 months ago | 0

| accepted

Answered
Moving object in a defined environment
That's not so much a question about "getting started" as it is about "doing a large project for me". Try breaking down the probl...

12 months ago | 0

Answered
ROS toolbox (ROS2 bag)
Hello Jesús, It is not possible to read data out of ROS 2 bag databases using R2020b. There is a lot of focus on ROS 2 now thou...

12 months ago | 1

| accepted

Answered
How can I run rosgenmsg from Linux system prompt with -nodisplay option?
Hello Andreas, Suvansh, If you do the -nodisplay option on the machine that it did work on, did it work then? There are two pos...

12 months ago | 0

Answered
Unrecognized Function or Variable
You are using x1 in your calculation for y1 before you ever define x1. Flip the order of those two lines. It might have worked ...

12 months ago | 0

Answered
2D motion planner with a minimum safe distance
Hello Fedi, I believe that the usual workflow for this is to simply inflate the occupancyMap by your minimum safe distance (plu...

1 year ago | 0

| accepted

Answered
matlab 2020b rosgenmsg can't find CMake?
Hello Anton, R2020b involved a large replacement of the ROS functionality in MATLAB. As you have found, it supports rosgenmsg n...

1 year ago | 0

| accepted

Load more