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

RicHykkie's profile - activity

2018-06-19 20:17:49 -0500 commented question Connecting ROS to Arduino Serial Port

@Prasanth Suresh Glad to hear it. Let's make a recap as an answer so that other people having the same issue get a clear

2018-06-19 20:15:19 -0500 commented question Connecting ROS to Arduino Serial Port

@Prasanth Suresh Glad to hear it. Let's make a recap as an answer so that other people having the same issue get a clear

2018-06-19 00:08:27 -0500 commented question Connecting ROS to Arduino Serial Port

Regarding what you've done, it's normal. Line 358 of SerialClient.py goes: self.port = Serial(port, baud, timeout=self.

2018-06-19 00:07:54 -0500 commented question Connecting ROS to Arduino Serial Port

This same line in my SerialClient.py is: self.port = Serial(port, baud, timeout=self.timeout*0.5) Be aware that I'm usi

2018-06-19 00:07:33 -0500 commented question Connecting ROS to Arduino Serial Port

Regarding what you've done, it's normal. Line 358 of SerialClient.py goes: self.port = Serial(port, baud, timeout=self.

2018-06-19 00:07:08 -0500 commented question Connecting ROS to Arduino Serial Port

This same line in my SerialClient.py is: self.port = Serial(port, baud, timeout=self.timeout*0.5) Be aware that I'm usin

2018-06-19 00:05:05 -0500 commented question Connecting ROS to Arduino Serial Port

Regarding what you've done, it's normal. Line 358 of SerialClient.py goes:self.port = Serial(port, baud, timeout=self.ti

2018-06-17 00:45:51 -0500 commented question Connecting ROS to Arduino Serial Port

Try adding Serial.begin(9600) This should open the serial connection with the Arduino.

2018-06-15 02:26:00 -0500 commented question Connecting ROS to Arduino Serial Port

Could you show the setup part of your code, I had a similar issue due to a bad configuration of the serial communication

2018-06-12 00:15:06 -0500 received badge  Commentator
2018-06-12 00:15:06 -0500 commented answer Problem regarding header files in Arduino

Also, regarding the Sabertooth.h and ros.h errors, the Arduino IDE is made to be launched using the icon.

2018-06-12 00:13:23 -0500 commented answer Problem regarding header files in Arduino

Okay, I understand now. Sorry for not grasping the whole problem. I also got stuck on the same issue trying to create a

2018-06-11 01:19:37 -0500 received badge  Teacher (source)
2018-06-10 23:58:25 -0500 answered a question Problem regarding header files in Arduino

Hi, It looks like it can't find the headers. Are you sure you have installed the rosserial_arduino and Sabertooth/SyRen

2018-06-03 23:29:50 -0500 received badge  Famous Question (source)
2018-06-03 21:32:42 -0500 edited answer rosserial arduino - serial port read failure

Hey, I got the same issue as you did. After many trials and errors I found the reason this was happening. This message

2018-06-03 21:25:48 -0500 answered a question rosserial arduino - serial port read failure

Hey, I got the same issue as you did. After many trials and errors I found the reason this was happening. This message

2018-05-29 00:52:23 -0500 received badge  Enthusiast
2018-05-28 02:17:25 -0500 marked best answer Arduino IDE can't find message header

Hey, I'm new to ROS and trying to have a led blink at will with my Arduino from my computer using a message, the future goal being to control several ones from my terminal. I am using ROS lunar and the rosserial_arduino package.

I wrote my publisher, subscriber and message, ran the package from a terminal to another as a test and it worked perfectly. Then I put the subscriber code in a new Arduino sketch and adapted it. However, when I try to compile it, I get the following error:

/home/eric/Arduino/blink_one_ros/blink_one_ros.ino:2:30: fatal error: blink_one/Number.h: No such file or directory
 #include <blink_one/Number.h>
                              ^

My include being as follows:

#include <ros.h>
#include <blink_one/Number.h>

I already looked into this answer and several others, but I am afraid that it would be an error from my package so I want to be sure before re-installing ROS.

I did run the often advised:

rm -rf ros_lib/
rosrun rosserial_arduino make_libraries.py <my_path>

And indeed, I can find my message header in my ros_lib/blink_one . Yet it still does not seem to be recognized.

If anyone knows a solution or has some hints, I'd appreciate it!

Thanks!

2018-05-28 02:17:25 -0500 received badge  Scholar (source)
2018-05-24 20:54:33 -0500 commented answer Arduino IDE can't find message header

Thank you for your answers. For now I will try using standard messages, but for later uses I would like to be able to c

2018-05-24 20:54:15 -0500 commented answer Arduino IDE can't find message header

Thank you for your answers. For now I will try using standard messages, but for later uses I want to be able to create

2018-05-24 20:51:27 -0500 commented answer Arduino IDE can't find message header

For now I will try using standard messages, but for later uses I want to be able to create my own, if possible.

2018-05-24 20:50:26 -0500 commented question Arduino IDE can't find message header

Yes they do.

2018-05-24 20:49:19 -0500 commented answer Arduino IDE can't find message header

@simbha Thanks for the link, I tried running rosrun rosserial_client make_library.py ~/sketchbook/libraries blink_one bu

2018-05-24 20:49:11 -0500 commented answer Arduino IDE can't find message header

@simbha Thanks for the link, I tried running rosrun rosserial_client make_library.py ~/sketchbook/libraries blink_one bu

2018-05-24 20:48:58 -0500 commented answer Arduino IDE can't find message header

@simbha Thanks for the link, I tried running rosrun rosserial_client make_library.py ~/sketchbook/libraries blink_one bu

2018-05-24 20:46:30 -0500 commented answer Arduino IDE can't find message header

@PeteBlackerThe3rd Yeah I used this tutorial to adapt my code for Arduino. The Rosserial Arduino Library does appear in

2018-05-24 20:46:26 -0500 commented answer Arduino IDE can't find message header

@PeteBlackerThe3rd Yeah I used this tutorial to adapt my code for Arduino. The Rosserial Arduino Library does appear in

2018-05-24 06:25:32 -0500 received badge  Notable Question (source)
2018-05-24 05:52:11 -0500 commented question Arduino IDE can't find message header

I created the header by first creating the .msg file, then adding the required lines in the CMakeLists as shown in the m

2018-05-24 05:38:17 -0500 received badge  Popular Question (source)
2018-05-24 05:36:05 -0500 commented question Arduino IDE can't find message header

Sorry, I slightly modified my previous answer after checking. About the use of the include, it's because I call this fun

2018-05-24 05:30:13 -0500 commented question Arduino IDE can't find message header

It should be an int16 but when I type this, I get Type: blink_one/Number

2018-05-24 05:30:01 -0500 commented question Arduino IDE can't find message header

It should be an int16 but when I type this, I get Type: blink_1/Number

2018-05-24 05:25:16 -0500 commented question Arduino IDE can't find message header

It's an int16

2018-05-24 05:03:48 -0500 commented question Arduino IDE can't find message header

I don't quite understand the question, sorry. I made it so that the publisher node running in my PC publishes a message

2018-05-24 03:03:49 -0500 asked a question Arduino IDE can't find message header

Arduino IDE can't find message header Hey, I'm new to ROS and trying to have a led blink at will with my Arduino from my

2018-05-24 02:37:32 -0500 received badge  Supporter (source)
2018-05-01 02:40:42 -0500 answered a question rospack can't find package created with catkin_create_package

Just leaving this here, but don't forget to shut down any running roscore!