Community Profile

photo

Cam Salzberger


MathWorks

310 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

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

View details...

Contributions in
View by

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

12 dagen 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; ...

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

12 dagen ago | 0

| accepted

Answered
What is the probability distribution used in PRM?
Hello Antonio, The PRM class uses a uniform sampling within the map limits (and free space) to do the path planning. There is c...

12 dagen ago | 0

| accepted

Answered
ROS node generated by MATLAB runs as a process in Linux ?
Hello Jaehyeon, ROS nodes, generated from Simulink or not, generally run as their own separate process. Certain operations will...

16 dagen ago | 0

| accepted

Answered
Why i am getting Nan?
Any time str2double is unable to translate a particular input into a number, it returns NaN. That is probably where the issue is...

18 dagen ago | 0

Answered
How to use rosgenmsg when package.xml file is in different directory and msg directory is in different directory?
Hello Milan, If you check out the example workflow and packages that are used in the custom message example here, you can see t...

29 dagen ago | 0

Answered
How to use rosgenmsg with a filepath on a separate computer?
Hey Theodore, Barring odd situations where you have other computer systems accessible through network paths ro the like, rosgen...

ongeveer een maand ago | 0

Answered
How do I get readImage (ROS) to work?
Hello Ulrik, It's good that you are experimenting with the 'DataFormat','struct' option for extracting messages from rosbags, s...

ongeveer een maand ago | 1

| accepted

Answered
Is it possible to convert .mat file into rosbag file? Is it possible to convert .avi file into .mat file in ROS?
Hello Subhash, There currently is no functionality in MATLAB for the creation of rosbag files. However, you could load the mess...

ongeveer 2 maanden ago | 0

Answered
How can I manage more complex ROS messages in Simulink? (e.g. JointTrajectory)
Hello David, You can create an empty message structure of your desired type using the Blank Message block, and fill in the valu...

ongeveer 2 maanden ago | 0

Answered
How can I write an app using matlab for my android phone, to communicate with an app that i created using app designer on my laptop?
The Android Support Package is good if you are looking to have two separate apps that manage their communication with each other...

ongeveer 2 maanden ago | 0

Answered
Getting the data from the rosbag msg, when the data is an array
Hello Bren, Rather than using timeseries, try using readMessages to extract messages from your rosbag selection object. Try it ...

2 maanden ago | 0

Answered
Best way to shutdown ROS when used with MATLAB Compiler
Hello Andreas, Instead of an infinite loop, an alternative design pattern you could try is to run the publishing within a timer...

2 maanden ago | 0

Answered
ROS Subscribe Block - Signal Selector
Hey again, Ben, The issue is that the Markers_ field is, presumably, an array. For a MATLAB equivalent, it'd be like if you had...

2 maanden ago | 0

Answered
Why MATLAB can not start on Ubuntu 18.04?
Hello Ye, This answer provides a good starting point for troubleshooting these types of issues. Beyond that, contacting MathWor...

2 maanden ago | 0

Answered
Using Vicon Data from ROS and feed it to the Mambo Parrot Drone Flight Control System in Simulink
Hello Ben, If you have the Vicon pose estimate coming in over your ROS network, you can access it directly in Simulink through ...

2 maanden ago | 0

| accepted

Answered
How can I use user defined type message in rossubscriber?
Hello Yun, For any non-standard (non-built-in) message types, you can make them available for use in MATLAB by using the Custom...

2 maanden ago | 0

Answered
Efficient way to connect based on n x 2 array
Hello Olli, Consider looking into various graph search algorithms, as that is exactly the field that explores "doing this effic...

2 maanden ago | 0

Answered
Convert Binary Occupancy Grid to logical or numeric values
Hello Mohammed, You can use the occupancyMatrix method to extract the numeric values of the occupancy grid. Then you can manipu...

2 maanden ago | 0

| accepted

Answered
Not able to run multiple node scripts at once
Hello Matthias, I am a little confused about exactly what it is you are trying to do. In general, ROS nodes (and publishers and...

3 maanden ago | 0

| accepted

Answered
Blank messages in multiple model reference instances
Hello Chris, As of R2018b, Simulink does not yet support the use of ROS blocks within reference models. If you need to operate ...

3 maanden ago | 0

Answered
hii, in ROS toolbox can I use single ROS Publish block to connect multiple ROS Subscribe blocks??
Yes, ROS works by publishing a message on a topic, and all subscribers to that topic will receive the message. So using one publ...

3 maanden ago | 1

| accepted

Answered
Error using ExampleHelperGazeboCommunicator/startModelServices (line 334)
Hello Santiago, The md5 checksum having a different value is indicating that the ROS message does not match the expected messag...

3 maanden ago | 0

Answered
how to convert image(basically a floor plan ) into map or binary text file??
Hello Vivek, The robotics.OccupancyGrid class has an example that shows the conversion of a PGM image into an occupancy grid. J...

3 maanden ago | 1

Answered
How do read .npy files in matlab?
Hello Juan, I don't believe that either of those file formats are natively supported in MATLAB, but you can always check File E...

3 maanden ago | 0

Answered
matrix in app designer ?
You can create a uitable, and provide the app handle as the first input argument to it. The matrix can be provided in the 'Data'...

3 maanden ago | 1

| accepted

Answered
Error while Reading a image inside a user defined function
Hello Prayag, MATLAB does not use curly braces { } to demark functions, loops, conditionals, or other code blocks. Instead, MAT...

3 maanden ago | 1

| accepted

Answered
Solve linear equation with added constant
Hello Gordon, Since C is unknown, and a scalar, you could simply consider it to be an extension of the unknowns of x. So instea...

3 maanden ago | 0

| accepted

Answered
Robotics toolbox Custom map compile error
Hello Divyanshu, Does your MAT file have a variable in it called "simpleMap"? Because that is what the code is looking for - a ...

4 maanden ago | 1

Load more