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

Amrello's profile - activity

2020-09-28 07:28:07 -0500 received badge  Famous Question (source)
2020-09-28 07:28:07 -0500 received badge  Notable Question (source)
2020-05-28 12:15:22 -0500 received badge  Student (source)
2019-11-13 17:21:48 -0500 received badge  Popular Question (source)
2019-11-07 02:17:40 -0500 commented question Compilation problem with CMake

I removed some unnecassary comments, but the error log is really not informative.

2019-11-07 02:14:41 -0500 edited question Compilation problem with CMake

Compilation problem with CMake Hi there! I am just trying to compile some sources using CMake, but I get error: make[2]

2019-11-06 07:34:24 -0500 asked a question Compilation problem with CMake

Compilation problem with CMake Hi there! I am just trying to compile some sources using CMake, but I get error: CMakeFi

2019-10-16 21:23:53 -0500 received badge  Famous Question (source)
2019-10-10 10:19:50 -0500 edited question QtCreator + ROS error: expected ‘:’ before ‘slots’

QtCreator + ROS error: expected ‘:’ before ‘slots’ I am trying to use QtCreator to compile project from tutorial (https:

2019-10-10 10:19:14 -0500 commented question QtCreator + ROS error: expected ‘:’ before ‘slots’

Sorry, I mistakenly added this tag. I use ROS melodic.

2019-10-09 19:48:24 -0500 received badge  Notable Question (source)
2019-10-09 19:48:24 -0500 received badge  Popular Question (source)
2019-07-07 04:28:57 -0500 asked a question QtCreator + ROS error: expected ‘:’ before ‘slots’

QtCreator + ROS error: expected ‘:’ before ‘slots’ I am trying to use QtCreator to compile project from tutorial (https:

2019-07-04 08:55:37 -0500 received badge  Famous Question (source)
2019-07-04 08:55:37 -0500 received badge  Notable Question (source)
2019-04-08 01:11:09 -0500 received badge  Famous Question (source)
2019-04-08 01:06:30 -0500 marked best answer Launching ROS on startup

So I have oneboard computer with Ubuntu server andI want to start my nodes after startup automatically. So I tried to to add roslauch comand to rc.local and its not worked, than I find robot upstart package ( http://wiki.ros.org/robot_upstartand ) and roscore starts automatically, but not my nodes. Can anyone help me with this problem ?

2018-12-31 16:04:38 -0500 received badge  Notable Question (source)
2018-12-31 13:49:33 -0500 edited answer Compilling library using catkin

Find answer http://nano.lichee.pro/application/littlevgl.html#cmake As I thought, I had to register paths to all files

2018-12-31 13:46:16 -0500 answered a question Compilling library using catkin

Find answer http://nano.lichee.pro/application/littlevgl.html#cmake As I thought, I had to register paths to all files

2018-12-31 12:31:57 -0500 received badge  Popular Question (source)
2018-12-31 09:16:55 -0500 edited question Compilling library using catkin

Compilling library using catkin I am new at ROS. I want to use this library (https://github.com/littlevgl/lvgl) in my pr

2018-12-31 09:01:27 -0500 asked a question Compilling library using catkin

Compilling library using catkin I am new at ROS. I want to use this library (https://github.com/littlevgl/lvgl) in my pr

2018-09-14 17:35:32 -0500 marked best answer New msg for arduino

HI everybody, I'm studying ROS, and I have a problem. I want to add my message to Arduino sketch, I successfully compiled the Arduino sketch in catkin workspace, but when I tried to add my meessage header file I obtain error: "NO such file or catalog" (massage successfully compiled in "devel/include/..."). Can anyone help me add a message ?

Error:

[ 91%] Building CXX object CMakeFiles/hello.dir/chatter.cpp.obj
/home/amrello/catkin_ws/src/arduino/firmware/chatter.cpp:4:27: fatal error: arduino/data1.h: No such file or catalog
 #include <arduino/data1.h>

compilation terminated.

chatter.cpp (simplest publisher):

 #include <ros.h>
 #include <std_msgs/String.h>

 #include <arduino/data1.h>

 #include <Arduino.h>

 ros::NodeHandle nh;

 std_msgs::String str_msg;
 ros::Publisher chatter("chatter", &str_msg);

 char hello[13] = "hello world!";

 void setup()
 {
   nh.initNode();
   nh.advertise(chatter);
 }

 void loop()
 {
   str_msg.data = hello;
   chatter.publish( &str_msg );
   nh.spinOnce();
   delay(1000);
 }

CMakeLists.txt (in src ):

cmake_minimum_required(VERSION 2.8.3)

include_directories(${ROS_LIB_DIR})

# Remove this if using an Arduino without native USB (eg, other than Leonardo)
#add_definitions(-DUSB_CON)

generate_arduino_firmware(hello
   SRCS chatter.cpp ${ROS_LIB_DIR}/time.cpp ${ROS_LIB_DIR}/time.cpp
   BOARD mega2560
   PORT /dev/ttyACM0
 )

CMakeLists.txt:

cmake_minimum_required(VERSION 2.8.3)
project(arduino)

find_package(catkin REQUIRED COMPONENTS
  rosserial_arduino
  rosserial_client
  roscpp
  std_msgs
  message_generation

)
add_message_files(
        FILES
        data1.msg
)
 generate_messages(
   DEPENDENCIES
   std_msgs

 )

catkin_package(
CATKIN_DEPENDS message_runtime
)

include_directories(include
  ${catkin_INCLUDE_DIRS}
)
rosserial_generate_ros_lib(
  PACKAGE rosserial_arduino
  SCRIPT make_libraries.py
)

rosserial_configure_client(
  DIRECTORY firmware
  TOOLCHAIN_FILE ${ROSSERIAL_ARDUINO_TOOLCHAIN}
)

rosserial_add_client_target(firmware hello ALL)
rosserial_add_client_target(firmware hello-upload)
2018-02-11 20:25:47 -0500 received badge  Notable Question (source)
2018-02-09 11:21:44 -0500 received badge  Famous Question (source)
2018-01-11 04:33:54 -0500 received badge  Notable Question (source)
2018-01-11 02:58:05 -0500 answered a question Launching ROS on startup

I solved this problem. In my node I use serial communication with microcontroller so node can't open serial port and cru

2018-01-11 02:46:31 -0500 commented question Launching ROS on startup

Thanks for advice

2018-01-11 01:21:38 -0500 received badge  Popular Question (source)
2018-01-10 10:10:15 -0500 asked a question Launching ROS on startup

Launching ROS on startup So I have oneboard computer with Ubuntu server andI want to start my nodes after startup automa

2018-01-03 11:17:08 -0500 received badge  Supporter (source)
2018-01-03 11:16:50 -0500 commented answer Compilation problem with WiringOP library

Already compilled 2 days ago, but thanks

2018-01-03 11:13:29 -0500 marked best answer Compilation problem with WiringOP library

Hello everyone, I have a question. How to add dependencies for package. For example, when I compilling program that used WiringOP library:

g++ progname.cpp  -lwiringPi -lpthread

So, question is how to add this dependencies in catkin workspace.

2018-01-03 11:13:29 -0500 received badge  Scholar (source)
2018-01-03 10:38:14 -0500 received badge  Popular Question (source)
2017-12-31 01:31:57 -0500 asked a question Compilation problem with WiringOP library

Compilation problem with WiringOP library Hello everyone, I have a question. How to add dependencies for package. For e

2017-11-26 03:52:26 -0500 received badge  Enthusiast
2017-11-19 10:53:01 -0500 received badge  Famous Question (source)
2017-11-15 23:19:44 -0500 commented question New msg for arduino

From this tutorial http://wiki.ros.org/rosserial_arduino/Tutorials/CMake

2017-11-15 10:17:20 -0500 received badge  Notable Question (source)
2017-11-15 10:11:30 -0500 edited question New msg for arduino

New msg for arduino HI everybody, I'm studying ROS, and I have a problem. I want to add my message to Arduino sketch, I

2017-11-15 10:05:14 -0500 received badge  Editor (source)
2017-11-15 10:05:14 -0500 edited question New msg for arduino

New msg for arduino HI everybody, I'm studying ROS, and I have a problem. I want to add my message to Arduino sketch, I

2017-11-15 10:00:44 -0500 edited question New msg for arduino

New msg for arduino HI everybody, I'm studying ROS, and I have a problem. I want to add my message to Arduino sketch, I

2017-11-15 09:39:29 -0500 received badge  Popular Question (source)
2017-11-15 09:37:27 -0500 answered a question New msg for arduino

2017-11-15 09:36:41 -0500 commented answer New msg for arduino

I mean that I can compile sketch from catkin workspace, but dont know how to add custom message, when i tried to add msg

2017-11-15 09:09:31 -0500 marked best answer rxtools not installed

Hello everyone, I'm taking the first steps in ROS studing, and i have a question. I installed ROS kinetic and it works fine, but when I call any comand from rxtools package, I get a message that the comand not found, what could be the problem?