Community Profile

photo

Cam Salzberger


Last seen: 8 days ago

MathWorks

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 months ago | 0

Answered
I can't move the turtlebot3 with matlab and ros
Hello Ambroise, There are a couple of things I noticed right off the bat that could be causing things to be weird: export ROS_...

4 months ago | 0

Answered
how to use the custom ros message from ros in simulink
Hello Fei, If you have already used the custom messages with publishers and subscribers within MATLAB, then you should be able ...

4 months ago | 0

Answered
Simulink with ROS : For loop for array of sensor_msgs/Image
Hey Hassan, I'm not sure how to do it inside standard Simulink blocks, but a workaround may be to pass the Image message array ...

4 months ago | 0

Answered
how can I solve "rosinit" command error for MATLAB-ROS connection
Hello Sinan, This is a very uncommon symptom that I've seen only a couple of times. There are a few things that could be causin...

4 months ago | 0

| accepted

Answered
Importing Robot Model in MATLAB
Hello Riddhiman, The importrobot function is looking for the input argument to be either a URDF file or the URDF-formatted text...

4 months ago | 0

| accepted

Answered
Error using ros.BagSelection/deserializeMessages
This looks like the same issue that is mentioned in this bug report. Try reading the messages out of the rosbag using: msgs = r...

5 months ago | 0

| accepted

Answered
How to produce a number of random coordinates within a square grid ensuring that the distance between points is no more than a specified value?
There are three ways that I can think of to address this, and all are iterative: Generate N random points, remove any that aren...

5 months ago | 1

Load more