ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I tested your code and it works for me (at least the import part).
I put some suggestions below:
source your ros setup
source /opt/ros/kinetic/setup.bash
check that people_msgs pkg is recognized by your setup:
rospack list | grep people_msgs
should give as result:
people_msgs /opt/ros/kinetic/share/people_msgs
if not, then install it:
sudo apt install ros-kinetic-people-msgs
This should solve your issue. Again, it works on my machine.