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

nwanda's profile - activity

2020-02-18 08:38:24 -0500 received badge  Taxonomist
2019-07-30 07:08:44 -0500 received badge  Famous Question (source)
2018-07-24 21:38:05 -0500 received badge  Notable Question (source)
2018-06-10 03:54:42 -0500 received badge  Nice Question (source)
2016-03-30 21:38:42 -0500 received badge  Famous Question (source)
2016-03-30 21:38:42 -0500 received badge  Notable Question (source)
2016-03-30 21:38:42 -0500 received badge  Popular Question (source)
2016-02-18 02:26:51 -0500 received badge  Popular Question (source)
2016-02-17 14:11:56 -0500 asked a question Deleted src files after catkin_make

Is there anyway to recover the source files from a package? After I compiled everything using catkin_make, I accidently removed the "src" folder of the package.

Since it is impossible to recover the files removed with "rm", is there a way to recover the source files using ROS?

2015-12-18 17:54:39 -0500 received badge  Famous Question (source)
2015-11-06 22:24:43 -0500 received badge  Student (source)
2015-10-21 04:46:40 -0500 asked a question imu_filter_madgwick with different results in different machines

I have been using the imu_filter_madgwick with my IMU and everything was configured to the point that I was getting good results (Using accel, gyro and mag). However when I try to run exactly the same setup in a different machine (an Odroid) I'm not getting the expected results.

Any idea what might be causing the problem?

I started running ROS across both machines (macbook and odroid) so that I could get the data from the IMU with the odroid and test the filter on that same data both on the mac and odroid. Why would the results be differents if everything else is configured the same way?

2015-10-20 13:14:44 -0500 received badge  Notable Question (source)
2015-09-30 09:54:29 -0500 received badge  Supporter (source)
2015-09-29 11:15:28 -0500 received badge  Popular Question (source)
2015-09-29 10:37:48 -0500 commented answer Shutdown nodes from within a ROS node

Would that stop the rosbag recording properly so that I can use the bag-file after rebooting? And is there a way to select which nodes to "kill" or the only way is to shutdown every node with rosnode.kill_nodes?

2015-09-29 10:37:07 -0500 received badge  Editor (source)
2015-09-29 10:18:22 -0500 commented answer Shutdown system (computer) with a ROS node

You are totally right. I have already posted a different question. Thanks for the help!

2015-09-29 10:17:32 -0500 asked a question Shutdown nodes from within a ROS node

This is a follow up question to Shutdown system (computer) with a ROS node.

Since the system in which the ROS is running is connected to some motors I would like to know if it is possible to close nodes from within a different ROS node.

Since the system is powered by some batteries, the shutdown procedure I would like to achieve is something like this: Once battery level is below a certain threshold:

  • Close/stop all nodes
  • Stop rosbag recording
  • Shutdown system

However I have no clue how to "Close/stop all nodes" and "Stop rosbag recording" from within a certain node (The same node used to check the battery level).

Is this possible?

2015-09-29 10:07:58 -0500 received badge  Famous Question (source)
2015-09-28 14:46:42 -0500 commented answer Shutdown system (computer) with a ROS node

This raised another question: Is it possible to close all nodes from within another node? Since this system is controlling some motors I would like to send a command to stop the motors and close all nodes before shutting down.

2015-09-17 02:29:46 -0500 received badge  Famous Question (source)
2015-07-27 19:40:53 -0500 received badge  Notable Question (source)
2015-07-26 07:53:34 -0500 received badge  Popular Question (source)
2015-07-25 09:10:11 -0500 asked a question Shutdown system (computer) with a ROS node

Is it possible to shutdown the system from within a ROS node?

In my case, I would like to shutdown the system once the battery level reaches a certain point, however I don't know how to do it or if it is even possible.

2015-07-22 11:26:03 -0500 commented answer 2D image point to 3D

Thanks for all the help! I will look into the eigen library.

2015-07-22 11:25:19 -0500 marked best answer 2D image point to 3D

Hey!

I have a setup with a bottom camera (simple webcam pointed at the ground). Along with the camera is an IMU, which means that I have the attitude of the camera. I also have an estimation of the distance from the camera to the ground.

Since I'm detecting some target on the ground (I'm able to detect and get their position on the image using openCV), I would like to extract their position on the world frame. However I'm lost on how to do it.

Are there any ROS package that implement this? How should I do it?

Thanks in advance!

2015-07-22 11:25:19 -0500 received badge  Scholar (source)
2015-07-22 05:26:58 -0500 commented answer 2D image point to 3D

After reading about image_geometry, I think I know how to proceed. Using projectPixelTo3dRay I'm able to obtain the ray and after the intersection with the ground plane I should be getting a x,y,z for the target. right? Btw, which library is usually used for linear algebra computation on ros?