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

JoaoPedro's profile - activity

2022-09-19 17:45:22 -0500 marked best answer How do I recover ros root setup.bash?

Hello,

I accidentally deleted the setup.bash and all other root files from "/opt/ros/noetic/".

Is there any way to recover that without reinstalling the ROS?

2022-09-19 17:44:53 -0500 received badge  Famous Question (source)
2022-09-19 17:44:53 -0500 received badge  Notable Question (source)
2021-07-14 12:45:58 -0500 received badge  Popular Question (source)
2021-07-14 08:12:42 -0500 commented answer How do I recover ros root setup.bash?

Thank you. This approach correctly restores the files. However, once I didn't have the file anymore, figuring out that

2021-07-14 06:46:05 -0500 received badge  Famous Question (source)
2021-07-14 05:39:03 -0500 edited question How recover deleted root setup.bash?

How recover deleted root setup.bash? Hello, I accidentally deleted the setup.bash and all other root files from "/opt/r

2021-07-14 05:37:53 -0500 commented question How recover deleted root setup.bash?

@Ranjit did you close my post and relink to my own post? Please reopen that.

2021-07-14 04:55:10 -0500 asked a question How recover deleted root setup.bash?

How recover deleted root setup.bash? Hello, I accidentally deleted the setup.bash and all other root files from "/opt/r

2021-07-14 04:53:17 -0500 asked a question How do I recover ros root setup.bash?

How do I recover ros root setup.bash? Hello, I accidentally deleted the setup.bash and all other root files from "/opt/

2020-05-01 01:52:37 -0500 received badge  Famous Question (source)
2018-12-21 13:25:09 -0500 received badge  Famous Question (source)
2017-10-16 17:36:39 -0500 marked best answer Best Motion Capture System to work with ROS

My laboratory is looking for a motion capture system (mocap) to buy, like Optitrack, Vicon and Qualisys.

There are a lot of questions about which equipment is better. As I am working with ROS, I would like to know which motion capture system is best integrated with the newer frameworks (Indigo, Jade, Kinetic ...). In addition, I would like to have some opnions about the ROS users experiences with the different mocaps systens.

2017-08-04 10:41:12 -0500 received badge  Famous Question (source)
2017-07-13 13:39:34 -0500 received badge  Notable Question (source)
2017-07-10 12:33:09 -0500 received badge  Notable Question (source)
2017-07-03 12:13:52 -0500 received badge  Popular Question (source)
2017-06-29 13:57:19 -0500 asked a question Best Motion Capture System to work with ROS

Best Motion Capture System to work with ROS My laboratory is looking for a motion capture system (mocap) to buy, like Op

2017-06-02 09:43:23 -0500 received badge  Famous Question (source)
2017-06-02 09:43:23 -0500 received badge  Notable Question (source)
2016-12-07 21:10:24 -0500 received badge  Popular Question (source)
2016-12-03 07:15:33 -0500 received badge  Scholar (source)
2016-12-03 07:15:29 -0500 received badge  Supporter (source)
2016-12-03 07:15:20 -0500 answered a question Path to dynamic libraries in ROS root system

Thank you for the help gvdhoorn . Now I understand the package manager. These commands solved my problem.

2016-11-30 16:38:55 -0500 asked a question Path to dynamic libraries in ROS root system

I have two problems that I need some help:

First: find the PATH of dynamical libraries setup by ROS packages in the root of the system. For example, I have the gazebo_ros_pkgs package, which was setup by:

sudo apt-get install ros-indigo-gazebo7-ros-pkgs

and I want to find the location of the follow library:

libgazebo_ros_camera.so

Second: find the PATH of dynamical libraries setup by GAZEBO with the command:

sudo apt-get install libgazebo6-dev.

2016-09-05 19:52:01 -0500 received badge  Popular Question (source)
2016-06-16 15:54:56 -0500 received badge  Notable Question (source)
2016-06-16 15:52:48 -0500 asked a question Ar_track_alvar bundle with differents markers size

Hi everyone,

I am working with ar_track_alvar package. I would like to use the node "findMarkerBundlesNoKinect" to detect multiple bundles, but in each bundle the master tag's size is different from the others. Is it possible?

The bundle it's similar the image bellow. The master tag is the beggest on the center.

image description

Another issue is that I tried to modify the marker_size, max_new_marker_error and max_track_error parameters in the bundle launch file, but it didn't affect nothing. So, what is necessary to these parameters work?

2016-04-13 10:29:28 -0500 received badge  Famous Question (source)
2015-07-16 13:21:06 -0500 received badge  Notable Question (source)
2015-07-16 12:25:24 -0500 commented question ar_track_alvar pose not returned

it has been edited with the version of the ar_track_alvar

2015-07-16 11:33:57 -0500 received badge  Popular Question (source)
2015-07-15 16:36:20 -0500 asked a question ar_track_alvar pose not returned

Hello folks,

I am tring to use the AR_TRACK_ALVAR (version 0.5.1) on my Indigo version with Ubuntu 14.04.1 64 bits.

I already have used this package on Fuerte and it works perfectly. However, I have experienced some drawbacks on Indigo version.

I get it on git repository and compile, and these steps goes ok.

When I show the markers, the node (individualMarkersNoKinect) identifies the tagIDs, but the package can't estimate its positions and orientations (it present only zeros).

I'm using the usb_cam package as I did on Fuerte.

I already look my TF Tree and saw that everything probably runs OK, as in the image:

