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

nanaky's profile - activity

2015-04-01 14:55:46 -0500 commented question Can I use ROS to control Parrot's Bebop

I have the same question. Waiting for an answer!!!

2014-09-15 10:15:34 -0500 received badge  Famous Question (source)
2014-08-07 13:24:08 -0500 received badge  Citizen Patrol (source)
2014-08-05 23:36:48 -0500 commented answer Adding obstacles (lines) to costmap

Is this possible in Groovy anyhow?

2014-07-08 16:53:39 -0500 received badge  Famous Question (source)
2014-04-02 16:40:25 -0500 received badge  Necromancer
2014-04-02 16:40:25 -0500 received badge  Teacher
2014-03-28 12:53:42 -0500 commented answer rviz doesn't launch --> core dumped

Try deselecting the 3D accelerator box in Display in the VBox Manager.

2014-03-27 18:35:24 -0500 answered a question rviz doesn't launch --> core dumped

It doesn't look like a ROS problem, it's a VirtualBox problem I believe.

Which version of VirtualBox are you using? Maybe you should update to the latest.

2014-03-12 00:25:42 -0500 received badge  Enthusiast
2014-02-27 03:50:21 -0500 received badge  Supporter (source)
2014-02-26 22:42:33 -0500 received badge  Notable Question (source)
2014-02-26 06:52:35 -0500 commented answer LaserScan::scan_time doubt

Hi, thanks again for answering. Let's see if someone else knows for sure.

2014-02-26 05:44:16 -0500 received badge  Popular Question (source)
2014-02-26 02:19:36 -0500 received badge  Notable Question (source)
2014-02-26 02:18:32 -0500 received badge  Editor (source)
2014-02-26 01:39:30 -0500 received badge  Student (source)
2014-02-26 00:31:37 -0500 asked a question LaserScan::scan_time doubt

Would it be correct if we used in the field scan_time of the LaserScan message a time difference like this?

sensor_msgs::LaserScan scan;

scan.scan_time= (current_time-last_time).toSec();

Being current_time and last_time two ros::Time objects, so the function toSec() returns the number of seconds between two callbacks (since I have this scan_time in a callback).

Thanks in advance

EDIT: If anyone is wondering why would I do this, it is because I'm defining IR sensors as a LaserScan for using them in the navigation stack. In the robot, the measures update every 33 ms, but the messages to ROS with this measures can come more or less randomly. I take this messages and shape them into a LaserScan.

2014-02-18 05:48:16 -0500 answered a question mocap_optitrack rigid body starting orientation

Hi,

I have the same question. Did you finally get the answer?

Thanks

2014-02-16 05:27:58 -0500 received badge  Popular Question (source)
2014-02-15 15:52:10 -0500 commented answer Using IR Sensors in Navigation

Ok, thank you very much, I missed that as I got the "template" from the LaserScan tutorial. That makes much more sense.

2014-02-15 15:40:45 -0500 edited question Using IR Sensors in Navigation

Hi everyone

I am using a Khepera III robot which happens to use TCRT5000 IR sensors.

I am trying to use ROS navigation package, but I don't know how to make the LaserScan message from the IR (which as far as I understand is possible).

The IR lectures are more or less 3900 when an object is close to the sensor and more or less 100 when it is at 10 cm (4 inches). I have a function that, given the IR lecture, returns how far in meters is the object.

I am going to use 6 IR sensors (the ones in the front and the ones in the side).

How does this look to you?

sensor_msgs::LaserScan scan;
scan.header.stamp = ros::Time::now();
scan.header.frame_id = "laser_frame";

scan.angle_min = -1.57;
scan.angle_max = 1.57;
scan.angle_increment = 3.14 / 5;//six is the number of sensors

scan.time_increment = (1 / 10) / (5); //assuming that we have 6 IR sensors and we want to make ten scans with the six sensors, would this be correct? (The time between the sensors measures is 3ms, but I only want to make a full scan ten times per second).

scan.range_min = 0.0;
scan.range_max = 0.1;

scan.ranges.resize(6);//six is the number of sensors.

//Now, the IR measures:

scan.ranges[0]= infrared_left; //left sensor info (in meters)
scan.ranges[1]= infrared_front_side_left; //front side left sensor info (in meters)
scan.ranges[2]= infrared_front_left; //front left sensor info (in meters)
scan.ranges[3]= infrared_front_right;
scan.ranges[4]= infrared_front_side_right; 
scan.ranges[5]= infrared_right;

I really don't know what to do with the scan.time_increment, or if I have to do something with the intensities array ( I suppose that nothing, but I have to ask).

Thanks in advance.

2014-02-15 15:39:01 -0500 received badge  Scholar (source)
2013-07-28 22:11:59 -0500 answered a question ROS on Korebot/Khepera 3

Hi,

I'm also trying to use ROS on the Khepera III with the KoreBotLE included. Before I continue, I have to say I'm a beginner with ROS.

Were you able to get ROS on the Khepera? Which was your solution?

Thanks for the support.