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

albarranco's profile - activity

2016-10-26 02:27:14 -0500 received badge  Student (source)
2016-09-25 13:13:38 -0500 received badge  Notable Question (source)
2015-11-28 16:20:42 -0500 received badge  Popular Question (source)
2015-11-28 16:20:42 -0500 received badge  Notable Question (source)
2014-03-27 03:05:25 -0500 received badge  Famous Question (source)
2014-02-10 00:23:33 -0500 received badge  Famous Question (source)
2014-02-01 22:13:21 -0500 received badge  Notable Question (source)
2014-01-28 08:01:11 -0500 commented question problem with dependency turtlebot_node

ok,thank you very much for everything

2014-01-28 07:51:10 -0500 commented question problem with dependency turtlebot_node

okk,thanks. I only want to probe a file that makes that turtlebot turn on groovy but I don't know it (the file is for electric and subcribes to turtlebot_node)

2014-01-28 07:34:40 -0500 received badge  Popular Question (source)
2014-01-28 06:33:57 -0500 asked a question problem with dependency turtlebot_node

Hello, I'm working with Groovy on Turtlebot (create base).

How could I add the dependency turtlebot_node to my package? I have done the following:

CMakeLists.txt of my package:

cmake_minimum_required(VERSION 2.8.3)   
project(beginner_tutorials)

## Find catkin macros and libraries
## if COMPONENTS list like find_package (catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp rospy std_msgs turtlebot_node)

Package.xml of my package :

<build_depend>turtlebot_node</build_depend>
<run_depend>turtlebot_node</run_depend>

However when I execute catkin_make in my catkin_ws,I have the following error:

turtlebot@turtlebot:~$ cd ~/catkin_ws/

turtlebot@turtlebot:~/catkin_ws$ catkin_make

Base path: /home/turtlebot/catkin_ws

Source space: /home/turtlebot/catkin_ws/src

Build space: /home/turtlebot/catkin_ws/build

Devel space: /home/turtlebot/catkin_ws/devel

Install space: /home/turtlebot/catkin_ws/install

#### #### Running command: "make cmake_check_build_system" in "/home/turtlebot/catkin_ws /build" ####

-- Using CATKIN_DEVEL_PREFIX: /home/turtlebot/catkin_ws/devel

-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy

-- This workspace overlays: /opt/ros/groovy

-- Found gtest sources under '/usr/src/gtest': gtests will be built

-- Using CATKIN_TEST_RESULTS_DIR: /home/turtlebot/catkin_ws/build/test_results

-- catkin 0.5.65

-- BUILD_SHARED_LIBS is on

-- ~~ traversing 1 packages in topological order: -- ~~ - beginner_tutorials

-- +++ processing catkin package: 'beginner_tutorials'

-- ==> add_subdirectory(beginner_tutorials)

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):

Could not find a configuration file for package turtlebot_node.

Set turtlebot_node_DIR to the directory containing a CMake configuration file for turtlebot_node. The file will have one of the following names:

turtlebot_nodeConfig.cmake
turtlebot_node-config.cmake

Call Stack (most recent call first): prueba/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred! make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

Can anyone help me please? I have no idea what is wrong with it.

I would appreciate any feedback.

Thanks in advance.

2014-01-21 06:16:20 -0500 received badge  Popular Question (source)
2013-12-10 11:55:30 -0500 received badge  Notable Question (source)
2013-11-22 07:20:44 -0500 received badge  Popular Question (source)
2013-11-11 04:19:27 -0500 asked a question error executing minimal.launch: Create : robot not connected yet, sci not available

Hello,

when I execute roslaunch turtlebot_bringup minimal.launch I get the following warning:

turtlebot@turtlebot:~$ sudo service turtlebot status

turtlebot stop/waiting

turtlebot@turtlebot:~$ roslaunch turtlebot_bringup minimal.launch

... logging to /home/turtlebot/.ros/log/fc655c5c-4709-11e3-b5a3-94dbc938ebd4/roslaunch-turtlebot-18937.log

Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt

Done checking log file disk usage. Usage is <1GB.

started roslaunch server //192.168.187.116:54204/

SUMMARY

