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

oha's profile - activity

2020-04-24 21:20:47 -0500 received badge  Favorite Question (source)
2019-11-05 15:24:45 -0500 received badge  Notable Question (source)
2019-05-08 14:57:57 -0500 received badge  Taxonomist
2019-01-11 12:48:28 -0500 marked best answer remove old messages from topic

Hi all, I am using ROS kinetic on Ubuntu 16.04. I have a topic that I publish movement instructions to. At some point in my code I want to make a long rospy.sleep but sometimes I will publish to the topic right before I will go to sleep, and thus when I continue after the sleep the first message in the queue of the topic is going to be the old message, which is irrelevant by now. I want to remove all messages from my topics queue right before sleeping or right after continuing after the sleep, but I couldn't figure out how I flush all messages from the topic.

I am sorry if this question is trivial, but I can't find an answer to it in the forums or docs. I saw this post:
https://answers.ros.org/question/3714...
but my queue size is already set to 1, my problem is I don't even want that 1 thing in the queue, I want to totally empty it out manually.

Thanks in advance for any help available.

2019-01-08 21:03:59 -0500 received badge  Famous Question (source)
2018-08-23 10:55:56 -0500 commented question Controlling multiple drones using ardrone_autonomy

I guide I made with some code can be found here: https://gitlab.com/ohanoch/MSS_Guides/blob/master/Drones/launching_mult

2018-08-22 14:20:21 -0500 received badge  Popular Question (source)
2018-08-17 22:04:03 -0500 received badge  Famous Question (source)
2018-07-09 02:45:36 -0500 asked a question ardrone re-takeoff after flight

ardrone re-takeoff after flight Hi all, I am using an AR-Drone 2.0 with ROS kinetic and ardrone_autonomy. Everything wor

2018-07-08 05:09:50 -0500 received badge  Notable Question (source)
2018-07-06 10:37:35 -0500 commented question Controlling multiple drones using ROS

no need to pay, I'm also pretty new to all of this and am happy to help if there is something I know that can be of valu

2018-07-03 05:37:42 -0500 commented answer remove old messages from topic

ok, for now i am managing to get along, i will post here if i find an equivalent. thanks for all the time and effort you

2018-07-03 02:38:20 -0500 commented question Controlling multiple drones using ROS

Did you manage in the end? if I posted an answer with how you would connect the PC to the multiple drones, and more, if

2018-07-03 02:36:31 -0500 commented answer remove old messages from topic

thanks, but I am using rospy. I haven't looked too much, bit from the little i did i couldn't find an equivalent for ros

2018-07-02 04:01:07 -0500 received badge  Notable Question (source)
2018-07-02 01:44:03 -0500 commented answer remove old messages from topic

thanks, my code is too far in right now for me to overhaul it to change architecture, but I will keep this in mind for f

2018-06-30 09:18:41 -0500 received badge  Popular Question (source)
2018-06-30 08:50:56 -0500 commented question remove old messages from topic

i am sending geometry_msgs/Twist messages. I am using the /cmd_vel topic provided by ardrone_autonomy package. I do not

2018-06-30 03:49:48 -0500 asked a question remove old messages from topic

remove post from topic Hi all, I am using ROS kinetic on Ubuntu 16.04. I have a topic that I post movement instructions

2018-06-27 03:39:01 -0500 answered a question Controlling multiple drones using ROS

Ill try to give a more simplified answer than my answer on https://answers.ros.org/question/286722/controlling-multiple-

2018-06-26 10:28:57 -0500 received badge  Famous Question (source)
2018-06-26 00:38:46 -0500 commented question Controlling multiple drones using ardrone_autonomy

Link your post here or tell me the numb er of the post (you can see it in the URL) so that I can find it.

2018-06-26 00:37:53 -0500 commented question Controlling multiple drones using ardrone_autonomy

For what I did to get the multiple drones working I tried to explain the best I could in the answer below. I will be gla

2018-05-30 00:34:58 -0500 received badge  Famous Question (source)
2018-04-29 06:12:03 -0500 commented answer Calibrating AR-Drone after flight

