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

ashu's profile - activity

2020-12-26 20:57:09 -0500 received badge  Famous Question (source)
2020-11-16 03:28:45 -0500 received badge  Famous Question (source)
2020-08-30 19:53:26 -0500 received badge  Notable Question (source)
2020-08-02 19:19:53 -0500 received badge  Popular Question (source)
2020-08-01 08:24:12 -0500 received badge  Supporter (source)
2020-08-01 08:24:08 -0500 commented answer Does ros::shutdown() also stop all Async spinner threads?

Thank you for the clear explanation. This was very helpful.

2020-08-01 08:22:27 -0500 marked best answer Does ros::shutdown() also stop all Async spinner threads?

This might be a very basic question but I couldn`t find an exact answer anywhere . Does the ros::shutdown() command also stop all the Async spinner threads automatically?

I have a lot of blocking functions in my main loop so I created a custom SIGINT signal to close the node as such:

void nodeShutdown(int sig)
{
    ROS_INFO("Closing socket connection ...");
    close(client);
    close(s);
    ros::shutdown();
}

This doesnt give me a chance to call stop on the spinner. It works but I`m not sure if this is safe. If there is a better way can someone point me towards it?

2020-07-29 01:37:39 -0500 asked a question Does ros::shutdown() also stop all Async spinner threads?

Does ros::shutdown() also stop all Async spinner threads? This might be a very basic question but I couldn`t find an exa

2020-06-26 00:06:05 -0500 received badge  Famous Question (source)
2020-06-26 00:05:42 -0500 received badge  Famous Question (source)
2020-02-11 08:57:03 -0500 received badge  Notable Question (source)
2019-05-08 19:28:11 -0500 received badge  Notable Question (source)
2019-05-08 19:25:07 -0500 commented answer Cannot use command rosdep

For Melodic I believe that you can just replace the kinetic with melodic in the command and see. However, if its hector

2019-05-08 19:23:11 -0500 commented answer Cannot use command rosdep

For Melodic I believe that you can just replace the kinetic with melodic in the command and see. However, if its hector

2019-05-08 03:01:22 -0500 received badge  Teacher (source)
2019-05-08 02:23:10 -0500 answered a question Cannot use command rosdep

You say you are on Melodic but the rosdep command mentions rosdistro as kinetic. Kinetic does not support Ubuntu 18.04 B

2019-04-11 20:28:44 -0500 received badge  Popular Question (source)
2019-04-10 02:49:11 -0500 commented answer Setting up remote access on a kobuki with a Hokuyo UST-10LX laser

Thanks a lot! This was just what I needed.

2019-04-10 02:48:48 -0500 marked best answer Setting up remote access on a kobuki with a Hokuyo UST-10LX laser

I am trying to connect to a Raspberry pi with Ubuntu Mate that I use to control the Kobuki, with my laptop for remote access.

I set up the necessary static IPs and set up the necessary ROS_HOSTNAME and ROS_MASTER_URI settings.However, since my Hokuyo laser is connected using Ethernet, the Ethernet connection seems to be getting the preference and the wifi network and internet becomes unusable on the Raspberry.

Is there a way i can circumvent this? Or am I missing something other than the ROS_HOSTNAME and ROS_MASTER_URI settings on both the PCs?

2019-04-10 00:08:31 -0500 edited question Setting up remote access on a kobuki with a Hokuyo UST-10LX laser

Setting up remote access on a kobuki with a Hokuyo UST-10LX laser I am trying to connect to a Raspberry pi with Ubuntu M

2019-04-10 00:07:56 -0500 edited question Setting up remote access on a kobuki with a Hokuyo UST-10LX laser

Setting up remote access on a kobuki with a Hokuyo UST-10LX laser I am trying to connect to a Raspberry pi with Ubuntu M

2019-04-10 00:07:56 -0500 received badge  Editor (source)
2019-04-10 00:07:22 -0500 asked a question Setting up remote access on a kobuki with a Hokuyo UST-10LX laser

Setting up remote access on a kobuki with a Hokuyo UST-10LX laser I am trying to connect to a Raspberry pi with Ubuntu M

2019-04-09 01:50:54 -0500 received badge  Enthusiast
2019-04-08 21:32:06 -0500 marked best answer Not able to create a map using SLAM Mapping( Kobuki+Hokuyo UST-10LX)

Ive been trying to run the Kobuki slam package on my Kobuki using a Hokuyo UST-10LX connected over ethernet but after running the kobuki_slam package,in Rviz i keep getting map not received warning. The odometry seems to be working though when i move around using teleop.However,no map is created.

I connect the laser using the following command :

rosrun urg_node urg_node _ip_address:="192.168.0.11" scan:=base_scan

If I don`t specify the scan= base_scan parameter i keep getting [frame_id] laser does not exist error on the object of Rviz.

Here`s my rqt_graph at execution :

rqt_graph

And here is my tf_tree

tf_tree

It might not be enough info to go on, but can someone tell me where I am going wrong with this? Where I should focus on to try and fix this?

2019-04-08 21:32:06 -0500 received badge  Scholar (source)
2019-04-08 21:27:01 -0500 commented answer Not able to create a map using SLAM Mapping( Kobuki+Hokuyo UST-10LX)

Thanks.That made me realize what was wrong. The static transform was using laser and the slam algorithm was using base_s

2019-04-08 18:42:12 -0500 received badge  Popular Question (source)
2019-04-08 03:09:03 -0500 asked a question Not able to create a map using SLAM Mapping( Kobuki+Hokuyo UST-10LX)

Not able to create a map using SLAM Mapping( Kobuki+Hokuyo UST-10LX) Ive been trying to run the Kobuki slam package on m

2019-04-03 23:26:56 -0500 commented question Segmentation error with urg node

I gave up and installed a fresh copy of Ubuntu with ROS from scratch. The urg_node command was not working even without

2019-04-03 09:38:31 -0500 received badge  Notable Question (source)
2019-04-03 00:01:13 -0500 received badge  Popular Question (source)
2019-04-02 22:44:48 -0500 commented question Segmentation error with urg node

I`ve updated it but sadly thats all that its showing.

2019-04-02 22:43:05 -0500 edited question Segmentation error with urg node

Segmentation error with urg node I have been trying to connect a Hokuyo UST-10LX sensor that I`m pairing with a Kobuki u

2019-04-02 20:43:37 -0500 asked a question Segmentation error with urg node

Segmentation error with urg node I have been trying to connect a Hokuyo UST-10LX sensor that I`m pairing with a Kobuki u