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

rubanraj54's profile - activity

2017-07-29 05:36:24 -0500 edited answer first image message does not get published

I also face the same issue, when i publish the message, the subscriber always missed the first message. The reason was

2017-07-29 05:35:58 -0500 answered a question first image message does not get published

I also face the same issue, when i publish the message, the subscriber always missed the first message. The reason was

2017-05-06 06:21:51 -0500 commented answer catkin_make failure due to Python Anaconda

Thanks for the solution, It worked for me after deleting the build, devel and logs folder.

2017-03-01 07:58:43 -0500 received badge  Famous Question (source)
2017-02-14 12:28:13 -0500 received badge  Notable Question (source)
2016-11-20 12:22:31 -0500 received badge  Popular Question (source)
2016-11-19 14:56:57 -0500 asked a question Catkin build failed, Exited with code 2

Hi Guys,

I tried to uninstall ros indigo and installed the same ros indigo in my machine(ubuntu 14.04).

Before this, I was able to do "catkin build" my workspace. But now, it is throwing some errors.

I have around 12 packages in my workspace, and it shows error is on one particular package.

I could not able to upload the error screenshot due to less points, so i just copy paste the error below.

rubanraj54@Ruby:~/catkin_ws/devel$ catkin build 
---------------------------------------------------------------
Profile:                     default
Extending:          [cached] /opt/ros/indigo
Workspace:                   /home/rubanraj54/catkin_ws
---------------------------------------------------------------
Source Space:       [exists] /home/rubanraj54/catkin_ws/src
Log Space:          [exists] /home/rubanraj54/catkin_ws/logs
Build Space:        [exists] /home/rubanraj54/catkin_ws/build
Devel Space:        [exists] /home/rubanraj54/catkin_ws/devel
Install Space:      [unused] /home/rubanraj54/catkin_ws/install
DESTDIR:            [unused] None
---------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
---------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
---------------------------------------------------------------
Workspace configuration appears valid.
---------------------------------------------------------------
[build] Found '12' packages in 0.0 seconds.                                                                          
[build] Package table is up to date.                                                                                 
Starting  >>> amr_binaries                                                                                           
Starting  >>> amr_msgs                                                                                               
Starting  >>> amr_stage_worlds                                                                                       
Starting  >>> package                                                                                                
Finished  <<< amr_stage_worlds                [ 0.2 seconds ]                                                        
Finished  <<< package                         [ 0.4 seconds ]                                                        
Finished  <<< amr_binaries                    [ 0.3 seconds ]                                                        
Finished  <<< amr_msgs                        [ 1.4 seconds ]                                                        
Starting  >>> amr_srvs                                                                                               
Finished  <<< amr_srvs                        [ 0.4 seconds ]                                                        
Starting  >>> amr_perception                                                                                         
Starting  >>> amr_stage                                                                                              
Starting  >>> amr_ui                                                                                                 
Finished  <<< amr_ui                          [ 0.1 seconds ]                                                        
Finished  <<< amr_perception                  [ 15.6 seconds ]                                                       
_____________________________________________________________________________________________________________________
Errors     << amr_stage:make /home/rubanraj54/catkin_ws/logs/amr_stage/build.make.005.log                            
In file included from /home/rubanraj54/catkin_ws/src/ws16-rravic2s/amr_stage/nodes/stage.cpp:16:0:
/opt/ros/indigo/include/Stage-4.1/stage.hh:625:39: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
 #define PRINT_ERR(m) fprintf( stderr, "\033[41merr\033[0m: "m" (%s %s)\n", __FILE__, __FUNCTION__)
                                       ^
/opt/ros/indigo/include/Stage-4.1/stage.hh:626:42: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
 #define PRINT_ERR1(m,a) fprintf( stderr, "\033[41merr\033[0m: "m" (%s %s)\n", a, __FILE__, __FUNCTION__)   

CMakeFiles/stage.dir/src/base.cpp.o: In function `amr::stage::Base::publish(ros::Time)':
base.cpp:(.text+0xb69): undefined reference to `Stg::ModelPosition::GetGlobalVelocity() const'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/rubanraj54/catkin_ws/devel/.private/amr_stage/lib/amr_stage/stage] Error 1
make[1]: *** [CMakeFiles/stage.dir/all] Error 2
make: *** [all] Error 2
cd /home/rubanraj54/catkin_ws/build/amr_stage; catkin build --get-env amr_stage | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
.....................................................................................................................
Failed     << amr_stage:make                  [ Exited with code 2 ]                                                 
Failed    <<< amr_stage                       [ 20.5 seconds ]                                                       
Abandoned <<< amr                             [ Unrelated job failed ]                                               
Abandoned <<< amr_braitenberg                 [ Unrelated job failed ]                                               
Abandoned <<< amr_navigation                  [ Unrelated job failed ]                                               
Abandoned <<< amr_bugs                        [ Unrelated job failed ]                                               
[build] Summary: 7 of 12 packages succeeded.                                                                         
[build]   Ignored:   None.                                                                                           
[build]   Warnings:  None.                                                                                           
[build]   Abandoned: 4 packages were abandoned.                                                                      
[build]   Failed:    1 packages failed.                                                                              
[build] Runtime: 23.2 seconds total.
2016-11-19 10:00:56 -0500 answered a question Rosrun, node is not removed from rosnode list after exit

I also faced the same issue when I closed the turtle simulator by pressing CRTL+C from terminal, but the name of the node "/turtlesim" remains in the node list.

Then, I tried to kill the node manually by using rosnode kill command. But no use.

Finally, this command cleans up the unreachable node. "rosnode cleanup" This command remove the unreachable nodes from the ros server. Finally, the name of the node removed from the rosnode list.

link : http://wiki.ros.org/rosnode#rosnode_c...

2016-11-19 08:18:53 -0500 received badge  Supporter (source)