Ask Your Question

achille's profile - activity

2019-11-13 03:26:49 -0600 received badge  Popular Question (source)
2019-10-28 19:32:13 -0600 commented question Inbound TCP/IP connection failed: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details

I'm running into this too. I think the teardown is correct, could be a bug in actionlib. Consider creating an issue on t

2019-10-28 19:19:44 -0600 commented question Inbound TCP/IP connection failed: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details

I'm running into this too. I think the teardown is correct, could be a bug in actionlib. Consider creating an issue on t

2019-08-27 19:47:28 -0600 marked best answer what releases are included in a sync?

There are ~monthly 'sync's for each ROS version (e.g. 2019-08-26 kinetic sync. I'm assuming that this sync means that these packages are pushed to the apt servers. Who or what determines what package releases are in this sync?

The reason I'm asking is because I'm using a package image_rotate from image_proc on kinetic and I found out that the latest release on apt-get (1.12.23) has a bug in it that got fixed in a later version (1.13.0). However that release did not get included in the latest sync linked above, even though it was introduced a while ago. Is there a way to 'endorse' a package to be included in the next sync?

2019-08-26 19:45:55 -0600 asked a question what releases are included in a sync?

what releases are included in a sync? There are ~monthly 'sync's for each ROS version (e.g. 2019-08-26 kinetic sync. I'm

2019-08-19 17:28:05 -0600 received badge  Popular Question (source)
2019-08-18 17:54:29 -0600 commented answer Rtabmap behaves as 3DOF even though 6DOF is true

Apologies - it's set to false so I'm mapping 6D

2019-08-18 17:20:46 -0600 commented answer Rtabmap behaves as 3DOF even though 6DOF is true

Reg/Force3DOF is set to true (mentioned in title). Are you saying that even in that case, a 2D lidar is not useful for R

2019-08-08 17:29:21 -0600 commented answer Rtabmap behaves as 3DOF even though 6DOF is true

this is not an answer. The github is for issues, not for questions.

2019-08-08 15:04:55 -0600 asked a question Rtabmap behaves as 3DOF even though 6DOF is true

Rtabmap behaves as 3DOF even though 6DOF is true I have a mobile base mounted with several RGBD cameras and a 2D lidar.

2019-06-03 19:36:05 -0600 commented question Rospy problem with time synchronizer message filter

Make sure to initialize the ROS node before using it, so flip the following lines: ` im_sub = image_subscriber() ros

2019-03-25 00:00:17 -0600 commented answer rtabmap_ros in simulation

Solved the warnings by setting the output argument to 'log' when running in simulation. Thanks!

2019-03-19 16:28:25 -0600 commented answer rtabmap_ros in simulation

That doesn't get rid of the warnings. The rtabmap localization node is still running and looking for messages on the cam

2019-03-12 23:11:07 -0600 commented answer rtabmap_ros in simulation

The edited answer works for me with Rviz when the namespace is set to export ROS_NAMESPACE=rtabmap/rtabmap instead of ju

2019-03-01 05:36:03 -0600 received badge  Notable Question (source)
2019-02-28 14:20:26 -0600 edited question rtabmap_ros in simulation

rtabmap_ros in simulation Is there a way to launch the database file and publish it to ROS when running in simulation, i

2019-02-28 13:50:48 -0600 edited question rtabmap_ros in simulation

rtabmap_ros in simulation Is there a way to launch the database file and publish it to ROS when running in simulation, i

2019-02-28 13:45:47 -0600 commented answer rtabmap_ros in simulation

This works but given more thought it's not what I'm looking for. I updated my question with more details

2019-02-26 12:30:22 -0600 marked best answer rtabmap_ros in simulation

Is there a way to launch the database file and publish it to ROS when running in simulation, i.e. when the sensors are not connected? I would just use it for visualization and for generating the collision scene, not for localization. By simulation, I don't mean in a physics engine like Gazebo.

I just want the cloud_map topic to exist including the service to visualize the map in RViz. I don't want any data from the time of creating the map to be replayed, especially the tf frames. Ideally, rtabmap_ros rtabmap.launch is not launched.

2019-02-26 12:01:15 -0600 received badge  Popular Question (source)
2019-02-22 12:34:26 -0600 asked a question rtabmap_ros in simulation

rtabmap_ros in simulation Is there a way to launch the database file and publish it to ROS when running in simulation, i

2018-12-11 13:23:36 -0600 answered a question Roslaunch can't locate node, but rosrun works fine

Slightly different error, but this might help someone who stumbled upon the same problem later: When you get ERROR: ca

2018-11-25 13:26:53 -0600 received badge  Famous Question (source)
2018-09-16 10:18:28 -0600 received badge  Notable Question (source)
2018-08-16 17:23:30 -0600 received badge  Organizer (source)
2018-08-08 01:27:39 -0600 marked best answer high-performance status checking

Each time I read and write from and to the servos in my symmetric robot, I want to check a mode that determines which servos to talk to (the frames of this robot can change while it's running). Because the reading and writing happens continuously through topics, I want to make sure this checking adds as little overhead as possible.

I considered two solutions: services and a parameter server. From what I understand, services seem to be able to do this quickly, but it looks like they can't deliver a different response, as when the mode changes. A Parameter Server can do the trick, but the wiki explicitly states that it's not meant for high-performance and dynamic data. Are there any other solutions or am I overestimating the overhead with the parameter server?

2018-08-08 01:00:27 -0600 marked best answer Understanding follow_joint_trajectory setup

I can't figure out how the MoveIt interfaces with the hardware controller. Any help or references welcome. I tried the following:

  1. I created Python action servers that handle action messages sent by MoveIt for each move group in a new package named my_robot_controller. These are dummy SimpleActionServers I modified from the actionlib tutorial. I named them my_move_group_controller.py. They print to terminal using rospy.loginfo.
  2. I edited the controllers.yaml file in my_robot_moveit/config using the same my_move_group names.
  3. Following the MoveIt! tutorial on creating the controller launch file, I created a file my_robot_description_moveit_controller_manager.launch inside the my_robot_moveit package (created using the setup assistant). According to the SRDF file in that same package/config, the robot's name is my_robot_description, as that's where the URDF lives.
  4. I created a my_robot_moveit.launch file to start rviz and moveit (like demo.launch but enabling reading from joint_states). I set fake_execution to false.
  5. rosrun my_robot_moveit my_robot_description_moveit_controller_manager.launch. This command runs and terminates without error.
  6. rosrun my_robot_moveit my_robot_moveit.launch. This launches rviz and I can visualize the robot and plan trajectories, but it seems like moveit can't find the controllers:

Relevant terminal output

[ INFO] [1499120779.494268914]: Starting scene monitor
[ INFO] [1499120779.498303784]: Listening to '/move_group/monitored_planning_scene'
[ INFO] [1499120779.499209320]: waitForService: Service [/get_planning_scene] has not been advertised, waiting...
[ INFO] [1499120781.117743014]: Waiting for arm6dof_controller/follow_joint_trajectory to come up
[ INFO] [1499120784.515498443]: Failed to call service get_planning_scene, have you launched move_group? at /tmp/binarydeb/ros-kinetic-moveit-ros-planning-0.9.8/planning_scene_monitor/src/planning_scene_monitor.cpp:486
[ INFO] [1499120784.889705013]: No active joints or end effectors found for group ''. Make sure you have defined an end effector in your SRDF file and that kinematics.yaml is loaded in this node's namespace.
[ INFO] [1499120784.890079419]: No active joints or end effectors found for group 'arm6dof'. Make sure you have defined an end effector in your SRDF file and that kinematics.yaml is loaded in this node's namespace.
[ INFO] [1499120784.892088492]: No active joints or end effectors found for group 'arm6dof'. Make sure you have defined an end effector in your SRDF file and that kinematics.yaml is loaded in this node's namespace.
[ INFO] [1499120784.892679679]: Constructing new MoveGroup connection for group 'arm6dof' in namespace ''
QObject::connect: Cannot queue arguments of type 'QVector<int>'
(Make sure 'QVector<int>' is registered using qRegisterMetaType().)
QObject::connect: Cannot queue arguments of type 'QVector<int>'
(Make sure 'QVector<int>' is registered using qRegisterMetaType().)
[ INFO] [1499120786.117870928]: Waiting for arm6dof_controller/follow_joint_trajectory to come up
[ERROR] [1499120791.118052218]: Action client not connected: arm6dof_controller/follow_joint_trajectory
[ INFO] [1499120796.145848142]: Waiting for base_gripper_controller/follow_joint_trajectory to come up
[ INFO] [1499120801.146001310]: Waiting for base_gripper_controller/follow_joint_trajectory to come up
[ERROR] [1499120806.146111888]: Action client not connected: base_gripper_controller/follow_joint_trajectory
[ INFO] [1499120811.254410130]: Waiting for ee_gripper_controller/follow_joint_trajectory to come up
[ERROR] [1499120814.906571120]: Unable to connect to move_group action server 'move_group' within allotted time (30s)
[ INFO] [1499120814.906992117]: Constructing new MoveGroup connection for group 'arm6dof' in namespace ''
[ INFO] [1499120816.254549199]: Waiting for ee_gripper_controller/follow_joint_trajectory to come up
[ERROR] [1499120821.254703646 ...
(more)
2018-08-02 12:41:43 -0600 commented question How to get a custom fixed frame tf with hector_slam?

Have you tried setting the fixed frame in rviz to 'fixed_map' instead of 'map'? Also I'm not familiar with hector but it

2018-07-31 11:55:36 -0600 received badge  Popular Question (source)
2018-07-30 17:51:09 -0600 received badge  Famous Question (source)
2018-07-21 17:28:08 -0600 edited question Setting use_sim_time without launching separate roscore

Setting use_sim_time without launching separate roscore To get Rviz to play my rosbags correctly after the first loop (u

2018-07-21 17:24:59 -0600 asked a question Setting use_sim_time without launching separate roscore

Setting use_sim_time without launching separate roscore To get Rviz to play my rosbags correctly after the first loop (a

2018-07-19 16:41:24 -0600 commented question ROS Logging improvements ?

Did you end up settling on a good solution here?

2018-07-16 13:55:20 -0600 received badge  Critic (source)
2018-07-11 12:33:42 -0600 marked best answer importerror catkin_pkg

Problem

I reinstalled ROS1 Kinetic on Ubuntu 16.04 since I realized I had been using pip, apt, and virtualenvs in the wrong way.

In my system environment, I installed ROS Kinetic following the guidelines which worked fine. However when I run

sudo rosdep init

I get:

Traceback (most recent call last):
  File "/usr/bin/rosdep", line 3, in <module>
    from rosdep2.main import rosdep_main
  File "/usr/lib/python2.7/dist-packages/rosdep2/__init__.py", line 45, in <module>
    from .lookup import RosdepDefinition, RosdepView, RosdepLookup, \
  File "/usr/lib/python2.7/dist-packages/rosdep2/lookup.py", line 41, in <module>
    from .rospkg_loader import RosPkgLoader
  File "/usr/lib/python2.7/dist-packages/rosdep2/rospkg_loader.py", line 37, in <module>
    import catkin_pkg.package
ImportError: No module named catkin_pkg.package

I had solved this before by installing it with pip instead of with apt but this apparently isn't the recommended method. I've also encountered other similar import errors before where python doesn't recognize packages installed with apt.

Details

dpkg -L python-catkin-pkg yields:

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-catkin-pkg
/usr/share/doc/python-catkin-pkg/copyright
/usr/share/doc/python-catkin-pkg/changelog.Debian.gz
/usr/lib
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.6.egg-info
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.6.egg-info/top_level.txt
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.6.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.6.egg-info/entry_points.txt
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.6.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/catkin_pkg-0.4.6.egg-info/requires.txt
/usr/bin
/usr/bin/catkin_find_pkg
/usr/bin/catkin_create_pkg
/usr/bin/catkin_test_changelog
/usr/bin/catkin_prepare_release
/usr/bin/catkin_package_version
/usr/bin/catkin_tag_changelog
/usr/bin/catkin_generate_changelog

dpkg -L ros-kinetic-catkin yields:

/.
/opt
/opt/ros
/opt/ros/kinetic
/opt/ros/kinetic/setup.bash
/opt/ros/kinetic/lib
/opt/ros/kinetic/lib/python2.7
/opt/ros/kinetic/lib/python2.7/dist-packages
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin-0.7.11.egg-info
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/workspace_vcs.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/package_version.pyc
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/tidy_xml.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/cmake.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/tidy_xml.pyc
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/init_workspace.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/terminal_color.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/test_results.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/environment_cache.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/workspace.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/find_in_workspaces.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/find_in_workspaces.pyc
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/package_version.py
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/builder.pyc
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/init_workspace.pyc
/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/__init__.py
/opt/ros ...
(more)
2018-07-10 18:01:13 -0600 commented question importerror catkin_pkg

Not sure why or how but that did it! Please do add it as the answer to this question.

2018-07-10 17:46:14 -0600 commented question importerror catkin_pkg

As I mentioned above, import catkin_pkg only works when I do pip install catkin_pkg. When I do that, I get `/home/achill

2018-07-06 22:44:53 -0600 received badge  Notable Question (source)
2018-07-06 22:42:39 -0600 commented question importerror catkin_pkg

I added it to the front of the list through PYTHONPATH so that it's first (after '') in the list. The import still error

2018-07-06 22:37:07 -0600 commented question importerror catkin_pkg

You're right, missed that in the diff. Now most packages come before that one in the list. What should I be checking for