Thank you so much! it seems to work, I think, I have some weird behavior still but I think that has to do with my actual

2018-04-29 06:10:17 -0500 received badge  Supporter (source)
2018-04-29 06:10:15 -0500 marked best answer Calibrating AR-Drone after flight

Hi all,
I am using ROS to fly a real AR-Drone. My problem is that after a takeoff-flight-land sequence if I try to takeoff again the drone can't stabilize properly and will not fly well.

If I take out the battery and put it back in the drone preforms its calibration (with the routers spinning) and then I can takeoff and fly again with no issues. My question is how do I make the drone preform that calibration without taking the battery out and in again?

It is very annoying to take the battery out and in every time, and also I don't know if this is going to cause problems for the drone/batteries in the future.

Any help would be greatly appreciated.

2018-04-27 13:53:37 -0500 received badge  Popular Question (source)
2018-04-27 03:31:25 -0500 received badge  Notable Question (source)
2018-04-27 02:56:13 -0500 commented answer Calibrating AR-Drone after flight

Also I cant use the phone app, as I am connecting to my drone through an internal LAN I have setup and made the drone co

2018-04-27 02:54:23 -0500 commented answer Calibrating AR-Drone after flight

Sorry for the delay. I finally got my drone back on track. using rosservice call /ardrone/flattrim I get a message sayin

2018-04-17 03:08:14 -0500 commented answer Calibrating AR-Drone after flight

thank you very much! I didn't mention which version of ardrone because this happened to me both with 1.0 and 2.0. Still

2018-04-17 02:11:50 -0500 marked best answer ros_vrpn_client installation help

Hi all, I want to install ros_vrpn_client but can't find any good instructions for it. I spcifically can't find references to kinetic or Ubuntu 16.04 when I search for ros_vpn_client, but I am running under the the hope that it will work for it, as I see no other options.

The ROS page says to just run install_vrpn.sh. The problem is it doesn't give a direct link to the package. I downloaded vrpn from:
https://github.com/vrpn/vrpn/releases but that doesn't have the install_vrpn.sh file in it. No repository I found has this file. In the installation page I got from the wiki it says to just cmake it, but cmake requires options and I don't know what it wants. The closest I got was this forum post:
https://answers.ros.org/question/5425...
but he didn't have enough karma to give the link and using svn co https://github.com/gt-ros-pkg doesn't download anything.

I also tried what is mentioned in this forum post:
https://answers.ros.org/question/2647...
But ran into catkin_make issues aswell

I also tried installing mocap_optitrack instead, but it says to just use apt-get, except apt-get doesn't find the repository they specify, and they didn't say to add a ppa or something.

I know that I am a beginner, but for the life of me I can't understand why it is so hard to find normal installation instructions for this that even a beginner can understand. I appreciate all the work people have put into this, and make it opensource and free for use, but I have been trying to just install it for several hours now, and can't find the most basic like an install file or other instructions.

Any help will be greatly appreciated!

2018-04-17 02:11:17 -0500 marked best answer Controlling multiple drones using ardrone_autonomy

Hi all, I am using ROS Kinetic on Ubuntu 16.04 and am trying to fly and control multiple drones at the same time running a single script using ardrone_autonomy. I manage to connect to the two drones, and get 2 separate nodes created for 2 separate instances of ardrone_driver.

My problem is that the different topics of ardrone_autonomy only have a single instance. This means that all my drones read off of the same topics (i.e. all drones read off of the same /ardone/takeoff topic) and thus get the same commands. I would like to have a way to give each drone a different command, either by having 2 separate takeoff topics and cmd_vel topic and land topics and so on, or by any other means possible.

All the posts I can find are from 2014 or older, and I am not sure if any significance changes have been made since, and where this stands now.

Has anyone gotten this working? Any help would be greatly appreciated.

2018-04-17 01:35:52 -0500 edited question Calibrating AR-Drone after flight

Calibrating AR-Drone after flight Hi all, I am using ROS to fly a real AR-Drone. My problem is that after a takeoff-fli

2018-04-17 01:35:37 -0500 asked a question Calibrating AR-Drone after flight

