已回答
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...

5 years 前 | 0

已回答
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 ...

5 years 前 | 0

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 1

| 已接受

已回答
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...

5 years 前 | 2

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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 ...

5 years 前 | 0

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
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 ...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
Quad Rotor Trajectory Generation
Hey Mohamed, Have you looked into the uavWaypointFollower and its Simulink block equivalent in Robotics System Toolbox's UAV Li...

5 years 前 | 1

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 1

已回答
Mobile Robotics Simulator inquiry
Hello Ammar, Check out the different kinematic model blocks available for robots in Simulink through RST. The differential driv...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

加载更多