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

autonomy's profile - activity

2020-05-28 07:25:01 -0500 received badge  Famous Question (source)
2019-06-09 23:53:01 -0500 received badge  Nice Answer (source)
2019-05-08 15:50:28 -0500 received badge  Popular Question (source)
2019-05-08 15:50:28 -0500 received badge  Notable Question (source)
2019-04-25 02:30:04 -0500 received badge  Famous Question (source)
2019-04-25 02:30:04 -0500 received badge  Notable Question (source)
2019-03-01 16:31:11 -0500 marked best answer mono16 image is wrongly formed when using compressed image_transport

I am dealing with a 16-bit mono image, publishing it using image_transport. I have no issues with the raw data topic, I can view it directly, bag it, replay it, and view again. If I run rostopic echo /cam/image | grep step I get 1280 as the result.

When I'm using image_view _image_transport:=compressed, I get an error message saying this:

Unable to convert 'mono16' image for display: : 'Image is wrongly formed: step < width * byte_depth * num_channels or 640 != 640 * 2 * 1

I'm using a vanilla image_transport publisher without changing any parameters. Am I missing something or is this a bug in the image_transport plugins?

2019-02-01 02:19:50 -0500 received badge  Famous Question (source)
2019-01-22 09:31:47 -0500 marked best answer Can I run a bash script using roslaunch?

I read http://answers.ros.org/question/12327... and http://answers.ros.org/question/33772... questions and I am confused. I see people mention the possibility of running bash scripts via .launch files but I can't find any documentation describing how to do it. Is it even possible?

