[Discourse.ros.org] [General] Announcing the "rrt_exploration" package

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] Announcing the "rrt_exploration" package

Dirk Thomas via ros-users


I met this problem when I run ``roslaunch rrt_exploration single.launch``:
```
process[assigner-4]: started with pid [2735]
  File "/home/wangyawei/RosWorkspace/rrt_exploration_ws/src/rrt_exploration/scripts/filter.py", line 67
    for i in range(0,n_robots):
                              ^
TabError: inconsistent use of tabs and spaces in indentation
[filter-3] process has died [pid 2728, exit code 1, cmd /home/wangyawei/RosWorkspace/rrt_exploration_ws/src/rrt_exploration/scripts/filter.py __name:=filter __log:=/home/wangyawei/.ros/log/c300c286-92ae-11e7-8bc9-f48e38f12209/filter-3.log].
log file: /home/wangyawei/.ros/log/c300c286-92ae-11e7-8bc9-f48e38f12209/filter-3*.log
Traceback (most recent call last):
  File "/home/wangyawei/RosWorkspace/rrt_exploration_ws/src/rrt_exploration/scripts/assigner.py", line 5, in <module>
    import rospy
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module>
    from .client import spin, myargv, init_node, \
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 52, in <module>
    import roslib
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/__init__.py", line 54, in <module>
    import roslib.stacks
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/stacks.py", line 46, in <module>
    import roslib.packages
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/packages.py", line 49, in <module>
    from catkin.find_in_workspaces import find_in_workspaces as catkin_find
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/find_in_workspaces.py", line 36, in <module>
    from catkin_pkg.packages import find_packages
ModuleNotFoundError: No module named 'catkin_pkg'
[assigner-4] process has died [pid 2735, exit code 1, cmd /home/wangyawei/RosWorkspace/rrt_exploration_ws/src/rrt_exploration/scripts/assigner.py __name:=assigner __log:=/home/wangyawei/.ros/log/c300c286-92ae-11e7-8bc9-f48e38f12209/assigner-4.log].
log file: /home/wangyawei/.ros/log/c300c286-92ae-11e7-8bc9-f48e38f12209/assigner-4*.log

```

The first error I think is source code format problem. I hope you could check the source code.
For the second, I run ``pip install catkin_pkg`` but nothing help. And the error still exist. This is my result of install:
```
wangyawei@wangyawei-pc:~/RosWorkspace/rrt_exploration_ws/src/rrt_exploration$ pip install catkin_pkg
Collecting catkin_pkg
  Downloading catkin_pkg-0.3.6.tar.gz (44kB)
    100% || 51kB 414kB/s
Collecting argparse (from catkin_pkg)
  Downloading argparse-1.4.0-py2.py3-none-any.whl
Collecting docutils (from catkin_pkg)
  Downloading docutils-0.14-py2-none-any.whl (543kB)
    100% || 552kB 1.3MB/s
Collecting python-dateutil (from catkin_pkg)
  Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)
    100% || 194kB 541kB/s
Collecting six>=1.5 (from python-dateutil->catkin_pkg)
  Downloading six-1.10.0-py2.py3-none-any.whl
Building wheels for collected packages: catkin-pkg
  Running setup.py bdist_wheel for catkin-pkg ... done
  Stored in directory: /home/wangyawei/.cache/pip/wheels/6c/ae/84/bea62c6c5c4334ceb4306854c5294801305858a1cc021dc219
Successfully built catkin-pkg
Installing collected packages: argparse, docutils, six, python-dateutil, catkin-pkg
Successfully installed argparse-1.2.1 catkin-pkg-0.3.6 docutils-0.14 python-dateutil-1.5 six-1.10.0
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

```





---
[Visit Topic](https://discourse.ros.org/t/announcing-the-rrt-exploration-package/2374/5) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] Announcing the "rrt_exploration" package

Dirk Thomas via ros-users


@echotor Please reask this as a question on http://answers.ros.org following our [Support Guidelines](http://wiki.ros.org/Support).

We work to keep the general category here on ROS Discourse for announcements and other general interest discussions.

You can link to it from here so others who find this thread will find your question. (If you edit your above post it won't resend emails to everyone.)





---
[Visit Topic](https://discourse.ros.org/t/announcing-the-rrt-exploration-package/2374/6) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] Announcing the "rrt_exploration" package

Dirk Thomas via ros-users
In reply to this post by Dirk Thomas via ros-users


Hello ector,
Can you please ask your question here again so I can answer you:
https://answers.ros.org/questions/ask/

Please don't forget to add the tag. The tag is:  rrt_exploration





---
[Visit Topic](https://discourse.ros.org/t/announcing-the-rrt-exploration-package/2374/7) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] Announcing the "rrt_exploration" package

Dirk Thomas via ros-users


Thanks info. But this problem is due to my error operation. Sorry about that.





---
[Visit Topic](https://discourse.ros.org/t/announcing-the-rrt-exploration-package/2374/8) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>