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

mte2010's profile - activity

2021-12-08 00:13:28 -0500 received badge  Great Question (source)
2020-06-10 08:08:29 -0500 received badge  Taxonomist
2017-03-21 16:55:44 -0500 received badge  Good Question (source)
2014-02-12 21:32:50 -0500 received badge  Famous Question (source)
2014-01-28 17:25:34 -0500 marked best answer roscore killing on exit error

I installed fuerte a few days ago and removed electric because I messed with something and wasn't running properly anymore.

Upon typing roscore, ROS seems to startup but then, I get an error message saying something along the lines of:

Error: could not contact master [http://ubuntu:11311] [master] killing on exit

I'd really appreciate some help with this. Thank you in advance.

2013-11-13 21:35:43 -0500 received badge  Notable Question (source)
2013-10-29 22:21:50 -0500 received badge  Famous Question (source)
2013-05-22 22:37:21 -0500 received badge  Famous Question (source)
2013-04-18 03:44:28 -0500 received badge  Famous Question (source)
2013-04-03 18:17:03 -0500 received badge  Notable Question (source)
2013-02-12 08:56:04 -0500 received badge  Notable Question (source)
2013-02-10 08:54:18 -0500 commented answer how to work with ros time

So, how would I convert this rosbag time to something in seconds that makes sense? Once again, this rosbag time looks like this: 1355885782739630000, 1355885782763280000, and my loop rate is at 50 hz or 0.02 seconds

2013-02-10 08:51:08 -0500 commented answer how to work with ros time

Hmm, this is talking about gps time. I looked into my data a bit more, and I found that: -this time data is actually rostime and not gps time, so basically I capture this gps data using play [rosbag_file_name] and then I just listen to my gps topic. So this time data is the same time data as rosbag

2013-02-07 20:45:38 -0500 received badge  Popular Question (source)
2013-02-07 17:36:22 -0500 asked a question how to work with ros time

Hi,

I have saved some gps data using the gps fix message type. In this message, the gps data has a field called %time.

Except, this %time data is kind of weird. The format the %time values are in is of the following:

1355859745049430000

1355859746522960000

1355859747052170000

...

How do I convert this time data to something that I can work with, for example, 1, 2, 3, 4, 5 seconds, etc.

Thanks for the help.

2012-12-27 04:13:55 -0500 received badge  Notable Question (source)
2012-12-26 11:51:15 -0500 received badge  Popular Question (source)
2012-12-26 11:50:56 -0500 received badge  Popular Question (source)
2012-12-21 04:44:11 -0500 received badge  Nice Question (source)
2012-12-20 20:13:17 -0500 received badge  Popular Question (source)
2012-12-20 13:41:10 -0500 commented answer need help converting lat-long coordinates into meters

how do i use this library in ros?

2012-12-18 15:37:06 -0500 received badge  Student (source)
2012-12-18 15:33:06 -0500 received badge  Supporter (source)
2012-12-18 15:31:58 -0500 received badge  Scholar (source)
2012-12-18 15:26:23 -0500 asked a question need help converting lat-long coordinates into meters

I have a bunch of coordinates captured from my gps in lat-long coordinates, the formatting is like so:

lat: 43.47798167 # Latitude (degrees). Positive is north of equator; negative is south.

long: -80.545065 # Longitude (degrees). Positive is east of prime meridian, negative west.

I'm simply getting this data from my /fix topic, or gps_common/GPSFix.msg. I want to convert all of my lat-long coord's to meters.

For example, this is position 1:

lat: 43.47798167, long: -80.545065

This is position 2:

lat: 43.47784167, long: -80.54544833

What's the distance traveled in meters from position 1 to 2 in the x and y directions?

Thanks.

2012-12-12 03:15:09 -0500 received badge  Teacher (source)
2012-12-12 03:15:09 -0500 received badge  Self-Learner (source)
2012-12-11 12:21:15 -0500 asked a question how to add a timeout for a teleop node

I have a teleop node that connects with my ps3 controller wirelessly to run my robot.

I want to add a timeout feature to set all of the parameters to zero in case the joy commands stop being sent to the teleop node. I have had my robot run away on me already and don't want that to happen again.

Can someone help and provide sudo code? And would this timeout be in the main function or in the ps3 button handler?

Thanks.

2012-12-11 11:55:17 -0500 answered a question ps3joy controller bluetooth unpairing

I figured out what the problem was.

  1. When the bluetooth dongle and ps3 controller are paired, they are automatically set to /dev/input/js0 by default.

  2. And when I plug in the ps3 controller to the pc using a usb cable, this new instance of a joystick is now set to /dev/input/js1

  3. So, looking at the launch file created to launch our nodes, under node pkg = joy, value = /dev/input/js0. So I just set that to js1 instead, and now my code runs off whatever is identified as js1, which in this case is the ps3 controller hooked up using usb.

So, if I ever want to go back to using the bluetooth dongle, I'll just reset that /dev/input/ value to js0...

Thanks.

2012-12-03 10:41:16 -0500 commented question ps3joy controller bluetooth unpairing

the problem is; i paired them using the ros tutorial. I don't want to use the bluetooth dongle anymore, i tried unpairing them by following the same tutorial. Except, the controller cannot be used over the usb line anymore. Is there a way i can check which usb input the controller is set at?

2012-11-29 04:28:02 -0500 asked a question ps3joy controller bluetooth unpairing

I have a ps3 controller which I was using to drive my robot.

The controller was connected to my pc via usb.

I ran through the ROS tutorial titled 'How to Pair the PS3 Joystick with a Bluetooth Dongle.'

And paired the controller to a bluetooth dongle I had. Everything worked well. Except, I found that sometimes I lost connectivity to the controller and my robot would go nuts when this happened.

I want to go back to the original configuration of having the controller connected to the pc via usb but I don't know how, can I get some help please?

Thanks.

2012-08-24 00:05:55 -0500 received badge  Famous Question (source)
2012-08-24 00:05:55 -0500 received badge  Notable Question (source)
2012-08-24 00:05:55 -0500 received badge  Popular Question (source)