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...

7 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...

7 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...

7 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...

7 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...

8 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...

8 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 ...

8 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...

8 months ago | 0

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...

8 months ago | 0

| accepted

Answered
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...

8 months ago | 0

| accepted

Answered
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...

8 months ago | 1

| accepted

Answered
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...

9 months ago | 0

| accepted

Answered
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...

10 months ago | 0

Answered
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...

11 months ago | 0

Answered
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 ...

11 months ago | 0

Answered
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...

11 months ago | 0

| accepted

Answered
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...

11 months ago | 0

| accepted

Answered
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...

11 months ago | 0

| accepted

Answered
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 ...

11 months ago | 0

Answered
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...

11 months ago | 0

Answered
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...

11 months ago | 0

| accepted

Answered
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...

11 months ago | 0

| accepted

Answered
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...

11 months ago | 0

| accepted

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

11 months ago | 1

Answered
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...

11 months ago | 0

Answered
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...

11 months ago | 0

Answered
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...

11 months ago | 1

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

11 months ago | 0

| accepted

Answered
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...

11 months ago | 0

Answered
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...

12 months ago | 0

| accepted

Load more