question ros [closed]

asked 2018-11-27 16:58:03 -0600

TrongAnh gravatar image

updated 2018-12-01 07:15:43 -0600

gvdhoorn gravatar image

Can someone help me solve this problem. I'm running an ROS package, but am having this error.

ImportError: No module named Python_sml_ClientInterface
================================================================================REQUIRED process [soar2ros-3] has died!
process has died [pid 30785, exit code 1, cmd /home/anh/dron/src/ardrone_project_new/src/soar_test.py __name:=soar2ros __log:=/home/anh/.ros/log/4f98c758-f28e-11e8-967f-bcee7b5360a1/soar2ros-3.log].
log file: /home/anh/.ros/log/4f98c758-f28e-11e8-967f-bcee7b5360a1/soar2ros-3*.log
Initiating shutdown!
================================================================================
===================+> 192.168.1.76
[soar2ros-3] killing on exit
[ardrone_driver-2] killing on exit
Getting AR.Drone version ...
Getting AR.Drone version ...
Getting AR.Drone version ...
Getting AR.Drone version ...
Getting AR.Drone version ...
[ardrone_driver-2] escalating to SIGTERM
[ardrone_driver-2] escalating to SIGKILL
[rosout-1] killing on exit
[master] killing on exit
Shutdown errors:
 * process[ardrone_driver-2, pid 30778]: required SIGKILL. May still be running.
shutting down processing monitor...
... shutting down processing monitor complete
done

These are packages that I installed in work space

I tried to replay this video but could not.


Edit:

anh@anh-X450CP:~$ mkdir -p ~/ardrone_sim/src
anh@anh-X450CP:~$ cd  ~/ardrone/src
anh@anh-X450CP:~$ catkin_init_workspace
anh@anh-X450CP:~$ git clone https://github.com/AutonomyLab/ardrone_autonomy.git
anh@anh-X450CP:~$ git clone https://github.com/tum-vision/tum_ardrone.git
anh@anh-X450CP:~$ git clone https://github.com/saikishor/soar-to-ros.git
anh@anh-X450CP:~$ git clone https://github.com/saikishor/ardrone_tutorials.git
anh@anh-X450CP:~$ cd ..
anh@anh-X450CP:~$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y
anh@anh-X450CP:~$ rosdep install tum_ardrone
anh@anh-X450CP:~$ catkin_make
anh@anh-X450CP:~$ source devel/setup.bash
anh@anh-X450CP:~/ardrone_sim$ roslaunch ardrone_project_new soar_test_video.launch
... logging to /home/anh/.ros/log/a657d2ae-f55a-11e8-9d8c-bcee7b5360a1/roslaunch-anh-X450CP-3148.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://anh-X450CP:36252/

SUMMARY
========

CLEAR PARAMETERS
 * /ardrone_driver/

PARAMETERS
 * /ardrone_driver/altitude_max: 3000
 * /ardrone_driver/altitude_min: 50
 * /ardrone_driver/control_vz_max: 200
 * /ardrone_driver/control_yaw: 0.7
 * /ardrone_driver/euler_angle_max: 0.1
 * /ardrone_driver/flight_without_shell: 0
 * /ardrone_driver/outdoor: 0
 * /rosdistro: indigo
 * /rosversion: 1.11.21

NODES
  /
    ardrone_driver (ardrone_autonomy/ardrone_driver)
    ardrone_video_display (ardrone_project_new/video_display.py)
    drone_stateestimation (tum_ardrone/drone_stateestimation)
    soar2ros (ardrone_project_new/soar_test.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[ardrone_driver-1]: started with pid [3168]
process[soar2ros-2]: started with pid [3169]
process[ardrone_video_display-3]: started with pid [3170]
process[drone_stateestimation-4]: started with pid [3171]
Traceback (most recent call last):
  File "/home/anh/ardrone_sim/src/ardrone_project_new/src/video_display.py", line 11, in <module>
    import roslib; roslib.load_manifest('ardrone_project')
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
    m = rospack.get_manifest(pkg)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 167, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 211, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
  File "/usr/lib/python2.7/dist-packages/rospkg ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2019-04-07 22:47:43.731745

Comments

Can you please update your question with a copy and paste of the full error including the command that you ran that leads to this error (formatted using the 101010 button)?

jayess gravatar imagejayess ( 2018-11-27 19:05:27 -0600 )edit

May I also suggest that you change the title to something more meaningful? As it is, it is very generic and not very helpful.

jayess gravatar imagejayess ( 2018-11-27 19:06:22 -0600 )edit

view my comment

TrongAnh gravatar imageTrongAnh ( 2018-12-01 07:04:50 -0600 )edit
1

@TrongAnh: please do not post answers unless you are answering your own question. If you want to respond to comments by other posters, please use a comment yourself. If you want to provide us with more information, edit your question. Use the edit button/link for that.

gvdhoorn gravatar imagegvdhoorn ( 2018-12-01 07:18:02 -0600 )edit