Respondida
Best way to shutdown ROS when used with MATLAB Compiler
Hello Andreas, Instead of an infinite loop, an alternative design pattern you could try is to run the publishing within a timer...

casi 7 años hace | 0

Respondida
ROS Subscribe Block - Signal Selector
Hey again, Ben, The issue is that the Markers_ field is, presumably, an array. For a MATLAB equivalent, it'd be like if you had...

casi 7 años hace | 0

Respondida
Why MATLAB can not start on Ubuntu 18.04?
Hello Ye, This answer provides a good starting point for troubleshooting these types of issues. Beyond that, contacting MathWor...

casi 7 años hace | 1

| aceptada

Respondida
Using Vicon Data from ROS and feed it to the Mambo Parrot Drone Flight Control System in Simulink
Hello Ben, If you have the Vicon pose estimate coming in over your ROS network, you can access it directly in Simulink through ...

casi 7 años hace | 0

| aceptada

Respondida
How can I use user defined type message in rossubscriber?
Hello Yun, For any non-standard (non-built-in) message types, you can make them available for use in MATLAB by using the Custom...

casi 7 años hace | 0

Respondida
Efficient way to connect based on n x 2 array
Hello Olli, Consider looking into various graph search algorithms, as that is exactly the field that explores "doing this effic...

casi 7 años hace | 0

Respondida
Convert Binary Occupancy Grid to logical or numeric values
Hello Mohammed, You can use the occupancyMatrix method to extract the numeric values of the occupancy grid. Then you can manipu...

casi 7 años hace | 1

| aceptada

Respondida
Not able to run multiple node scripts at once
Hello Matthias, I am a little confused about exactly what it is you are trying to do. In general, ROS nodes (and publishers and...

casi 7 años hace | 0

| aceptada

Respondida
Blank messages in multiple model reference instances
Hello Chris, As of R2018b, Simulink does not yet support the use of ROS blocks within reference models. If you need to operate ...

casi 7 años hace | 0

Respondida
hii, in ROS toolbox can I use single ROS Publish block to connect multiple ROS Subscribe blocks??
Yes, ROS works by publishing a message on a topic, and all subscribers to that topic will receive the message. So using one publ...

casi 7 años hace | 1

| aceptada

Respondida
Error using ExampleHelperGazeboCommunicator/startModelServices (line 334)
Hello Santiago, The md5 checksum having a different value is indicating that the ROS message does not match the expected messag...

casi 7 años hace | 0

Respondida
how to convert image(basically a floor plan ) into map or binary text file??
Hello Vivek, The robotics.OccupancyGrid class has an example that shows the conversion of a PGM image into an occupancy grid. J...

casi 7 años hace | 1

Respondida
How do read .npy files in matlab?
Hello Juan, I don't believe that either of those file formats are natively supported in MATLAB, but you can always check File E...

casi 7 años hace | 1

Respondida
matrix in app designer ?
You can create a uitable, and provide the app handle as the first input argument to it. The matrix can be provided in the 'Data'...

casi 7 años hace | 1

| aceptada

Respondida
Error while Reading a image inside a user defined function
Hello Prayag, MATLAB does not use curly braces { } to demark functions, loops, conditionals, or other code blocks. Instead, MAT...

casi 7 años hace | 1

| aceptada

Respondida
Solve linear equation with added constant
Hello Gordon, Since C is unknown, and a scalar, you could simply consider it to be an extension of the unknowns of x. So instea...

casi 7 años hace | 0

| aceptada

Respondida
Robotics toolbox Custom map compile error
Hello Divyanshu, Does your MAT file have a variable in it called "simpleMap"? Because that is what the code is looking for - a ...

casi 7 años hace | 1

Respondida
How to save stats values from matchScans?
Hello Amrik, Yes, your code is close to what you are looking for, but you are replacing the value of Score every loop iteration...

alrededor de 7 años hace | 0

| aceptada

Respondida
How to rectify the frame rate drop that occurs while subscribing to the topic of camera image from ROS in Simulink ?
Hello Arun, There are two major potential sources for the delay that I can think of offhand. One is that using subscribers on t...

alrededor de 7 años hace | 0

Respondida
How can I load, read and save ros ".msg" file by Matlab?
Hello David, If you are simply looking to import the text from ROS message files, then possibly write it back out into a differ...

alrededor de 7 años hace | 2

Respondida
Robotics.particle filters does not work
Hey Matteo, Just looking at the code has a few things that call out to me. I'm not sure what the selectBox call is, but can you...

alrededor de 7 años hace | 0

Respondida
Subscribe the topic /robot/joint_states ,but i get l_gripper_l_finger_joint message.
Well, I was hoping to get your overall workflow so that I could suggest something that would fit in with it. However, the simpli...

alrededor de 7 años hace | 0

| aceptada

Respondida
Cannot connect to ROS master and connect my Baxter robot...
Hey John, Sorry, I just was answering your other question with general strategies, but it looks like you've at least tried some...

alrededor de 7 años hace | 1

| aceptada

Respondida
Can MATLAB control the real Baxter robot in real time? and can the VMware also control the real robot and how?
Hello John, If you are having difficulty connecting to a ROS Master, first always check that the ROS Master is running, and tha...

alrededor de 7 años hace | 0

| aceptada

Respondida
Generate ROS cpp code from m file
Hello Tuan, I'm afraid that C/C++ code generation for ROS-related functionality is not supported with MATLAB Coder. See this pa...

alrededor de 7 años hace | 0

Respondida
How can I set Longiture & Latitude of the map in this 3D model? ( I want [0 - 45 E] [30 - 80 N] ) ..not all the map...
Hello Yakov, Since you are using the standard graphics to display the map, you should be able to simply use axis, or xlim and y...

alrededor de 7 años hace | 0

| aceptada

Respondida
get(axes,'CurrentPoint') : stack on not-updated current point
Hello Yury, If you check out this answer, it answers your question. The documentation (R2018a link)backs it up as well. If you ...

alrededor de 7 años hace | 0

| aceptada

Respondida
How can I call a function that has an input variable?
Hey Shaun, I am assuming you cannot control this function's code - you are writing a script to evaluate someone else's code o...

más de 7 años hace | 0

Respondida
Is there a coder-supported alternative to imsubtract?
Hello Blaine, |imsubtract| is a fairly simple function, though robust to deal with the different types of images it may be fe...

más de 7 años hace | 1

| aceptada

Respondida
Creating a new matrix with rows from a past matrix.
Hello Oscar, |find| is a fine and dandy function, but actually needs to be used far less often than many people think. The re...

más de 7 años hace | 0

Cargar más