Calibrating AR-Drone after flight Hi all, I am using ROS to fly a real AR-Drone. My problem is that after a takeoff-flig

2018-04-13 01:51:46 -0500 received badge  Famous Question (source)
2018-04-10 12:09:26 -0500 received badge  Popular Question (source)
2018-04-10 07:01:09 -0500 edited answer Controlling multiple drones using ardrone_autonomy

Ok, so I have an answer - remap! There is an option inside the launch file to remap one topic to a different name. Here

2018-04-10 06:50:16 -0500 edited answer Controlling multiple drones using ardrone_autonomy

Ok, so I have an answer - remap! There is an option inside the launch file to remap one topic to a different name. Here

2018-04-10 06:40:44 -0500 answered a question Controlling multiple drones using ardrone_autonomy

Ok, so I have an answer - remap! There is an option inside the launch file to remap one topic to a different name. Here

2018-03-29 04:55:46 -0500 marked best answer tum simulator takeoff not working

Hi all, I installed tum simulator and ardrone_autonomy and I have gazebo launching with a scene and I can see the drone but when I do rostopic pub -1 ardrone/takeoff std_msgs/Empty nothing happens. when I do rostopic list I get:

/ardrone/bottom/camera_info
/ardrone/bottom/image_raw
/ardrone/bottom/image_raw/compressed
/ardrone/bottom/image_raw/compressed/parameter_descriptions
/ardrone/bottom/image_raw/compressed/parameter_updates
/ardrone/bottom/image_raw/compressedDepth
/ardrone/bottom/image_raw/compressedDepth/parameter_descriptions
/ardrone/bottom/image_raw/compressedDepth/parameter_updates
/ardrone/bottom/image_raw/theora
/ardrone/bottom/image_raw/theora/parameter_descriptions
/ardrone/bottom/image_raw/theora/parameter_updates
/ardrone/bottom/parameter_descriptions
/ardrone/bottom/parameter_updates
/ardrone/front/camera_info
/ardrone/front/image_raw
/ardrone/front/image_raw/compressed
/ardrone/front/image_raw/compressed/parameter_descriptions
/ardrone/front/image_raw/compressed/parameter_updates
/ardrone/front/image_raw/compressedDepth
/ardrone/front/image_raw/compressedDepth/parameter_descriptions
/ardrone/front/image_raw/compressedDepth/parameter_updates
/ardrone/front/image_raw/theora
/ardrone/front/image_raw/theora/parameter_descriptions
/ardrone/front/image_raw/theora/parameter_updates
/ardrone/front/parameter_descriptions
/ardrone/front/parameter_updates
/clock
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/ground_truth/state
/ground_truth_to_tf/euler
/ground_truth_to_tf/pose
/joint_states
/rosout
/rosout_agg
/tf
/tf_static

When I publish to takeoff and do rostopic list I can see that /ardrone/takeoff gets added rosnode list gives me:

/gazebo
/ground_truth_to_tf
/robot_state_publisher
/rosout

I am using ROS kinetic, but couldn't find good installations for it so I ended up installing indigo things. I didn't manage to install the ardrone_helpers but I understand that it isn't compulsory. Otherwise I did the installation from the ros website. The way I figure it I a publishing but the node for the drone is not subscribed to that topic for some reasen

I have spent more than 10 hourse trying to figure out what I did wrong and I got nothing, any help would be greatly appriciated.

2018-03-27 09:30:23 -0500 asked a question Controlling multiple drones using ardrone_autonomy

Controlling multiple drones using ardrone_autonomy Hi all, I am using ROS Kinetic on Ubuntu 16.04 and am trying to fly a

2018-03-27 05:37:06 -0500 edited answer ros_vrpn_client installation help

Ok, so I have it working and this is what I did: I ended up using vrpn_ros_cliet (not to be confused with ros_vrpn_clie

2018-03-26 06:47:34 -0500 received badge  Notable Question (source)
2018-03-26 04:45:08 -0500 received badge  Famous Question (source)
2018-03-25 11:45:11 -0500 commented question ros_vrpn_client installation help

you are right, I added in my answer that it was basically because I found an explanation to build the binaries before I