답변 있음
<SOS> Unrecognized function or variable 'setOccupancy'.
Pretty sure this is the issue: show(setOccupancy) There is no variable by that name. I believe you mean "show(signFollower...

거의 3년 전 | 0

답변 있음
Avoid plot title superimposing axis
What are you using to position the title so that it comes close to the axes labels there? By default, the title will be center-a...

거의 3년 전 | 0

| 수락됨

답변 있음
Simulation Map Generator Error
Hello Nicholas, binaryOccupancyMap is the new name of robotics.BinaryOccupancyGrid, though the old way of calling it will still...

거의 3년 전 | 0

| 수락됨

답변 있음
Received just one message when I used receive(sub, timeout) for rossubscriber
The receive function will only ever receive a single message, and returns immediately upon receiving that message. It is not a r...

거의 3년 전 | 0

| 수락됨

답변 있음
convert BGRA8 image format to RGB format
Since the image data is coming out of a ROS message, you can use the ROS functions to extract the image from it: Message object...

거의 3년 전 | 0

답변 있음
ROS - rosgenmsg: "The folder path, gradle-1.8, is invalid or the folder does not exist." R2018a - Linux
Edit: Moving this to an answer instead of comment. Hello Guillermo, In R2020a and prior releases, there are different instruct...

대략 3년 전 | 0

답변 있음
Long delay calling ROS service
Hello Bryce, I wasn't able to reproduce this on my machine with R2021a and the standard Melodic VM. I tested with both the PR2 ...

대략 3년 전 | 0

답변 있음
How to get an array from a Rosbag
I provided some guidance and sample code to a similar question here. That should help get you moving in the right direction! -C...

대략 3년 전 | 0

문제를 풀었습니다


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

대략 3년 전

답변 있음
Finding value pairs in subsequent arrays
Hello Kai, If the order doesn't matter (i.e. the "call" doesn't need to be before the "put"), you could separate out the data i...

대략 3년 전 | 0

| 수락됨

답변 있음
When can ROS actions be supported during the custom message generation?
I provided some information on why this is the case here. There is no workaround for manually generating custom actions in R2021...

대략 3년 전 | 0

| 수락됨

답변 있음
How to pick the content out of a ROS Point message?
Hello Andreas, cellfun is useful for operations like this, where you want to do the same thing on each cell. Probably the best ...

대략 3년 전 | 1

| 수락됨

답변 있음
what's TruckTrailerPlot function?
That example is in the Model Predictive Control Toolbox. Do you have that one? -Cam

대략 3년 전 | 0

답변 있음
MATLAB crashes after running ros2bag
Hello Nurullah, /opt/ros/foxy/lib/librosbag2_storage_default_plugins.so This indicates it's using your ROS 2 Foxy library on y...

대략 3년 전 | 1

| 수락됨

답변 있음
Creating custom ROS2 Message in Simulink using ROS2 Foxy
Hello Harun, My money would be on this specific issue being cause by AMENT_PREFIX_PATH being checked for include files during t...

대략 3년 전 | 1

| 수락됨

답변 있음
If you're using tic, toc, and var=input('prompt'), is there a way for toc to interrupt the user input if they take too long to answer?
Hello Christina, You could try using an inputdlg to ask the question, instead of keeping it in the command window. You could ge...

대략 3년 전 | 0

| 수락됨

답변 있음
How to launch RVIZ from Matlab?
Hello Andreas, My suspicion of what is happening here is library path conflict. ROS Toolbox ships with ROS libraries, which pro...

대략 3년 전 | 0

| 수락됨

답변 있음
Add option to select networkinterface for libwmros2server
Hello Andrei, ROS 2 itself doesn't currently provide an easy way to select a particular network interface to use (like an envir...

대략 3년 전 | 1

답변 있음
Why do I receive: Error using ros.internal.ROSProjectBuilder/buildPackage (line 534) Error building package: build log.
The key part of the error message in the log file is right here: Path: <...> exceeds the OS max path limit. The fully qualified...

대략 3년 전 | 0

| 수락됨

답변 있음
ROS Subscriber in Simulink does not seem to receive data
Hello Angel, This is likely to be caused by the publisher on the ROS machine not having the ROS_IP environment variable set or ...

대략 3년 전 | 0

답변 있음
Cannot echo messages coming from Matlab ROS2
Hello Sergei, Please see this answer for up-to-date information on the Dashing-Foxy connectivity issue, and workarounds. -Cam

대략 3년 전 | 1

| 수락됨

답변 있음
How can I update a dependent property
Hello Amine, Dependent properties aren't just initially calculated based on other properties, they are always calculated using ...

대략 3년 전 | 0

답변 있음
how to fix ode45 parameters?
The value of "y" (the "state" input to "derivative") is going infinite or NaN at some point. I'd suggest creating a helper funct...

대략 3년 전 | 0

답변 있음
How can I set the labels of multiple axes without iteration?
Hello Yazan, If, as you create the axes, you save the handles to one reference axes array, you can easily set the labels like s...

3년 초과 전 | 0

| 수락됨

답변 있음
Read rosbag file - change between R2018b to R2020b
Hey Avishay, I haven't seen the file, but these kinds of errors can come up if you have something shadowing functions or object...

3년 초과 전 | 0

| 수락됨

답변 있음
Problems with ROS service client in MATLAB
Hello Massimo, I attempted to reproduce this by taking this mavros_msgs/CommandTOL service defintiion. Fortunately it doesn't e...

3년 초과 전 | 0

답변 있음
Niryo One - MATLA interface
Hello Afsoon, Can you try running this code in MATLAB: !cmake --version If you see any warning messages about libcurl or libs...

3년 초과 전 | 0

| 수락됨

답변 있음
How can ROS Custom Messages be exchanged or even moved to another folder?
Hello Sven, The "addpath" command is only a small part of getting the custom messages working with MATLAB. It is required to re...

3년 초과 전 | 0

| 수락됨

답변 있음
Lidar Labeler Rosbag Loading Error (Ubuntu 20.04): Could not locate the base directory for ros.
Hello Daniel, Does the error occur if you try to load the rosbag data outside of the Lidar Labeler? bag = rosbag(filePath); m...

3년 초과 전 | 1

| 수락됨

답변 있음
Leader following robot?
Hello Dominika, We have a similar example that demonstrates a robot (either real or simulated in Gazebo) following an object. I...

3년 초과 전 | 0

| 수락됨

더 보기