(I'm trying to delay the launch of a gpsd_client node because during startup it scans and usurps other serial ports.)

2018-11-27 22:57:30 -0500 received badge  Famous Question (source)
2018-10-18 12:08:38 -0500 received badge  Notable Question (source)
2018-10-18 12:08:38 -0500 received badge  Popular Question (source)
2018-10-05 16:42:12 -0500 received badge  Popular Question (source)
2018-10-05 16:42:12 -0500 received badge  Notable Question (source)
2018-09-19 09:25:43 -0500 asked a question Export bag of CompressedImage to disk without decoding

Export bag of CompressedImage to disk without decoding I have a bag of compressed images (/camera/image/compressed). I w

2018-08-27 13:30:06 -0500 asked a question Image timestamps in files saved by extract_images... or another way?

Image timestamps in files saved by extract_images... or another way? I bagged some image data and now I am running image

2018-08-22 08:29:18 -0500 commented answer mono16 image is wrongly formed when using compressed image_transport

<node name="$(anon dynparam)" pkg="dynamic_reconfigure" type="dynparam" args="set /camera/image/compressed format 'pn

2018-08-22 08:29:11 -0500 commented answer mono16 image is wrongly formed when using compressed image_transport

Is that documented? I don't see it on the wiki. I am dealing with an actual 16-bit image in the wild, not depth. Compres

2018-08-21 11:54:37 -0500 asked a question mono16 image is wrongly formed when using compressed image_transport

mono16 image is wrongly formed when using compressed image_transport I am dealing with a 16-bit mono image, publishing i

2018-08-14 12:58:05 -0500 answered a question Confused with setup for robot_localization

Why do you say (x,y) is calculated using yaw? It should be the other way around - encoder counts from each wheel input

2018-08-14 08:31:58 -0500 answered a question How to integrate ROS and Django?

You've got a very difficult task ahead of you, given how you describe the requirements. On the surface, what you're try

2018-08-13 16:25:57 -0500 commented question Robot Localization Package: Transform from base_link to odom was unavailable for the time requested. Using latest instead. (IMU+GPS)

Take a look here, maybe that can help increase the sensor frequency. Also, take care to set your magnetic_declination_ra

2018-08-13 16:17:41 -0500 commented question Robot Localization Package: Transform from base_link to odom was unavailable for the time requested. Using latest instead. (IMU+GPS)

2Hz seems low for an IMU. I worked with IMUs running anywhere between 30 to 100Hz. You are requesting robot_localization

2018-08-13 16:17:30 -0500 commented question Robot Localization Package: Transform from base_link to odom was unavailable for the time requested. Using latest instead. (IMU+GPS)

2Hz sounds low for an IMU. I worked with IMUs running anywhere between 30 to 100Hz. You are requesting robot_localizatio

2018-08-13 13:10:37 -0500 commented question Robot Localization Package: Transform from base_link to odom was unavailable for the time requested. Using latest instead. (IMU+GPS)

For 2, did you try running view_frames to see how old your static transform is? (http://wiki.ros.org/tf2/Tutorials/Intro

2018-08-13 13:07:14 -0500 commented question Robot Localization Package: Transform from base_link to odom was unavailable for the time requested. Using latest instead. (IMU+GPS)

Tom would be the authoritative input on this, but in the meantime - for your 1st problem, what frequency are you expecti

2018-08-13 12:56:12 -0500 commented question ERROR: package name '***' is illegal and cannot be used in message generation.

What @gvdhoorn wrote, plus - what is the name of your package / msg file?

2018-08-13 12:52:57 -0500 commented question How to integrate ROS and Django?

Yeah, we have no idea what you're trying to do if you don't give us any specifics. Kind of like saying "combine phone in

2018-07-03 14:47:37 -0500 received badge  Critic (source)
2018-07-03 08:51:24 -0500 received badge  Famous Question (source)
2018-06-14 09:44:30 -0500 received badge  Popular Question (source)
2018-05-17 09:42:01 -0500 asked a question Why isn't ROS using its own clock server for live situations?

Why isn't ROS using its own clock server for live situations? I'm well aware of the fact that if you run ROS nodes on mu

2018-04-26 17:10:16 -0500 received badge  Famous Question (source)
2018-03-21 01:12:50 -0500 received badge  Stellar Question (source)
2018-01-09 13:35:57 -0500 marked best answer Sourcing workspace generated by a catkin_make install

I'm trying to distribute a binary version of my package. I have the catkin_make install command create the install directory in the right place and copy the required libs. The contents of the install directory are as follows:

include

(contains exported packages with generated header files for messages)

lib

(contains 3rd party dependencies as well as exported packages with executables)

share

(contains exported packages with misc. files such as package.xml)

My problem is that when I copy this directory to a new computer, I can't use ROS to run anything from it. I tried doing the following on the new machine within the distributed install directory:

  • Create a src directory
  • Run catkin_init_workspace
  • Run catkin_make to generate the devel and build directories
  • Source the generated devel/setup.bash script

rosrun my_package my_package_node still doesn't find my package. What can I do to get ROS to see my installed packages the way packages in /opt/ros/indigo work?

2017-11-14 22:27:59 -0500 received badge  Nice Answer (source)
2017-10-21 09:27:43 -0500 marked best answer Dynamixel & joint_state_publisher

I am trying to set up a pan/tilt base with two Dynamixel servos and I would like to use joint_state_publisher with robot_state_publisher to publish the transforms (and maybe even control the joints via joint_state_publisher's GUI).

The problem is that the dynamixel_controllers stack publishes dynamixel_msgs/JointState messages while joint_state_publisher expects sensor_msgs/JointState messages, and the two are incompatible.

My Google-Fu failed to turn up any existing conversion between dynamixel_msgs and sensor_msgs JointState messages - but I have seen out there Dynamixel-based robots visualized in Rviz. Are my only options to publish my own transforms with the Dynamixels or write my own conversion between the two different JointState messages? Maybe someone can suggest an existing open-source solution?

2017-09-04 21:06:45 -0500 received badge  Notable Question (source)
2017-07-17 08:45:54 -0500 received badge  Popular Question (source)
2017-07-17 08:43:19 -0500 marked best answer How to tune move_base local planners for frequent goal updates

I am experimenting with a robot which is supposed to follow a beacon outside. The waypoints are sent at 1Hz (I could go faster) and are within 3 to 10 meters of the robot. I tried using move_base with the built-in planners but had unsatisfactory results.

  • DWA planner's motion was good but it made the robot pause at every goal update making for unsmooth motion
  • TrajectoryPlannerRos starts oscillating on straightaways, that type of motion isn't acceptable
  • TebLocalPlanner was a mix of the two, but it did a lot of spinning in place and eventually would cause the map update loop miss its target update rate

I tried to play with oscillation reset flag and other parameters but still did not achieve good results and to be honest, I'm not really sure how most of these work. I am starting to think that these planners weren't meant to be used for what I'm using them for. Is there a better planner for me to use such that I can update it frequently yet still get the benefit of obstacle following? If not, are there parameters I should be tuning that will make path updates faster and smoother? (local map size/resolution? oscillation flag? others?)

2017-07-11 06:59:15 -0500 asked a question How to tune move_base local planners for frequent goal updates

How to tune move_base local planners for frequent goal updates I am experimenting with a robot which is supposed to foll

2017-05-27 12:34:41 -0500 received badge  Notable Question (source)
2017-05-27 12:34:41 -0500 received badge  Famous Question (source)
2017-05-27 12:33:21 -0500 received badge  Famous Question (source)