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

Mani's profile - activity

2021-11-14 08:53:25 -0500 received badge  Guru (source)
2020-09-17 13:53:16 -0500 received badge  Nice Answer (source)
2020-08-23 00:54:51 -0500 received badge  Great Answer (source)
2019-06-28 09:43:31 -0500 received badge  Good Answer (source)
2019-02-27 08:40:47 -0500 received badge  Good Answer (source)
2018-07-23 05:50:59 -0500 received badge  Good Answer (source)
2018-07-12 13:08:28 -0500 received badge  Nice Answer (source)
2018-04-27 03:13:44 -0500 received badge  Nice Answer (source)
2018-03-28 12:40:07 -0500 received badge  Nice Question (source)
2018-03-13 21:03:56 -0500 received badge  Good Answer (source)
2017-12-08 00:15:25 -0500 received badge  Good Answer (source)
2017-03-17 14:50:29 -0500 received badge  Nice Answer (source)
2017-01-04 21:30:00 -0500 received badge  Nice Answer (source)
2016-12-28 10:43:06 -0500 answered a question Graphically monitor CPU - RAM etc over ROS

There are not many runtime performance monitoring solutions for ROS. You can look at the following tools:

  • rqt_top It's similar to top for ROS nodes running locally on your machine. It requires a graphical desktop environment to run since it only monitors the local machine it is running on.
  • drums I wrote this tool two years ago. It should do what you are looking for both at host and process level. The documentation is far from perfect, but I may be able to assist you get it to run on your machine. You can log the data both to rosbag and to a time series database.
  • arni This is similar to drums but with better documentation. The main difference is drums does not rely on ROS for gathering the statistics and also implements its own light-weight publish/subscribe middleware to collect and store the performance metrics. Unlike drums, arni comes with some fault recovery mechanisms built-in.
2016-12-28 10:29:42 -0500 commented answer Is there a ROS simulation for parrot bebop drone 2 using bebop_autonomy?

@Kathir No. I am not working on this. But I know at least one research group is working to provide Gazebo simulation for Parrot Bebop drones. It's not been released yet.

2016-11-07 12:33:51 -0500 answered a question Bebop States publishing at 5Hz

At the moment the state publishing rate is limited to 5Hz by the firmware.

2016-11-02 11:46:18 -0500 commented answer displaying camera on rviz.

the camera_info topic

2016-10-14 13:54:59 -0500 commented question rqt_plot only showing 0

Could you please add the type of the message you are trying to visualize? Does it have a header? If not, rqt_plot is not able to infer the time (the x-axis).

2016-10-14 13:33:10 -0500 answered a question What is the Ubuntu 16.10 support status?

According to ROS REP-3, ROS Kinetic Kame will not be available on Ubuntu 16.10 as a binary. You can try to install ROS from source. I guess support for Ubuntu 16.10 will be added to the next release of ROS (Lunar)

2016-10-13 16:57:03 -0500 answered a question NameError: global name 'NAME' is not defined <SOLVED>

In your listener() function, Lat and Lon are being accessed prior to any initialisation. If you remove the two print statements before rospy.spin(), your code should work fine.

2016-10-13 11:57:42 -0500 answered a question How to profile message activity?

Since _ROS Indigo_ there is builtin support for topic statistics in ROS. Based on the documentation, these are the metrics that are collected:

  • Period of messages by all publishers (average, maximum, standard deviation)
  • Age of messages, based on header timestamp (average, maximum, standard deviation)
  • Number of dropped messages
  • Traffic volume (Bytes)

To enable this feature, the /enable_statistics parameter needs to be set to true.

There are some tools that enable higher level analysis, visualisation and diagnostics based on topic statistics:

  • rqt_graph (Visualisation of topic statistics)
  • rosprofiler (Profiler and Visualisation based on topic statistics)
  • arni (Visualisation and Fault Detection/Mitigation based on topic statistics and a custom process and host level monitor)

There is also a tool called Drums that collects fine-grained statistics about hosts, processes and network sockets that are part of a running ROS computation graph independent of the builtin data from ROS topic statistics. (Disclaimer: I am the author of Drums and the documentation is far from perfect at the moment).

2016-10-12 17:18:44 -0500 edited question Access AR.Drone camera with OpenCV while connected to ROS

Hi,

I am having an issue where by I am unable to connect to the AR Drone camera when the drone is connected through ROS using the ardrone_autonomy ardrone.launch.

I think the issue is due to the fact that I am trying to access the drone camera through the ip address with OpenCV and Python while connected through ardrone_autonomy. Below is a code snippet of how I am accomplishing this.

{

video_capture = cv2.VideoCapture()

video_capture.open('tcp://192.168.1.1:5555')

vidWidth = video_capture.get(cv2.CAP_PROP_FRAME_WIDTH)

vidHeight = video_capture.get(cv2.CAP_PROP_FRAME_HEIGHT)

}

As you can see that I am using the IP address for the camera. This works perfectly when the drone is not connected through ros which is essentially like a webcam. My end goal is for tracking and navigation through the use of images received from the camera using OpenCV which means I will have to issue movement commands(cmd_vel) which requires a connection through ardrone_autonomy based on the images received and processed by OpenCV.

Is there anyway I can accomplish this by using the IP camera from the drone while connected to ROS?

Thanks for any help!

