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

ildaniel's profile - activity

2023-05-25 09:44:29 -0500 marked best answer rviz_imu_plugin/imu failed to load

I am trying to make the husky robot automatically explore a map with the explore_lite package. I use melodic on 18.04 and the melodic-devel branches of each package. In new terminals, running source ~/husky_ws/devel/setup.bash in each, I command:

roslaunch husky_viz view_robot.launch

and encounter the following error:

[ERROR] [1593994893.360426019, 1308.840000000]: PluginlibFactory: The plugin for class 'rviz_imu_plugin/Imu' failed to load.  Error: Could not find library corresponding to plugin rviz_imu_plugin/Imu. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.

I did also clone the package https://github.com/ccny-ros-pkg/imu_t... in my /src. I didn't change the contents of the package_description.xml, which reads:

<library path="lib/librviz_imu_plugin">

  <class name="rviz_imu_plugin/Imu"
         type="rviz::ImuDisplay"
         base_class_type="rviz::Display">

    <description>
      Displays the orientation and acceleration components of sensor_msgs/Imu messages.
    </description>

  </class>

</library>

Any advice about changing the xml of file layout is appreciated!!

2021-11-18 12:26:21 -0500 received badge  Famous Question (source)
2021-07-06 11:36:01 -0500 received badge  Notable Question (source)
2021-01-12 05:25:42 -0500 received badge  Notable Question (source)
2020-10-29 15:13:34 -0500 received badge  Nice Question (source)
2020-10-23 06:56:35 -0500 received badge  Famous Question (source)
2020-09-23 12:56:09 -0500 received badge  Popular Question (source)
2020-09-16 02:48:45 -0500 received badge  Famous Question (source)
2020-09-15 06:24:54 -0500 received badge  Famous Question (source)
2020-09-01 11:38:49 -0500 received badge  Famous Question (source)
2020-09-01 11:38:49 -0500 received badge  Notable Question (source)
2020-08-05 00:54:59 -0500 received badge  Popular Question (source)
2020-07-30 14:16:25 -0500 asked a question Are exploration planners aware of robot dynamics?

Are exploration planners aware of robot dynamics? I'm using the explore_lite planner which sends movement commands to mo

2020-07-27 06:58:39 -0500 received badge  Student (source)
2020-07-27 06:58:36 -0500 received badge  Notable Question (source)
2020-07-20 14:55:56 -0500 received badge  Notable Question (source)
2020-07-12 12:08:51 -0500 commented question Failed to build tree: child link [base_laser_mount] of joint [laser_mount_joint] not found

I'm using ROS Melodic, but the following steps should work smoothly, let me know if they do: cd mkdir -p test_ws/src cd

2020-07-11 23:15:04 -0500 received badge  Popular Question (source)
2020-07-11 13:07:40 -0500 received badge  Notable Question (source)
2020-07-08 10:07:58 -0500 asked a question Sensor smearing for Husky, problem with localizing?

Sensor smearing for Husky, problem with localizing? I'm working with Clearpath Robotic's Husky and the explorer_lite pac

2020-07-06 18:12:53 -0500 asked a question python 3 installed over 2.7, incompatability with existing programs

python 3 installed over 2.7, incompatability with existing programs When I was first only using ROS on this computer I h

2020-07-06 05:51:42 -0500 received badge  Popular Question (source)
2020-07-05 19:28:42 -0500 asked a question rviz_imu_plugin/imu failed to load

rviz_imu_plugin/imu failed to load I am trying to make the husky robot automatically explore a map with the explore_lite

2020-07-01 03:05:29 -0500 received badge  Popular Question (source)
2020-06-30 19:17:08 -0500 marked best answer Error with robot localization and global costmap

I am trying to make the husky robot automatically explore a map with the explore_lite package. I use melodic on 18.04 and the melodic-devel branches of each package. In new terminals, running source ~/husky_ws/devel/setup.bash in each, I command:

roslaunch husky_gazebo husky_playpen.launch
roslaunch husky_viz view_robot.launch
roslaunch husky_navigation gmapping.launch
roslaunch explore_lite explore.launch
rosrun move_base move_base

But the robot is not moving at all. I believe the error is in the move_base. In the terminal where i rosrun move_base, I am presented with the following errors:

[ WARN] [1593544033.915079325, 1332.320000000]: Timed out waiting for transform from base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist.. canTransform returned after 1332.32 timeout was 0.1.
[ WARN] [1593544034.006702075, 1332.410000000]: global_costmap: Parameter "plugins" not provided, loading pre-Hydro parameters
[ INFO] [1593544034.010755084, 1332.410000000]: global_costmap: Using plugin "obstacle_layer"
[ INFO] [1593544034.015935843, 1332.420000000]:     Subscribed to Topics: 
[ INFO] [1593544034.025307642, 1332.430000000]: global_costmap: Using plugin "inflation_layer"
[ WARN] [1593544034.057914201, 1332.460000000]: local_costmap: Parameter "plugins" not provided, loading pre-Hydro parameters
[ INFO] [1593544034.061554747, 1332.460000000]: local_costmap: Using plugin "obstacle_layer"
[ INFO] [1593544034.063402066, 1332.460000000]:     Subscribed to Topics: 
[ INFO] [1593544034.069645113, 1332.470000000]: local_costmap: Using plugin "inflation_layer"
[ INFO] [1593544034.099377919, 1332.500000000]: Created local_planner base_local_planner/TrajectoryPlannerROS
[ INFO] [1593544034.103176506, 1332.500000000]: Sim period is set to 0.05
[ WARN] [1593544034.108479008, 1332.510000000]: Trajectory Rollout planner initialized with param meter_scoring not set. Set it to true to make your settings robust against changes of costmap resolution.
[ INFO] [1593544034.300935520, 1332.700000000]: Recovery behavior will clear layer 'obstacles'
[ INFO] [1593544034.305790806, 1332.710000000]: Recovery behavior will clear layer 'obstacles'

