Ask Your Question

Girts L's profile - activity

2019-09-03 07:25:45 -0600 received badge  Nice Answer (source)
2019-03-08 18:21:30 -0600 received badge  Necromancer (source)
2018-09-13 02:42:06 -0600 commented answer cannot include custom .msg files in python code

Yes, I just had the same problem. Before creating the messages I had PYTHONPATH=/opt/ros/indigo/lib/python2.7/dist-packa

2016-10-23 17:20:00 -0600 answered a question ROS node listen for messages while executing instance function

You will have to return from the callback to receive another callback on the next message. So, the work loop must be running in another tread, maybe in the main thread. It can be as simple as something like:

  • in the callback just save the received message to some variable
  • in the main loop wait for it to become _START_REC, then do your stuff while checking for it to become _STOP_REC
2016-07-28 21:41:33 -0600 answered a question How to configure environment parameter TURTLEBOT_GAZEBO_WORLD_FILE

It asks for a world file, so give it a world file. Something like

roslaunch turtlebot_gazebo turtlebot_world.launch world_file:=/opt/ros/indigo/share/turtlebot_gazebo/worlds/
2016-03-19 16:41:12 -0600 answered a question package 'yaml-cpp' not found

I was getting "package 'yaml-cpp' not found" when building something else. I solved it by

sudo apt-get install libyaml-cpp-dev
2015-07-09 01:53:48 -0600 answered a question Current position with Dynamixel servomotor AX12

You can use the arbotix or dynamixel_motor package to control the servos. They publish the positions and other stuff to some topic of type sensor_msgs/JointState or dynamixel_msgs/JointState, depending on the package.

2015-07-08 02:05:11 -0600 received badge  Famous Question (source)
2015-06-24 15:09:24 -0600 received badge  Notable Question (source)
2015-01-19 03:28:22 -0600 answered a question Combining Header and Pose to make Posestamped

To publish it needs an object of the message type. Try something like

PS = PoseStamped()


PS = PoseStamped(msg.header, msg.pose.pose)
2015-01-19 02:23:18 -0600 answered a question Dynamic goal tolerance

Use DWAPlannerROS for the local planner. There the tolerance params are dynamic.

2014-09-04 22:07:18 -0600 received badge  Popular Question (source)
2014-07-28 09:38:37 -0600 received badge  Student (source)
2014-07-23 10:52:32 -0600 received badge  Organizer (source)
2014-07-23 01:04:10 -0600 asked a question Is p2os gazebo simulation supposed to be working in Hydro?

It looks like it is broken. As far as I can tell p2os/p2os_urdf/launch/pioneer3dx.gazebo.launch references things that do not exist in Hydro, like, packages gazebo_worlds and gazebo, and the node gazebo_ros_diffdrive in gazebo_plugins. Or am I missing something?

2014-07-07 02:53:07 -0600 answered a question How to I fix undefined symbol error?

I had a similar problem with gazebo 2.0, this answer helped. After commenting out the OSRF repo, removing gazebo-current and reinstalling ros-hydro-turtlebot-simulator, which I was trying to run, I got gazebo 1.9.5 instead of 2.0. Now it works.

2014-03-30 22:00:55 -0600 commented answer Why does not my image_transport ROS application work with UDP?

We use theora compression to transfer 320x240 5fps video with UDP from our robot over WiFi and it has been working pretty well.

2014-03-10 19:00:41 -0600 received badge  Enthusiast
2014-03-10 05:26:42 -0600 received badge  Nice Answer (source)
2014-03-09 23:45:57 -0600 answered a question rviz virtual joystick plug-in

Maybe what you saw was the Robot Steering plugin in rqt.

2014-03-09 21:31:25 -0600 received badge  Teacher (source)
2014-03-09 21:31:25 -0600 received badge  Necromancer (source)
2014-03-09 20:59:25 -0600 answered a question uvc_camera applies max values for brightness and contrast

I was trying uvc_camera with my cheap webcam, but the images came out all white. After that, until plugged out and in again the webcam was outputting white even with usb_cam. You mentioned that it might be messing with parameters. And indeed, uvc_cam.cpp has like 15 hardcoded calls to set various parameters my webcam has probably never heard about. So, I commented out all those calls and it worked!

2012-08-24 20:54:41 -0600 received badge  Supporter (source)