ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

DanielEckert's profile - activity

2017-04-20 06:11:53 -0500 received badge  Famous Question (source)
2017-04-20 06:11:53 -0500 received badge  Notable Question (source)
2016-07-28 09:08:48 -0500 received badge  Nice Question (source)
2015-07-10 14:21:38 -0500 received badge  Enthusiast
2015-07-10 14:21:37 -0500 received badge  Enthusiast
2015-06-02 06:27:31 -0500 received badge  Student (source)
2015-05-29 14:11:44 -0500 received badge  Popular Question (source)
2015-05-29 11:14:13 -0500 received badge  Scholar (source)
2015-05-28 17:43:46 -0500 asked a question Which frame_id do I usually specify for the NavSatFix header?

The coordinate system in NavSatFix is known by the fact that we are using WSG84 coordinates. But how do I specify the frame_id in the header? Is there some standard name for this frame, or will it be different in every project?

2015-05-27 05:09:19 -0500 received badge  Famous Question (source)
2015-04-29 13:56:31 -0500 received badge  Notable Question (source)
2015-04-22 06:51:16 -0500 commented answer Launch file doesn't work after xacro update

Thanks, that could have been it. I just updated the repository I was working with a few days later, and reinstalled, and then things worked. Not sure what the actual issue was.

2015-04-22 06:46:57 -0500 received badge  Popular Question (source)
2015-04-17 11:16:04 -0500 commented answer How do I start a .launch file from Eclipse IDE

Just had the following error, but found a solution: Traceback (most recent call last): File "/opt/ros/indigo/bin/roslaunch", line 34, in <module> import roslaunch ImportError: No module named roslaunch Solution: Eclipse has to be launched from command line to have all environment variables.

2015-04-17 08:48:37 -0500 received badge  Supporter (source)
2015-04-15 05:28:29 -0500 asked a question Launch file doesn't work after xacro update

Hello there,

After updating to version 1.9.4 of the ros-indigo-xacro package, one of my launch files doesn't work anymore, and I can't figure out why. The error mesages I get are the following:

Traceback (most recent call last):
  File "/opt/ros/indigo/share/xacro/xacro.py", line 60, in <module>
    xacro.main()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 706, in main
    open_output(output_filename).write(doc.toprettyxml(indent='  '))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 1960: ordinal not in range(128)
while processing /home/daniel/catkin_ws/src/rotors_simulator/rotors_gazebo/launch/spawn_mav.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [     /opt/ros/indigo/share/xacro/xacro.py '/home/daniel/catkin_ws/src/rotors_simulator/rotors_description/urdf/firefly_base.xacro'     enable_logging:=false     enable_ground_truth:=true     log_file:=firefly     mav_name:=firefly] returned with code [1]. 

Param xml is <param command="     $(find xacro)/xacro.py '$(arg model)'     enable_logging:=$(arg enable_logging)     enable_ground_truth:=$(arg enable_ground_truth)     log_file:=$(arg log_file)     mav_name:=$(arg mav_name)" name="robot_description"/>
The traceback for the exception was written to the log file

The launch file is this:

<?xml version="1.0" ?>

<launch>
  <arg name="mav_name" />
  <arg name="model" default="$(find rotors_description)/urdf/$(arg mav_name)_base.xacro"/>
  <arg name="tf_prefix" default="$(optenv ROS_NAMESPACE)"/>
  <arg name="x" default="0.0"/>
  <arg name="y" default="0.0"/>
  <arg name="z" default="0.1"/>
  <arg name="enable_logging" default="false"/>
  <arg name="enable_ground_truth" default="true"/>
  <arg name="log_file" default="$(arg mav_name)"/>

  <!-- send the robot XML to param server -->
  <param name="robot_description" command="
    $(find xacro)/xacro.py '$(arg model)'
    enable_logging:=$(arg enable_logging)
    enable_ground_truth:=$(arg enable_ground_truth)
    log_file:=$(arg log_file)
    mav_name:=$(arg mav_name)"
  />
  <param name="tf_prefix" type="string" value="$(arg tf_prefix)" />

  <!-- push robot_description to factory and spawn robot in gazebo -->
  <node name="spawn_$(arg mav_name)" pkg="gazebo_ros" type="spawn_model"
   args="-param robot_description
         -urdf
         -x $(arg x)
         -y $(arg y)
         -z $(arg z)
         -model $(arg mav_name)"
   respawn="false" output="screen">
  </node>
</launch>

Any help would be greatly appreciated!

Cheers, Daniel