image description

I did calibration of the camera adjusting the KDRP parameters and I had succesful on this step.

This is the launch file that I have used.

<launch>

<!--node pkg="rviz" type="rviz" name="rviz" args="-d $(find ar_track_alvar)/launch/configRVIZalvar.vcg"/-->

<!--node pkg="tf" type="static_transform_publisher" name="mav_to_camera" output="screen" args="0 0 0 0.785398163 0 0 mav camera 10" /-->

<node name="usb_cam" pkg="usb_cam" type="usb_cam_node" respawn="false" output="log">
            <param name="video_device" type="string" value="/dev/video0"/>
            <param name="camera_frame_id" type="string" value="usb_cam"/>
            <param name="io_method" type="string" value="mmap"/>
            <param name="image_width" type="int" value="640"/>
            <param name="image_height" type="int" value="480"/>
            <param name="pixel_format" type="string" value="yuyv"/>
    <param name="autofocus" type="bool" value="true"/>
            <rosparam param="D">[0.04159391916702457, -0.12163937082225258, -0.004713340469508146, -0.004730416919270597, 0.0]</rosparam>

            <rosparam param="K">[608.5325779623342, 0.0, 320.5441970917403, 0.0, 604.9140000188461, 226.22581167824686, 0.0, 0.0, 1.0]</rosparam>
            <rosparam param="R">[1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]</rosparam>
            <rosparam param="P">[609.3626098632812, 0.0, 317.55791508550465, 0.0, 0.0, 606.815673828125, 224.0848441260896, 0.0, 0.0, 0.0, 1.0, 0.0]</rosparam> 

</node>

<arg name="marker_size" default="4.4" />
<arg name="max_new_marker_error" default="0.08" />
<arg name="max_track_error" default="0.2" />
<arg name="cam_image_topic" default="/usb_cam/image_raw" />
<arg name="cam_info_topic" default="/usb_cam/camera_info" />    
<arg name="output_frame" default="usb_cam" />


<node name="ar_track_alvar" pkg="ar_track_alvar" type="individualMarkersNoKinect" respawn="false" output="screen" args="$(arg marker_size) $(arg max_new_marker_error) $(arg max_track_error) $(arg cam_image_topic) $(arg cam_info_topic) $(arg output_frame)"/>
</launch>

By this description, can you tell what is going wrong or what am I missing?

Thank you.

2015-06-22 01:22:34 -0500 marked best answer Please I need help with that CMakeList

I'm trying to use a cnny_vision at my fuerte.But I can't build a executable named ar_single.

I can't find any problem with my CMakeList, but someone could find any error with that?

    cmake_minimum_required(VERSION 2.4.6) include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
    # Set the build type.  Options are:
    #  Coverage       : w/ debug symbols, w/o optimization, w/ code-coverage
    #  Debug          : w/ debug symbols, w/o optimization
    #  Release        : w/o debug symbols, w/ optimization
    #  RelWithDebInfo : w/ debug symbols, w/ optimization
    #  MinSizeRel     : w/o debug symbols, w/ optimization, stripped binaries
    #set(ROS_BUILD_TYPE RelWithDebInfo) set(ROS_BUILD_TYPE Debug) rosbuild_init()
    #set the default path for built executables to the "bin" directory set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
    #set the default path for built libraries to the "lib" directory set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
    #uncomment if you have defined messages rosbuild_genmsg()
    #uncomment if you have defined services
    #rosbuild_gensrv()
    #common commands for building c++ executables and libraries
    #rosbuild_add_library(${PROJECT_NAME} src/example.cpp)
    #target_link_libraries(${PROJECT_NAME} another_library)
    #rosbuild_add_boost_directories()
    #rosbuild_link_boost(${PROJECT_NAME} thread)
    #rosbuild_add_executable(example examples/example.cpp)
    #target_link_libraries(example ${PROJECT_NAME})
 include_directories('/usr/local/include/') 
 link_directories('/usr/local/lib/')

 set(ARPOSESINGLE       ar_single) 
 set(ARPOSESINGLE_SRC   src/ar_single.cpp) 
set(ARPOSESINGLE_LIBS  GLU GL glut ARgsub AR ARMulti ARvideo) 
set(ARPOSEMULTI       ar_multi) 
set(ARPOSEMULTI_SRC   src/ar_multi.cpp src/object.cpp) set(ARPOSEMULTI_LIBS  GLU GL glut ARgsub AR ARMulti ARvideo)
 rosbuild_add_executable(${ARPOSESINGLE} ${ARPOSESINGLE_SRC})
 target_link_libraries(${ARPOSESINGLE}  ${ARPOSESINGLE_LIBS})
 rosbuild_add_executable(${ARPOSEMULTI} ${ARPOSEMULTI_SRC}) 
 target_link_libraries(${ARPOSEMULTI}  ${ARPOSEMULTI_LIBS})
2015-04-21 07:15:17 -0500 received badge  Popular Question (source)
2015-04-21 07:15:17 -0500 received badge  Notable Question (source)
2015-02-27 08:00:01 -0500 received badge  Student (source)
2014-10-25 22:42:03 -0500 marked best answer There is a way that I could run $ roscore and don't record log datas?

There is a way that I could run $ roscore and don't record log datas?

Or, record a specific size of data and delete de older ones?

2014-10-25 22:41:00 -0500 received badge  Popular Question (source)
2014-09-26 17:20:41 -0500 received badge  Famous Question (source)