ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You need to make sure that the executable for talker is on the same folder where you execute your listener.

Also you might encounter problems because of environment variables needed by ROS not being set when you call system().

One more thing, system() is evil and here is why.

You need to make sure that the executable for talker is on the same folder where you execute your listener or provide the absolute path to the talker command when you call system().

Also you might encounter problems because of environment variables needed by ROS not being set when you call system().

One more thing, system() is evil and here is why.

You need to make sure that the executable for talker is on the same folder where you execute your listener or provide the absolute path to the talker command when you call system().

Also you note that your process will be frozen until the system() call returns and that will be when the process talker finishes.

You might encounter problems because of environment variables needed by ROS not being set when you call system().

One more thing, system() is evil and here is why.

You need to make sure that the executable for talker is on the same folder where you execute your listener or provide the absolute path to the talker command when you call system().

Also note that your process will be frozen until the system() call returns and that will be when (when the process talker finishes. finishes).

You might encounter problems because of environment variables needed by ROS not being set when you call system().

One more thing, system() is evil and here is why.

You need to make sure that the executable for talker is on the same folder where you execute your listener or provide the absolute path to the talker command when you call system().

Also note that your process will be frozen until the system() call returns (when the process talker finishes).

You might encounter problems because of environment variables needed by ROS not being set when you call system().

One more thing, system() is evil and here is why.why. If you are trying to start automatically your talker when your listener starts, you should use a roslaunch file.

You need to make sure that the executable for talker is on the same folder where you execute your listener or provide the absolute path to the talker command when you call system().

Also note that your process will be frozen until the system() call returns (when the process talker finishes).

You might encounter problems because of environment variables needed by ROS not being set when you call system().

One more thing, system() is evil evil and here is why. If you are trying to start automatically your talker when your listener starts, you should use a roslaunch file.file.