Community Profile

photo

Cam Salzberger


Last seen: Today

MathWorks

417 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

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

View details...

Contributions in
View by

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

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

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

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

3 days ago | 0

| accepted

Answered
ROS2 Simulink Toolbox not publishing
Hello Natasha, OSRF has made changes to the way communication through ROS 2 is done in Foxy that results in it being incompatib...

4 days ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 months ago | 0

| accepted

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

4 months ago | 0

| accepted

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

4 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

| accepted

Answered
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 months ago | 0

Load more