Then it rapidly prints the following error over and over again:

The robot's start position is off the global costmap. Planning will always fail, are you sure the robot has been properly localized?
The robot's start position is off the global costmap. Planning will always fail, are you sure the robot has been properly localized?
The robot's start position is off the global costmap. Planning will always fail, are you sure the robot has been properly localized?

The robot is centrally located on the map, and I even removed a nearby obstacle so it has room to move around. Any direction with this is greatly appreciated!

2020-06-30 19:17:07 -0500 commented answer Error with robot localization and global costmap

I made that change (and also added an object back into the .world that I had previously removed) and it now works like a

2020-06-30 17:27:53 -0500 commented answer Error with robot localization and global costmap

I implemented your step 1) and it does now (partially) work, thank you so much! I actually didn't see any '/odom' in mo

2020-06-30 14:18:34 -0500 asked a question Error with robot localization and global costmap

Error with robot localization and global costmap I am trying to make the husky robot automatically explore a map with th

2020-06-12 10:19:54 -0500 received badge  Popular Question (source)
2020-06-09 17:51:00 -0500 received badge  Enthusiast
2020-06-07 13:39:40 -0500 commented question Failed to build tree: child link [base_laser_mount] of joint [laser_mount_joint] not found

So I tried following the steps on a different machine on 18.04.4 LTS and ROS Melodic and found no issues. Maybe I unkno

2020-06-06 11:43:15 -0500 commented question Failed to build tree: child link [base_laser_mount] of joint [laser_mount_joint] not found

Thanks for your response. Could this be because I'm runnning Ubuntu 20.04 LTS and ROS Noetic? I grabbed the melodic-de

2020-06-06 11:43:05 -0500 commented question Failed to build tree: child link [base_laser_mount] of joint [laser_mount_joint] not found

Thanks for your response. Could this be because I'm runnning Ubuntu 20.04 LTS and ROS Noetic? I grabbed the melodic-de

2020-06-05 20:32:32 -0500 asked a question Failed to build tree: child link [base_laser_mount] of joint [laser_mount_joint] not found

Failed to build tree: child link [base_laser_mount] of joint [laser_mount_joint] not found Hi, I'm trying to get the hus

2020-06-05 15:41:00 -0500 marked best answer Xacro in-order processing for husky_gazebo

After trying to run the following command

roslaunch husky_gazebo husky_playpen.launch

from this tutorial: http://wiki.ros.org/husky_navigation/...

I encounter the following error:

... logging to /home/daniel/.ros/log/2e76d420-a6c4-11ea-afba-2390d77f85eb/roslaunch-daniel-Inspiron-7559-14421.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
xacro: in-order processing became default in ROS Melodic. You can drop the option.
'bool' object has no attribute 'lower' 
when evaluating expression 'topbar_needed_kinect.lower() == 'true' or topbar_needed_kinect == '1' or topbar_needed_realsense == 'true' or topbar_needed_realsense == '1''

when processing file: /home/daniel/husky_ws/src/husky_description/urdf/husky.urdf.xacro
RLException: while processing /home/daniel/husky_ws/src/husky_gazebo/launch/spawn_husky.launch:
while processing /home/daniel/husky_ws/src/husky_control/launch/control.launch:
while processing /home/daniel/husky_ws/src/husky_description/launch/description.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [['/opt/ros/noetic/lib/xacro/xacro', '/home/daniel/husky_ws/src/husky_description/urdf/husky.urdf.xacro', '--inorder', 'robot_namespace:=/', 'laser_enabled:=true', 'kinect_enabled:=false', 'realsense_enabled:=false', 'urdf_extras:=']] returned with code [2]. 

Param xml is <param name="robot_description" command="$(find xacro)/xacro '$(find husky_description)/urdf/husky.urdf.xacro'     --inorder     robot_namespace:=$(arg robot_namespace)     laser_enabled:=$(arg laser_enabled)     kinect_enabled:=$(arg kinect_enabled)     realsense_enabled:=$(arg realsense_enabled)     urdf_extras:=$(arg urdf_extras)     "/>
The traceback for the exception was written to the log file
2020-06-05 15:41:00 -0500 received badge  Scholar (source)
2020-06-05 15:40:58 -0500 commented answer Xacro in-order processing for husky_gazebo

Thanks for your response! i removed the --inorder option and the urdf_extras because I don't want to customize the mode

2020-06-05 12:58:00 -0500 commented answer Xacro in-order processing for husky_gazebo

Thanks for your response! It may be naive of me, but I'm not sure which file I need to be making these changes in... t

2020-06-05 12:55:58 -0500 received badge  Supporter (source)