2016-10-12 17:05:59 -0500 answered a question Access AR.Drone camera with OpenCV while connected to ROS

If your ultimate goal is to use ROS and ardrone_autonomy to control the drone, I suggest that you capture the images through the ROS API as well (e.g. subscribe to the camera topic in your node), then use the cv_bridge package to convert the ROS image data type (sensor_msgs::Image) to cv::Mat. The following tutorial shows how to perform that in C++: Converting between ROS images and OpenCV images (C++)

2016-10-10 15:23:36 -0500 received badge  Nice Answer (source)
2016-10-06 22:05:44 -0500 commented answer improve odom by laserscan

You can fuse two sources of odometry together with a Kalman filter, which if configured properly will improve your base odometry. robot_localization package provide a very nice and easy-to-integrate EKF implementation: http://wiki.ros.org/robot_localization

2016-10-06 22:00:58 -0500 commented answer Is there a Turtlebot package software for iRobot Roomba 600 series base?

You are welcome. It is going to be a rewarding process. Good luck! (PS. If this answer solved your issue, it would be great if you mark it as correct)

2016-10-06 21:58:31 -0500 commented answer Systemd roslaunch

You are welcome. I am glad it worked. One thing you can do is to post your full solution online (i.e. as a Github gist) and provide a link in your question for future reference.

2016-10-06 20:28:43 -0500 received badge  Necromancer (source)
2016-10-06 20:04:42 -0500 answered a question catkin_make test fails due to undefined reference gtest help

I think you need to modify your CMakeLists.txt to find_package rostest so the linker can link the test executable to all required libraries.

if (CATKIN_ENABLE_TESTING)
  find_package(rostest REQUIRED)
  add_rostest_gtest(utest test/utest.cpp)
  target_link_libraries(utest ${catkin_LIBRARIES})
endif()

Also make sure that in the package.xml file you add a test dependency to rostest : <test_depend>rostest</test_depend>

More information can be found here: Configuring rostest — catkin 0.6.18 documentation

2016-10-06 19:22:54 -0500 commented answer Is there a ROS simulation for parrot bebop drone 2 using bebop_autonomy?

@errolflynn Have you had any progress on this?

2016-10-06 18:57:45 -0500 answered a question bebop_autonomy on Raspberry Pi 2 or Odroid C2?

Many of the problems with incorrect compiler flags on non x86_64 platform have been solved in the latest SDK from Parrot (3.10.1). I maintain a slightly patched (and leaner) version of parrot_arsdk here which compiles fine on i386 and 32-bit arm architectures. This patched version is released as an standalone binary and you can install it by running sudo apt-get install ros-VERSION-parrot-arsdk on your pi or C2 (assuming ROS repositories are setup correctly).

As of today, the released version is at version 3.9.x. The 3.10.x release will come out during the next ROS release (sync) cycle. You can get it from ROS shadow-fixed repositories.

At the moment bebop_autonomy does not use this version of parrot_arsdk. Instead it builds it inline during compilation. This will change soon. To see an example of how to force bebop_autonomy to use the packaged parrot_arsdk, take a look at the following branch of bebop_autonomy : https://github.com/AutonomyLab/bebop_... . Specifically the changes in bebop_driver/package.xml and bebop_driver/CMakeLists.txt.

2016-10-06 18:41:14 -0500 answered a question Turn off video stabilization for bebop drone

I've update the driver to support SDK 3.10.x and firmware 3.9. I can confirm that you can now disable video stabilisation using dynamic reconfigure. The corresponding ROS parameter is ~PictureSettingsVideoStabilizationModeMode.

The code has been merged into the main branch of bebop_autonomy.

2016-10-06 18:36:15 -0500 commented answer Is there a Turtlebot package software for iRobot Roomba 600 series base?

You might be able to re-use many components of the current turtlebot packages, essentially replacing the base driver with create_autonomy, update the description files and tweak the launch/configuration files.

2016-10-06 18:34:44 -0500 commented answer Is there a Turtlebot package software for iRobot Roomba 600 series base?

You are welcome. Now that the base is working, you need to pretty much go through all the tutorials regarding how to setup your custom robot, setting up its kinematic (TF) tree and how to do gmapping/amcl and how to navigate your robot with the ROS navigation stack.

2016-10-06 12:54:02 -0500 answered a question Is there a Turtlebot package software for iRobot Roomba 600 series base?

You can take a look at AutonomyLab/create_autonomy: ROS driver for iRobot Create 1 and 2. . According to its REAME, it may support the 600 series.

2016-10-06 00:37:35 -0500 answered a question Systemd roslaunch

I have not used systemd myself for this task, but I've used the following method in a fairly similar situation to wrap roslaunch.

Change /usr/local/bin/runslam.sh to:

#!/usr/bin/env bash
bash -c "source /path/to/catkin_ws/devel/setup.bash && roslaunch runslam slam.launch"
2016-10-02 22:21:48 -0500 received badge  Famous Question (source)
2016-10-02 22:21:48 -0500 received badge  Notable Question (source)
2016-09-21 20:02:52 -0500 answered a question Connecting Bebop drone with ROS

Update: The driver has been update to support SDK 3.10.x and firmware 3.9. It should work fine with your drone now.

bebop_autonomy needs to be updated to work with the latest firmware released by Parrot for Bebop drones. I will start working on it later this week and hopefully will release a new version as soon as possible.