PARAMETERS

  • /app_manager/interface_master
  • /cmd_vel_mux/yaml_cfg_file
  • /diagnostic_aggregator/analyzers/digital_io/path
  • /diagnostic_aggregator/analyzers/digital_io/startswith
  • /diagnostic_aggregator/analyzers/digital_io/timeout
  • /diagnostic_aggregator/analyzers/digital_io/type
  • /diagnostic_aggregator/analyzers/mode/path
  • /diagnostic_aggregator/analyzers/mode/startswith
  • /diagnostic_aggregator/analyzers/mode/timeout
  • /diagnostic_aggregator/analyzers/mode/type
  • /diagnostic_aggregator/analyzers/nodes/contains
  • /diagnostic_aggregator/analyzers/nodes/path
  • /diagnostic_aggregator/analyzers/nodes/timeout
  • /diagnostic_aggregator/analyzers/nodes/type
  • /diagnostic_aggregator/analyzers/power/path
  • /diagnostic_aggregator/analyzers/power/startswith
  • /diagnostic_aggregator/analyzers/power/timeout
  • /diagnostic_aggregator/analyzers/power/type
  • /diagnostic_aggregator/analyzers/sensors/path
  • /diagnostic_aggregator/analyzers/sensors/startswith
  • /diagnostic_aggregator/analyzers/sensors/timeout
  • /diagnostic_aggregator/analyzers/sensors/type
  • /diagnostic_aggregator/base_path
  • /diagnostic_aggregator/pub_rate
  • /robot/name
  • /robot/type
  • /robot_description
  • /robot_pose_ekf/freq
  • /robot_pose_ekf/imu_used
  • /robot_pose_ekf/odom_used
  • /robot_pose_ekf/output_frame
  • /robot_pose_ekf/publish_tf
  • /robot_pose_ekf/sensor_timeout
  • /robot_pose_ekf/vo_used
  • /robot_state_publisher/publish_frequency
  • /rosdistro
  • /rosversion
  • /turtlebot_laptop_battery/acpi_path
  • /turtlebot_node/bonus
  • /turtlebot_node/port
  • /turtlebot_node/update_rate
  • /use_sim_time
  • /zeroconf/zeroconf_avahi/services

NODES

/zeroconf/ zeroconf_avahi (zeroconf_avahi/zeroconf) /

app_manager (turtlebot_app_manager/app_manager)
appmaster (turtlebot_app_manager/appmaster)
cmd_vel_mux (nodelet/nodelet)
diagnostic_aggregator (diagnostic_aggregator/aggregator_node)
kinect_breaker_enabler (create_node/kinect_breaker_enabler.py)
mobile_base_nodelet_manager (nodelet/nodelet)
robot_pose_ekf (robot_pose_ekf/robot_pose_ekf)
robot_state_publisher (robot_state_publisher/robot_state_publisher)
turtlebot_laptop_battery (linux_hardware/laptop_battery.py)
turtlebot_node (create_node/turtlebot_node.py)

auto-starting new master process[master]: started with pid [18955] ROS_MASTER_URI=//192.168.187.116:11311

setting /run_id to fc655c5c-4709-11e3-b5a3-94dbc938ebd4

process[rosout-1]: started with pid [18968]

started core service [/rosout]

process[zeroconf/zeroconf_avahi-2]: started with pid [18981]

process[robot_state_publisher-3]: started with pid [19003]

process[diagnostic_aggregator-4]: started with pid [19022]

process[turtlebot_node-5]: started with pid [19042]

process[kinect_breaker_enabler-6]: started with pid [19106]

process[robot_pose_ekf-7]: started with pid [19107]

process[mobile_base_nodelet_manager-8]: started with pid [19147]

process[cmd_vel_mux-9]: started with pid [19167]

process[turtlebot_laptop_battery-10]: started with pid [19207]

process[appmaster-11]: started with pid [19225]

process[app_manager-12]: started with pid [19237]

[WARN] [WallTime: 1383759408.626836] Create : robot not connected yet, sci not available

[WARN] [WallTime: 1383759411.647325] Create : robot not connected yet, sci not available

[kinect_breaker_enabler-6] process has finished cleanly

log file: /home/turtlebot/.ros/log/fc655c5c-4709-11e3-b5a3-94dbc938ebd4/kinect_breaker_enabler-6*.log

