Answered
I can't move the turtlebot3 with matlab and ros
Hello Ambroise, There are a couple of things I noticed right off the bat that could be causing things to be weird: export ROS_...

5 months ago | 0

Answered
how to use the custom ros message from ros in simulink
Hello Fei, If you have already used the custom messages with publishers and subscribers within MATLAB, then you should be able ...

5 months ago | 0

Answered
Simulink with ROS : For loop for array of sensor_msgs/Image
Hey Hassan, I'm not sure how to do it inside standard Simulink blocks, but a workaround may be to pass the Image message array ...

5 months ago | 0

Answered
how can I solve "rosinit" command error for MATLAB-ROS connection
Hello Sinan, This is a very uncommon symptom that I've seen only a couple of times. There are a few things that could be causin...

6 months ago | 0

| accepted

Answered
Importing Robot Model in MATLAB
Hello Riddhiman, The importrobot function is looking for the input argument to be either a URDF file or the URDF-formatted text...

6 months ago | 0

| accepted

Answered
Error using ros.BagSelection/deserializeMessages
This looks like the same issue that is mentioned in this bug report. Try reading the messages out of the rosbag using: msgs = r...

6 months ago | 0

| accepted

Answered
How to produce a number of random coordinates within a square grid ensuring that the distance between points is no more than a specified value?
There are three ways that I can think of to address this, and all are iterative: Generate N random points, remove any that aren...

6 months ago | 1

Answered
pcode() as standalone executable
Daniel, I do not believe that is possible. MATLAB Compiler does not support "pcode", and the function does not support code gen...

6 months ago | 0

Answered
How to save the enhanced fingerprint images
If you have the image as a matrix, use imwrite. If you have "enhanced" the image by using figure tools (axes, plotting, etc.), u...

6 months ago | 0

| accepted

Answered
ROS Toolbox - Can't access a ROS Message Array
Hello Jeff, I know this is pretty old, but I wanted to get visibility on the reason for this error. I've just answered a simila...

6 months ago | 0

Answered
Plotting Covariance from poseWithCovarianceStamped message
Hello Lasse, I know this is a bit late to be responding to this, but maybe someone will still benefit. I believe the issue is t...

6 months ago | 0

Answered
Receive message from ROS to Matlab robotics toolbox
Hello Jeannot, The most common cause I've seen for two systems being nominally connected (able to use rostopic and other intros...

6 months ago | 0

| accepted

Answered
Matlab error on Ros custom message
Hello Torgeir, I believe that you simply have a typo or two that is preventing the custom message generator from finding the re...

6 months ago | 0

| accepted

Answered
Matlab/Simulink - Gazebo -Co-Simulation - rosbag
Hello Matthias, One suggestion is to use the Read Data block from ROS Toolbox in your Simulink model. This is designed to outpu...

6 months ago | 0

Answered
ROS Custom Message cannot use readXYZ
Francis, Currently "readXYZ" is a method only on the PointCloud2 message class. The way that it converts the data from the Poin...

6 months ago | 0

| accepted

Answered
How to parse an octree_msg
Hello Francesco, If you would like to write your own Octomap data interpreter, you would probably need to rewrite a fair bit of...

6 months ago | 0

Answered
How can I create a custom ROS action server in MATLAB?
Currently, ROS Action Servers are not available in MATLAB, only ROS Action Clients. If you would like to create your own action ...

7 months ago | 1

| accepted

Answered
Undefined function 'readImage' for input arguments of type 'double'. in PickandPlaceWorkflowInGazeboUsingROSExample.mlx
Hello Viet, Techncially, "readImage" is a method for an object of class ros.msg.sensor_msgs.Image (and CompressedImage). There ...

7 months ago | 0

| accepted

Answered
rosgenmsg(folderpath) from custom ros msgs add on causes Index exceeds the number of array elements (0).
Daniel, This kind of error message generally comes up (in any MATLAB product) when you are trying to call a function but have s...

7 months ago | 0

| accepted

Answered
matlab error on Ros custom message
Hello Matteo, I believe the issue here has to do with reason number 2 listed. Your package.xml file looks like it uses a mix of...

7 months ago | 1

| accepted

Answered
How does Robotics Toolbox connect to ROS?
Clayton, In previous releases of MATLAB, there was only the Robotics System Toolbox, which had some ROS and navigation applicat...

8 months ago | 0

Answered
Plotting every 2 columns as X,Y in a matrix
Hey Eric, This is pretty simple. The key to making it even simpler is this line in the plot documentation: "If X and Y are bot...

8 months ago | 0

| accepted

Answered
How to access all elements within a structured cell array without looping?
Hello Steve, I would suggest restructuring your data storage. If you did use the struct array method of storage, I believe it w...

8 months ago | 0

| accepted

Answered
ROS Master is running. Can't run 'rosinit'
Hey Michael, It sounds like there is already a ROS Master running on your machine on the port 11311, but (probably) not having ...

8 months ago | 0

Answered
robotics system toolbox example issue
Hello Noah, The rigidBody function was renamed from robotics.RigidBody in R2019b. If you have an earlier release, you'll need t...

8 months ago | 0

Answered
Is it possible to Use MATLAB "toolbox/map" functions in an outside C++ program?
Michael, Sorry for my comment (now deleted). I re-read your question and understood what you are asking. I believe you should b...

9 months ago | 0

Answered
Why can't I use "rigidBodyJoint" function from Robotics System Toolbox?
Hello Elin, If you are looking at the documentation page for rigidBodyJoint in the current release (R2019b), there's a compatib...

9 months ago | 0

| accepted

Answered
Parameter server issues when started using rosinit
Hello Rushikesh, I'm not sure about the cause of this specific error, but my money is on version incompatibility in the use of ...

9 months ago | 0

Answered
why does matlab 2019a for Mac keyboard freeze in both editor and command window
Hey Greg, Some people in this thread commented on windows management software (like Magnet) causing this issue. Check out the c...

9 months ago | 0

Answered
function did not receive any data and timed out
After you create the subscriber "laser", does it receive any messages from the turtlebot? To determine this, you can check the L...

9 months ago | 0

Load more