Community Profile

photo

Cam Salzberger


MathWorks

337 total contributions 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.

Cam Salzberger's Badges

  • First Review
  • 24 Month Streak
  • Revival Level 3
  • Thankful Level 3
  • Knowledgeable Level 4
  • Pro
  • First Answer

View details...

Contributions in
View by

Answered
Plotting a 2d graph from .txt file (imported into MATLAB as table)
plot(data.t, data.x) A similar question was posted here, and points to this documentation for more information. You could even...

9 hours ago | 0

Answered
Any way to assign the second output to a variable on a function?
Hello Brandon, You can opt to ignore the first output using a tilde: [~, var2] = name(in1, in2); Is that what you were lookin...

9 hours ago | 1

Answered
Time Complexity of 2D array
Hello Yugal, What size are vcp and vcn before you start the loop? If you are doing something like this: vcp = []; vcn = []; ...

1 day ago | 0

| accepted

Answered
calling of functions and subfunctions
Hey Geoffrey, Which version of MATLAB are you using? If you remove the main "function" declaration, it will consider the file t...

1 day ago | 0

| accepted

Answered
MATHLAB R2019B rosinit "ROS Executor Thread" error
Hello Doruk, std_msgs/Uint32 is a built-in supported message type, but this error looks like what can occur if you attempt to u...

7 days ago | 0

Answered
Undefined function or variable 'createRigidBodyTree'.
Hello Tasneem, "createRigidBodyTree" is not a function that ships with RST, or any MATLAB toolbox as far as I can tell. It appe...

15 days ago | 0

Answered
How to put data into a ROS mssage with Array Buses
Hello Xiaobo, I believe that the recommended workflow (or at least the easiest) is to simply use a MATLAB Function block to do ...

17 days ago | 0

Answered
"Manage Array Size for ROS Messages" gone missing, after updating to Matlab R2019b.
Hello Ken, The Simulink Toolstrip in R2019b has changed the location of a few things, but the variable size array configuration...

1 month ago | 0

| accepted

Answered
convert from hdf5 format to matlab
Hey Khaled, Have you tried h5read? This page should show an example of how to read the data. -Cam

2 months ago | 0

Answered
Error "Unable to resolve name" issue
Hello Paul, Please make sure that the parent folder to the "+mSIPRO" directory is on the MATLAB search path. Once you update th...

2 months ago | 2

| accepted

Answered
how use MATLAB to data generation
Hello Dodo, Yes, if you are looking to evaluate the sine function at particular points, then export that data to an Excel sprea...

2 months ago | 0

| accepted

Answered
About team members in competition
Hello Sadashiv, MATLAB Answers is generally more about getting help with MATLAB code or usage from the community. To get help w...

2 months ago | 0

Answered
Inverse Kinematic Solver solutions
Hello Kyle, The inverse kinematics solver parameter AllowRandomRestarts is likely the culprit here. If you check the documentat...

2 months ago | 2

| accepted

Answered
Problems with ExampleHelperGazeboSpawnedModel ROS Kinetic on R2018b
What version of Gazebo are you using? The example helpers were designed for the purpose of working with the ROS Hydro VM and its...

3 months ago | 0

Answered
How to lock an area
If I'm translating this correctly, you want to bulk-comment something. You can highlight it all and comment each line at once wi...

3 months ago | 0

Answered
External ROS node can't communicate with simulink
Hey Mark, I usually see this kind of issue going the other way (external nodes unable to send data to MATLAB/Simulink), but it'...

3 months ago | 0

Answered
rosservice call not implemented
Hello Luca, The rosservice function is designed to give introspection information from the network about available services. Fo...

3 months ago | 0

Answered
Error in ROS Custom Message
Hey Shlok, I believe that the Simulink message type selection drop-down should use the same functionality as rosmsg("list"). I'...

4 months ago | 0

Answered
How can I change my ROS custom message after it's generated.
Hello Jaehyeon, The ROS custom messages supported by MATLAB are designed to be overwritten. So if you have gone through all of ...

4 months ago | 0

| accepted

Answered
Visualizing Robot using URDF format
Hello Prasanna, I can't claim to have experience with it, but I believe that you can use smimport to get the URDF into Simscape...

4 months ago | 0

Answered
How to get arrays of buses from message in ros subcribe in simulink and transfer to matlab function
Hello, You may need to manage your array sizes in Simulink ROS to allow the full number of points to be extracted from the arra...

5 months ago | 0

Answered
MATLAB unable to receive messages of a custom ROS message type
Hey Harvard, Now that things have been narrowed down, hopefully I can offer some potential solutions. One of the biggest causes...

5 months ago | 0

Answered
Fail to create ROS Publisher and ROS subscriber
Hello Ignacio, The message type "geometry_msgs/Twist" is one of the standard, built-in ROS message types. However, the message ...

5 months ago | 0

| accepted

Answered
Can Matlab search through the current directory to find and import a file?
Hey Noah, You can use the dir function to get information on the contents of a folder. You can use wildcards (* or **) to match...

5 months ago | 0

| accepted

Answered
How to change PointCloud2 Piont Data type?
The data type in the sensor_msgs/PointCloud2 ROS message type is hard-locked by the message definition. Note, however, that the ...

5 months ago | 0

Answered
Simulink Robotics System Toolbox
Hey Shundai, Have you gone through the custom message support workflow to add that message type to MATLAB? It is selectable, be...

5 months ago | 0

Answered
Data mismatch between ROS publisher and Simulink subscriber model
Hello Pavan, What is the difference between the two? What data is being stored (the whole ROS message, or an extracted data fie...

5 months ago | 1

| accepted

Answered
How can I handle the array type of ROS messages ?
Hello Jaehyeon, It looks like the std_msgs/Float64MultiArray should be able to handle the array of data you are looking to prov...

6 months ago | 1

| accepted

Answered
put a matrix as a variable in another matrix so i can access different matrixes
Hello Joris, As a quick-fix, you could make tn a cell array, containing the other matrices? tn = {th ho tm mi}; for n = 1:4; ...

6 months ago | 2

| accepted

Answered
Image format error when reading ROS compressed images
Hello Asanka, Any messages published by the image_transport package should ensure that the Format field is in the form expected...

6 months ago | 0

| accepted

Load more