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

andreasvo's profile - activity

2019-05-23 03:19:43 -0500 received badge  Famous Question (source)
2018-12-29 09:53:04 -0500 received badge  Famous Question (source)
2018-07-16 12:24:31 -0500 received badge  Famous Question (source)
2018-07-16 12:24:31 -0500 received badge  Notable Question (source)
2018-07-16 12:24:31 -0500 received badge  Popular Question (source)
2017-07-17 03:52:54 -0500 received badge  Notable Question (source)
2017-06-23 02:21:03 -0500 received badge  Notable Question (source)
2017-06-22 11:53:48 -0500 received badge  Popular Question (source)
2017-06-22 11:40:07 -0500 answered a question One time publish executable

The problem is solved! I realized the subscriber object might also have a sub.getNumPublishers(), this way I could chec

2017-06-22 11:37:30 -0500 marked best answer One time publish executable

Hi,

Im trying to use a specific node (program A) as a test program being executed once taking the value to be published on a topic (lets call it "foo").

Program B is already subscribed to this topic and is running in a loop.

Program A will be ran like this: "rosrun package node argument", and published the argument (a number) to topic "foo".

program B never receives this message. My idea at this point is the fact that they never get to pair up with tcp with the use of the master node since the subscribing node isnt really subscribed.

Is there any way of making this executable able to send to the looped node B? or is there a specific reason this doesnt work?

I know this might seem like a stupid idea, but it is necessary for testing of the robot, and I dont know how to pass values to a running node for it to then publish.

In advance, thanks.

2017-06-22 11:11:53 -0500 commented answer One time publish executable

pub.getNumSubscribers() gave 0.

2017-06-22 11:11:32 -0500 commented answer One time publish executable

The code is large, this is the chain of events though: A topic holder node starts the topic and holds it alive. Subscr

2017-06-22 08:49:21 -0500 edited question One time publish executable

One time publish executable Hi, Im trying to use a specific node (program A) as a test program being executed once taki

2017-06-22 08:48:24 -0500 asked a question One time publish executable

One time publish executable Hi, Im trying to use a specific node (program A) as a test program being executed once taki

2017-06-16 07:27:19 -0500 marked best answer USB Sensors mess with each other, ROS Ubuntu Mate

Hi,

Im working with an autonomous sailboat with a raspberry pi 3 that uses these sensors:

Gill Ultrasonic Windsensor

MTi-G xsesnsor (gyro and gps data)

Im having an issue related to the c++ program that connects my software to the wind sensor. The problem is that the wind sensor will connect to usb1 staticly (using serial) in which it will be pure luck that this is the correct usb as it is dynamically assigned when inserted. The xsensor on the other hand will find itself with the driver I got from ROS git rep. Problem occurs when the wind sensor driver will try to use the same USBx as the xsens driver, resulting in the xsens crashing.

Is there a way to physically assign say, USB0 to always be the bottom right usb on the raspberry pi? and if so how?

I've tried to google this alot without any good results.

I'm using Ubuntu mate for ROS by the way.

2017-06-15 15:04:10 -0500 received badge  Popular Question (source)
2017-06-15 05:12:44 -0500 commented answer USB Sensors mess with each other, ROS Ubuntu Mate

Thank you gvdhoorn! udev is just what I was looking for. Yes, not a ROS problem at all. Just wanted to hear here first

2017-06-15 03:33:31 -0500 asked a question USB Sensors mess with each other, ROS Ubuntu Mate

USB Sensors mess with each other, ROS Ubuntu Mate Hi, Im working with an autonomous sailboat with a raspberry pi 3 that

2017-06-15 03:32:07 -0500 asked a question USB sensor crash another, RbPi3

USB sensor crash another, RbPi3 Hi, Im working with an autonomous sailboat with a raspberry pi 3 that uses these sensor

2017-03-23 17:53:42 -0500 commented answer catkin_make -j2

Thanks, that makes a lot of sense now!

2017-03-23 17:53:04 -0500 received badge  Supporter (source)
2017-03-23 17:53:02 -0500 received badge  Scholar (source)
2017-03-23 15:27:19 -0500 asked a question Catkin_make -j2

Hi,

A fellow and I are working on an Autonomous boat project, and while building catkin folders, we struggled with normal use of catkin_make. Tutorials referred to the option -j2 as argument. What does this actually do? we are using a raspberry pi 3b with ubuntu mate.

Thanks - Andreas

2017-03-23 15:27:19 -0500 asked a question catkin_make -j2

Hi,

Me and a fellow student is working on an Autonomous boat project, and while building catkin folders, we struggled with normal use of catkin_make. Tutorials referred to the option -j2 as argument. What does this actually do? we are using a raspberry pi 3b with ubuntu mate.

Thanks - Andreas