Community Profile

photo

Cam Salzberger

MathWorks

Last seen: Today|Active since 2015

I am a Software Engineer at MathWorks, and a Mechanical Engineer by education. I specialize in Robotics.

In my free time, I enjoy hiking and parkour.

Statistics

All
  • Treasure Hunt Participant
  • Solver
  • Thankful Level 5
  • 36 Month Streak
  • First Review
  • Revival Level 3
  • Knowledgeable Level 5
  • Pro
  • First Answer

View badges

Content Feed

View by

Answered
RMW Implementation questions in MATLAB R2022a
Hello Xiaochen, Here is a similar question I answered with relevant information, and links to other similar questions with addi...

2 days ago | 0

Answered
An error occurs when generating a custom message using rosgenmsg.
There were several people with the same or a similar issue, and the solutions that worked for them, in this answer thread. Pleas...

3 days ago | 0

Answered
ROS support for the universal robot UR16e
Hello Lara, This is mostly something that you would want to ask the Universal Robots team, as ROS generally relies on creators ...

6 days ago | 0

|accepted

Answered
Questions about ROS2 pubulsh blocks
Hello Xiaochen, Here are a couple of posts I've made previously to help with diagnosing and fixing communication issues with RO...

17 days ago | 0

|accepted

Answered
Fail to use ros2 node list to see the node run in another ubuntu machine~
Hello Shipeng, ROS 2 requires that the machines be on the same subnet, or explicitly include each other in the same network. Se...

27 days ago | 0

Answered
ROS Toolbox compatibility with Gazebo
Hello Alexander, There have been issues communicating between ROS 2 Dashing and Foxy for some users. Here is a page addressing ...

1 month ago | 0

|accepted

Answered
Setup ROS subscriber in Matlab
Hello Tristan, If the "receive" call is timing out, that is because it did not receive any data within the timeout period. Firs...

1 month ago | 0

Answered
real time pointcloud streaming in simulink on ubuntu
Hello Abirami, If you are broadcasting the point cloud data over the ROS network already, then you can simply create a rossubsc...

1 month ago | 1

|accepted

Answered
Setup ROS custom messages, problems with compiling
Hello Tristan, ROS custom message compilation requires Visual Studio 2017 or 2019. The MinGW C++ compiler will not work for cre...

2 months ago | 0

Answered
How does matlab send message to ros turtlesim
Hello Gabriel, If there is no communication between an external machine or VM and MATLAB over ROS, the issue is usually related...

2 months ago | 0

Answered
How to achieve "Get parameters" in simulink with ROS2?
Hello Xiaochen, Parameters are not yet available for use with ROS 2 in MATLAB or Simulink. They are on our radar as we work to ...

2 months ago | 0

Answered
I encountered an error ‘Error during service call, cannot get the state of the model’
Since that seems to have resolved the issue, copying my comment into an answer: Make sure to get a new VM as directed by this e...

2 months ago | 0

Answered
When subscribe and receive a topic in the ROS toolbox, it is still being processed.
Hello, This sounds like the topic is visible to introspection, but the subscriber isn't receiving any data. This is probably no...

3 months ago | 0

|accepted

Answered
Reading sensor_msgs/PointCloud2 data and visualizing the points
你好Junaid,如果您创建了一个订户的topic of interest, you can get the messages on that topic either in the subscr...

3 months ago | 0

Answered
How to import bag file with std_msgs/String
It looks like this topic is passing numeric data as a string, for some reason. My recommendation would be to preallocate a coupl...

4 months ago | 0

|accepted

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

4 months ago | 0

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

4 months ago | 0

|accepted

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

5 months ago | 0

|accepted

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

5 months ago | 0

|accepted

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

5 months ago | 0

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

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 0

Solved


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

6 months ago

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

6 months ago | 0

|accepted

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

7 months ago | 0

|accepted

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

7 months ago | 1

|accepted

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

7 months ago | 0

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

7 months ago | 1

|accepted

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

8 months ago | 1

|accepted

Load more