I execute turtlebot_dashboard.launch and all is ok,but when I try to probe the executable "gira.cpp", the turtlebot doesn't move. This is the executable gira.cpp:

#include "ros/ros.h"
#include "geometry_msgs/Twist.h"
int main(int argc, char **argv) { ros::init(argc, argv, "gira");

    ros::NodeHandle n;

    ros::Publisher vel_pub_=n.advertise<geometry_msgs::Twist>("cmd_vel", 1);   

    geometry_msgs::Twist vel;

    ros::Rate loop_rate(10);   

    while (ros::ok())   
    {
      vel.linear.x = 0.1;   
          vel.angular.z = 0.3;   

      vel_pub_.publish(vel);

          loop_rate.sleep();
    }

    return 0;

}

I also check that /cmd_vel changes its value:

rostopic echo /cmd_vel

and the output is:

linear

x:0.1

y:

z:

angular

x

y

z:0.3

does anyone know that I'm doing wrong or that I can review?

(I'm working with groovy on turtlebot 1 ... (more)

2013-10-18 06:07:18 -0500 asked a question error: couldn't find the executable "gira"

Hello, I run the following commands in my terminal to create the executable "gira":

mkdir -p ~/catkin_ws/src

cd ~/catkin_ws/src

catkin_init_workspace

cd ~/catkin_ws

catkin_make

source devel/setup.bash

cd ~/catkin_ws/src

catkin_create_pkg beginner_tutorials geometry_msgs image_transport nav_msgs roscpp sensor_msgs std_msgs

I copy gira.cpp in beginner_tutorials/src and I add to CMakeList.txt:

add_executable(gira src/gira.cpp) and target_link_libraries(gira ${catkin_LIBRARIES})

cd ~/catkin_ws

catkin_make

source devel/setup.bash

my ROS_PACKAGE_PATH is: /home/turtlebot/catkin_ws/src/beginner_tutorials:/opt/ros/groovy/share:/opt/ros/groovy/stacks

rosrun beginner_tutorials gira

And does not find the executable, what am I doing wrong? Thanks for help

2013-10-18 05:49:15 -0500 commented answer error: "invoking make failed"

Solved, I forgot to add target_link_libraries (gira $ {catkin_LIBRARIES}) to CMakeList.txt. Thanks

2013-10-18 05:45:28 -0500 commented question error: could not find a configuration file for package turtlebot_node

No, I deleted turtlebot_node dependency because I do not use

2013-10-18 05:42:32 -0500 received badge  Notable Question (source)
2013-10-07 05:02:50 -0500 received badge  Popular Question (source)
2013-09-24 00:48:57 -0500 received badge  Famous Question (source)
2013-07-23 05:09:51 -0500 asked a question error: could not find a configuration file for package turtlebot_node

when I execute catkin_make in my catkin_ws,I have the following error:

turtlebot@turtlebot:~$ cd ~/catkin_ws/

turtlebot@turtlebot:~/catkin_ws$ catkin_make

Base path: /home/turtlebot/catkin_ws

Source space: /home/turtlebot/catkin_ws/src

Build space: /home/turtlebot/catkin_ws/build

Devel space: /home/turtlebot/catkin_ws/devel

Install space: /home/turtlebot/catkin_ws/install

#### #### Running command: "make cmake_check_build_system" in "/home/turtlebot/catkin_ws /build" ####

-- Using CATKIN_DEVEL_PREFIX: /home/turtlebot/catkin_ws/devel

-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy

-- This workspace overlays: /opt/ros/groovy

-- Found gtest sources under '/usr/src/gtest': gtests will be built

-- Using CATKIN_TEST_RESULTS_DIR: /home/turtlebot/catkin_ws/build/test_results

-- catkin 0.5.65

-- BUILD_SHARED_LIBS is on

-- ~~ traversing 1 packages in topological order: -- ~~ - prueba

-- +++ processing catkin package: 'prueba'

-- ==> add_subdirectory(prueba)

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):

Could not find a configuration file for package turtlebot_node.

Set turtlebot_node_DIR to the directory containing a CMake configuration file for turtlebot_node. The file will have one of the following names:

turtlebot_nodeConfig.cmake
turtlebot_node-config.cmake

