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

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

View badges

Content Feed

View by

Answered
Why do I receive: Error using ros.internal.ROSProjectBuilder/buildPackage (line 534) Error building package: build log.
The key part of the error message in the log file is right here: Path: <...> exceeds the OS max path limit. The fully qualified...

5 dagar ago | 0

Answered
ROS Subscriber in Simulink does not seem to receive data
Hello Angel, This is likely to be caused by the publisher on the ROS machine not having the ROS_IP environment variable set or ...

7 dagar ago | 0

Answered
Cannot echo messages coming from Matlab ROS2
Hello Sergei, Please see this answer for up-to-date information on the Dashing-Foxy connectivity issue, and workarounds. -Cam

7 dagar ago | 1

| accepted

Answered
How can I update a dependent property
Hello Amine, Dependent properties aren't just initially calculated based on other properties, they are always calculated using ...

14 dagar ago | 0

Answered
how to fix ode45 parameters?
The value of "y" (the "state" input to "derivative") is going infinite or NaN at some point. I'd suggest creating a helper funct...

19 dagar ago | 0

Answered
How can I set the labels of multiple axes without iteration?
Hello Yazan, If, as you create the axes, you save the handles to one reference axes array, you can easily set the labels like s...

28 dagar ago | 0

| accepted

Answered
Problems with ROS service client in MATLAB
Hello Massimo, I attempted to reproduce this by taking this mavros_msgs/CommandTOL service defintiion. Fortunately it doesn't e...

ungefär 2 månader ago | 0

Answered
Niryo One - MATLA interface
Hello Afsoon, Can you try running this code in MATLAB: !cmake --version If you see any warning messages about libcurl or libs...

2 månader ago | 0

| accepted

Answered
How can ROS Custom Messages be exchanged or even moved to another folder?
Hello Sven, The "addpath" command is only a small part of getting the custom messages working with MATLAB. It is required to re...

3 månader ago | 0

| accepted

Answered
Lidar Labeler Rosbag Loading Error (Ubuntu 20.04): Could not locate the base directory for ros.
Hello Daniel, Does the error occur if you try to load the rosbag data outside of the Lidar Labeler? bag = rosbag(filePath); m...

4 månader ago | 1

| accepted

Answered
Leader following robot?
Hello Dominika, We have a similar example that demonstrates a robot (either real or simulated in Gazebo) following an object. I...

4 månader ago | 0

| accepted

Answered
Generating ROS Custom Action Service Messages in R2021a
Hello Wesley, In R2020a and before, custom actions were not officially supported for ROS Toolbox. It's noted in the documentati...

4 månader ago | 0

| accepted

Answered
MATLAB ros 3D visualizing in real time
Hello Eirik, You can create a ROS subscriber for the PointCloud2 topic, and in the callback have it update a scatter3 plot show...

5 månader ago | 0

Answered
Receive data from ros2 /scan topic does not work, while it is possible for /odom and /cmd_vel topic
Hello Bernd, There are two main culprits that I always look at first when there is difficulty communicating in ROS 2, but there...

5 månader ago | 0

| accepted

Answered
Generate custom ROS messages in Matlab running on Windows using Cmake from Ubuntu install on WSL2
Hello Eric, You will need CMake installed on your Windows system, along with Visual Studio 2017 and Python 2.7. It's unlikely t...

5 månader ago | 1

| accepted

Answered
MATLAB freezes the OS when using java environments: a Fatal Java Exception occurs (Resource temporarily unavailable)
I assume that you are using SSH with X11 forwarding to work with MATLAB on a remote machine? I would recommend against doing tha...

5 månader ago | 0

Answered
Would I able to load a Gazebo world as a training model into rlSimulinkEnv function ?
Hello Jen-Yu, Loading a Simulink model that simulates a robot is very different than loading a Gazebo world. There is currently...

5 månader ago | 0

| accepted

Answered
how to generate the custom message
This is the same issue as here. Please see that question and this one for more folder structure details. -Cam

5 månader ago | 0

| accepted

Answered
Error ros.ro2.internal.createOrGetLocalpython
Hello Nikhil, There are two issues happening here. The first is that there is something stopping some of your root Python libra...

5 månader ago | 0

| accepted

Answered
Fail to create custom message rosgenmsg in Matlab 2020b
Hello Van, You are providing the "package directory" to rosgenmsg, when it is looking for the "interfaces directory". This is b...

6 månader ago | 0

Answered
Error when running rosgenmsg for control_msgs
Hello Bassem, Based on the error, it seems that the ROS custom message support package did not install properly. I would recomm...

6 månader ago | 0

Answered
Return all values of a struct parameter within a cell array.
Hello Gregory, Matt J's way works, by creating multiple struct arrays, working your way down the nested fields. It's functional...

6 månader ago | 0

Answered
Could not load library (Poco exception = libMatlabDataArray.so: cannot open shared object file: No such file or directory)
Hello Andreas, This may be because you have conflicting libraries on your platform's library path. It may be related to this bu...

6 månader ago | 0

Answered
An issue with subscribing to custom messages from ROS network
Hello Nima, Issues with ROS communication between machines, especially if messages can be received from one machine but not the...

6 månader ago | 1

| accepted

Answered
Simulink fails to create ROS subscriber
Hello Johan, This may be because you have conflicting libraries on your platform's library path. It may be related to this bug,...

6 månader ago | 1

Answered
Speedgoat machine and ROS
Hello Jihyik, For the standard question of "Can I deploy a Simulink ROS node to _____ hardware?" the answer is usually the same...

6 månader ago | 0

| accepted

Answered
rosactionclient failure due to version mismatch
I realize this question is from a while ago, but I wanted to put in an answer to catch anyone else running into the same problem...

6 månader ago | 0

Answered
downloadPretrainedPointPillarsNet help
Hello Gustavo, I believe that command isn't a standard function in MATLAB, it's a helper provided with the example. You'll need...

6 månader ago | 0

| accepted

Answered
Unrecognized function or variable 'asbQuadcopterStart'.
Aerospace Toolbox and Aerospace Blockset are two different products. That example is in Aerospace Blockset, which does not appea...

7 månader ago | 0

Answered
rosgenmsg error in line333 MATLAB2020b
Hello Holden, You are providing the "package" folder to rosgenmsg, when instead it requires the parent folder of that. This is ...

7 månader ago | 0

Load more