Ask Your Question

DanielPBak's profile - activity

2018-07-02 22:05:34 -0500 received badge  Popular Question (source)
2018-07-02 22:05:34 -0500 received badge  Notable Question (source)
2018-02-26 22:57:39 -0500 received badge  Notable Question (source)
2018-02-26 22:57:39 -0500 received badge  Famous Question (source)
2018-02-26 22:57:39 -0500 received badge  Popular Question (source)
2016-11-18 12:41:41 -0500 asked a question Having constant problems with roscd

Every time I restart bash or my computer, there is a good chance I need to screw around with environmental variables for 30 minutes before I can get anything to work. I don't really understand what to do, or how to get the fix to "stick". Is it possible for ROS to just work when I start up bash, or do I need to run source and change ROS_PACKAGE_PATH and ROS_WORKSPACE_PATH every time and mess with setup.bash every time? I feel like I'm accumulating damage every time I'm forced to screw with all of this stuff without really understanding it, just to proceed with the tutorials.

For example, right now I cannot roscd to rospy_tutorials. I can roscd to my own stuff, but not to rospy_tutorials. How can I fix this?

dan@beepboopROS:~/ros_workspace/beginner_tutorials$ roscd rospy_tutorials
roscd: No such package/stack 'rospy_tutorials'
2016-11-18 11:42:50 -0500 asked a question cElementTree.ParseError while following tutorial

I am following this tutorial to the letter. (rosbuild version)

However, when I get to

$ rosmsg show beginner_tutorials/Num

Instead of getting int64 num, I get the following:

dan@beepboopROS:~/ros_workspace/beginner_tutorials$ rosmsg show beginner_tutorials/Num 
Traceback (most recent call last):
  File "/opt/ros/groovy/bin/rosmsg", line 35, in <module>

  File "/opt/ros/groovy/lib/python2.7/dist-packages/rosmsg/", line 724, in rosmsgmain
    rosmsg_cmd_show(ext, full)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rosmsg/", line 594, in rosmsg_cmd_show
    rosmsg_debug(rospack, mode, arg, options.raw)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rosmsg/", line 446, in rosmsg_debug
    print(get_msg_text(type_, raw=raw, rospack=rospack))
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rosmsg/", line 423, in get_msg_text
    for p in rospack.list():
  File "/usr/lib/python2.7/dist-packages/rospkg/", line 189, in list
  File "/usr/lib/python2.7/dist-packages/rospkg/", line 181, in _update_location_cache
    list_by_path(self._manifest_name, path, cache)
  File "/usr/lib/python2.7/dist-packages/rospkg/", line 67, in list_by_path
    root = ElementTree(None, os.path.join(d, PACKAGE_FILE))
  File "/usr/lib/python2.7/xml/etree/", line 611, in __init__
  File "<string>", line 38, in parse
cElementTree.ParseError: junk after document element: line 2, column 2

What's going wrong? Is my installation bad?

2016-11-09 19:13:34 -0500 asked a question E: Unable to locate package ros-diamondback-nxtall - installing on ubuntu 16.04 possible?

I am attempting to install ROS for NXT Diamondback on my Ubuntu 16.04. Is this even possible?

I am going through the following steps:

However, I encounter the following issues:

daniel@beepboop:~/Downloads$ sudo restart udev
restart: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

when I get to that stage. I rebooted my computer instead.

For step 1.4, I did the following instead:

sudo sh -c 'echo "deb xenial main" > /etc/apt/sources.list.d/ros-latest.list'

which appeared to work.

When I get to step 1.6, apt-get cannot find the package:

daniel@beepboop:~/Downloads$ sudo apt-get install ros-diamondback-nxtall
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-diamondback-nxtall

Do I have any options here other than installing another version of ROS?