Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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 ...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
ROS2 Simulink Toolbox not publishing
Hello Natasha, Changes to the way communication through ROS 2 is done in Foxy that results in it being incompatible with earlie...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Remove a line from a plot in UIAxes App Designer
Hello Dario, The misunderstanding here seems to be that everytime this function is being called, the workspace inside of the fu...

plus de 5 ans il y a | 2

| A accepté

Réponse apportée
Checking index numbers against non-contiguous file names
Hello Natalie, I'm making some guesses about what you are looking for here. The situation is that you have these files in a sin...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
interaction with data cursor in data inspector
It sounds like you want to have have two plots, one time-domain plot that you interact with using the data cursor, and one x-y p...

plus de 5 ans il y a | 0

Réponse apportée
In MATLAB Grader, how can I assess students' output? All I can do is to compare variables or keywords
Hello Hyunjee, As you specify the code to call the student's provided functions or scripts, you could call it within an evalc c...

plus de 5 ans il y a | 0

Réponse apportée
Difference between Matlab and Wolfram Alpha
Hey Niklas, Technically, both pi and 4 are "correct" results, as if you plug them in, they will fulfill the condition. I think ...

plus de 5 ans il y a | 0

Réponse apportée
How do I use add_block for adding ROS library content like Blank Messages, Publish and Subscribe block programatically using Simulink? (Using MATLAB R2019a)
Hey Akshay, I haven't tested this, but I believe that you should use (or at least can use) the library name that contains the b...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Error using ros.ros2.internal.createOrGetLocalPython
Hello Alexander, There is unfortunately an issue with the current documentation, which should be updated soon. Instead of Pytho...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Netcdf error in Matlab2019a
Hey Robert, I haven't encountered this specific issue, but I have seen similar issues of system commands not working exactly th...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Cross platform/OS deployment of compiled applications
Harish, Doesn't look like you can move compiled applications cross-platform. This makes sense, since the compiler generates an ...

plus de 5 ans il y a | 0

Réponse apportée
Too many output arguments ERROR
Keir, The fwrite method for that object doesn't seem to return an output argument. Always try to make sure that you are both us...

plus de 5 ans il y a | 0

Réponse apportée
Simulated Turtlebot doesn't move straight path
Hey Jakub, I have also observed this in my Gazebo simulation of the TurtleBot (actually of a few different versions of the Turt...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
simuling to ros array publish
Hello Emre, In order to send a ROS message through the Publish block, you first need to create a Blank Message to have the appr...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How to correctly initialize ros service object
Hello Mihael, I've been able to reproduce this on my machine, testing with the Indigo VM. You are creating the service client i...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Quad Rotor Trajectory Generation
Hey Mohamed, Have you looked into the uavWaypointFollower and its Simulink block equivalent in Robotics System Toolbox's UAV Li...

plus de 5 ans il y a | 1

Réponse apportée
ROS: runNode and stopNode within a Simulink node
Hey Markus, Generally the best way is to have the stop condition built into the node you want to stop, and signal it from the S...

plus de 5 ans il y a | 0

Réponse apportée
Running Virtual Ubuntu Terminal commands via Matlab system() command : navigate to path and run command
Hey Ritish, You should be able to simply use "&&" to run two commands sequentially on Linux. Make sure you use the syntax appro...

plus de 5 ans il y a | 0

Réponse apportée
ROS Simulink Path Subscriber Issue
Hello Hasan, Variable size arrays are always a bit tricky to deal with in Simulink. This documentation page addresses this issu...

plus de 5 ans il y a | 1

Réponse apportée
Mobile Robotics Simulator inquiry
Hello Ammar, Check out the different kinematic model blocks available for robots in Simulink through RST. The differential driv...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Is the error stated below a result of using a different version of MATLAB than the one the code in question was created with?
Hello Sammy, If you notice the workspace before Sebastian runs the script, it already has many variables defined. The createDDP...

plus de 5 ans il y a | 0

Réponse apportée
Why RRT planner doesn't reach the goal state?
Hello Kseniya, The plannerRRTStar class has a GoalReachedFcn that checks if the state of one of the RRT nodes is sufficiently c...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Having trouble building custom ROS msgs in MATLAB 2020a
Hello Jiyo, Seeing each of the geometry_msgs show up twice is rosmsg list is indicative of an issue, not the building of it wor...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
simulink read ROS Service Request
Hello Markus, To contact the Technical Support team directly, please file a service request. MATLAB Answers is designed to be a...

plus de 5 ans il y a | 0

Réponse apportée
How can I prevent the clicked figure taking the focus?
Hello Mahmut, Rather than worrying about which figure is in focus (the current figure), it would be better practice to target y...

plus de 5 ans il y a | 0

Réponse apportée
How can I re-save variable with only certain index values?
HD_mutualInfoTotal = mutualInfoTotal([1:4, 6, 8:10, 12, 15:18, 20:22]); There are a lot of ways to do indexing in MATLAB, and t...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
robot toolbox rigidBodyTree function
Matthew, One thing to check is which version of MATLAB you have. rigidBodyTree was introduced in R2016b. Another is to make su...

plus de 5 ans il y a | 0

Charger plus