Call Stack (most recent call first): prueba/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred! make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

anyone know to fix it?thanks you for your help

2013-07-18 22:30:50 -0500 received badge  Notable Question (source)
2013-07-16 03:20:27 -0500 received badge  Popular Question (source)
2013-07-16 00:47:40 -0500 commented answer error: "invoking make failed"

I've only added to CMakeLists.txt add_executable(gira src/gira.cpp). Do I have to change something else in the CMakeLists.txt or package.xml?

2013-07-15 23:46:20 -0500 received badge  Editor (source)
2013-07-15 23:11:46 -0500 asked a question error: "invoking make failed"

hello, when I run catkin_make I get the following errors:

Scanning dependencies of target gira
[100%] Building CXX object prueba/CMakeFiles/gira.dir/src/gira.cpp.o
Linking CXX executable /home/turtlebot/catkin_ws/devel/lib/proyecto/gira
CMakeFiles/gira.dir/src/gira.cpp.o: In function `main':
gira.cpp:(.text+0x55): undefined reference to `ros::init(int&, char**, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
gira.cpp:(.text+0xa5): undefined reference to `ros::NodeHandle::NodeHandle...

any idea what could be the mistake? thanks

the executable gira.cpp:

#include "ros/ros.h"   
#include "geometry_msgs/Twist.h"  

int main(int argc, char **argv)
{

ros::init(argc, argv, "gira");   

    ros::NodeHandle n;

    ros::Publisher vel_pub_=n.advertise<geometry_msgs::Twist>("cmd_vel", 1);   

    geometry_msgs::Twist vel;

    ros::Rate loop_rate(10);   

    while (ros::ok())   
    {
        vel.linear.x = 0.1;   //velocidad de avance
        vel.angular.z = 0.3;   //velocidad de giro

        vel_pub_.publish(vel);

        loop_rate.sleep();
    }

    return 0;
}

the CMakeLists.txt (catkin specific configuration and built) :

cmake_minimum_required(VERSION 2.8.3) project(prueba)

find_package(catkin REQUIRED COMPONENTS geometry_msgs image_transport nav_msgs roscpp sensor_msgs std_msgs )

catkin_package( INCLUDE_DIRS include # LIBRARIES prueba # CATKIN_DEPENDS geometry_msgs image_transport nav_msgs roscpp sensor_msgs std_msgs turtlebot_node # DEPENDS system_lib ) ## Specify additional locations of header files ## Your package locations should be listed before other locations include_directories(include ${catkin_INCLUDE_DIRS} )

## Declare a cpp library # add_library(prueba # src/${PROJECT_NAME}/prueba.cpp # )

## Declare a cpp executable # add_executable(prueba_node src/prueba_node.cpp) add_executable(gira src/gira.cpp)

## Add cmake target dependencies of the executable/library ## as an example, message headers may need to be generated before nodes # add_dependencies(prueba_node prueba_generate_messages_cpp)

## Specify libraries to link a library or executable target against # target_link_libraries(prueba_node # ${catkin_LIBRARIES} # )

2013-07-09 00:12:57 -0500 commented answer ROS Groovy and Create based TurtleBot dashboard

I have the same problem, this is my .bashrc, any suggestions? export ROS_MASTER_URI=http://192.168.187.116:11311 export ROS_HOSTNAME=192.168.187.116 export TURTLEBOT_BASE=create export TURTLEBOT_STACKS=circles export TURTLEBOT_3D_SENSOR=kinect source /opt/ros/groovy/setup.bash

2013-07-09 00:06:54 -0500 asked a question how to fix errors in diagnosis turtlebot dashboard

hello, I have the following error and can not find the way to solve:

/input ports : Stale /kobuki :Stale /Sensors : Stale

any ideas? Thank you very much for your help

2013-07-08 07:24:38 -0500 received badge  Supporter (source)
2013-07-08 01:25:07 -0500 asked a question how to fix the dashboard diagnostic errors?

I run the dashboard and I get the following errors:

/ kobuki: Stale / input ports: Stale / sensors: Stale

I can not put the full mode turtlebot due to these errors. Any suggestions? (the communication between the workstation and the PC turtlebot working properly)

thank you very much for your help