This article covers common issues with Formant agent installations and their fixes.
Most parts of the formant agent ROS bridge are
python3 processes. Try running
import rospy in a
python3 shell. If this import errors, you may have to install
apt install python3-rospkg-modules
Please make sure you have the following packages installed on pyhton3 for ros_bridge:
rosgraph roslib rostopic std_msgs GTK gi sensor_msgs genpy actionlib_msgs geometry_msgs sensor_msgs
The following packages need to be installed on python2 for tf2_bridge:
rosgraph rospy tf2_ros genpy
Some systems will not have a video streaming dependency installed. To fix, you can install the following:
apt install gir1.2-gst-rtsp-server-1.0
The system's policy-rd.d may be set up to disallow enabling services. Edit
/usr/sbin/policy-rc.d to exit 0 instead of 101.
If the installation was successful, but the ROS based data is not displaying on the webapp, it is likely that the agent did not detect that it was ROS based device. Check the values for your Environment variables for the agent and make sure they all look correct.
Make sure that ROS node information is showing up on the default stream
$.ros.node_online. If no data is coming in on this default stream, the Formant agent has not connected to ROS.
Updated about 1 year ago