Skip to main content

Questions tagged [rosserial-arduino]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
16 views

Problems with serial connection on Wemos-S2 mini board using the Arduino rosserial library

I'm kinda new to both ROS and asking for solutions in forums, as usually there has always been someone with my same problem who got a solution before me, so please be patient if i'm not thorough ...
J0J0-D1-D10's user avatar
0 votes
0 answers
36 views

I get error: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

I am trying to run a .launch file, while my STM32 Bluepill is loaded from the Arduino IDE. First I though the issue would be due to packages. I already had the <...
Marc Foster's user avatar
0 votes
0 answers
49 views

Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python | Problem using interrupt

I have the following Arduino code that reads motor encoder data on Arduino interrupt pin2 and pin3 and publishes encoder ticks ...
Mubashir's user avatar
1 vote
0 answers
27 views

Issue with /cmd_vel Twist msg and Arduino

I have a laptop with ubuntu 20 and ROS noetic connected to an Arduino using rosserial_arduino. The blink example from the ROS library works fine. But I fail to set up a subscriber on my Arduino that ...
Elias's user avatar
  • 11
0 votes
1 answer
49 views

Getting data from RPLidar A1 package to Arduino using rosserial

We have an Arduino Uno board connected to raspberry pi 4 in which the RPLidar A1 is connected. The problem is we are trying to subscribe from the /scan topic to get the data from each ranges from 0 to ...
EDRIEL SANTOS's user avatar
0 votes
0 answers
13 views

unable to use rosrun with arduino

rosrun rosserial_ Usage: rosrun [--prefix cmd] [--debug] PACKAGE EXECUTABLE [ARGS] rosrun will locate PACKAGE and try to find an executable named EXECUTABLE in the PACKAGE tree. If it finds it, it ...
Monk's user avatar
  • 1
0 votes
0 answers
156 views

GPS integration to ROS via Arduino

Please I have some problems with this. I am a beginner. I want to send GPS data from a GPS connected via arduino to ROS. My code arduino is as below: ...
Temilolorun Aiyelari's user avatar
0 votes
0 answers
114 views

rosserial_python is not working

I am using rosserial for my project. I run roscore fine but when I input: rosrun rosserial_python serial_node.py /dev/ttyACM0: Nothing happens, not even an error message. Also, the terminal seems like ...
Abdelrahman Abdelgawad's user avatar
0 votes
1 answer
66 views

rosserial_client make_libraries: unable to build message

I am trying to create a custom message for ROS noetic and implement it in a rosserial_arduino node. To do that, I first created my workspace: mkdir neopixel_ws ...
loromalo's user avatar
0 votes
1 answer
27 views

geometry_msgs/Vector3Stamped

hello,i saw in a public code that they uesd a Vector3Stamped to Publish function for odometry like this ...
user avatar
0 votes
1 answer
18 views

Rosserial deserialization error when receiving Serial2

I'm very close to getting my robot project working the way I had hope. A summary of the structure is that I have a Raspberry Pi 2 connected to 2 Arduino MEGAs: 1 for motor control and sensor ...
user avatar
0 votes
1 answer
5 views

rosserial_arduino catkin_make error: unparsed argument: Port;/dev/ttyACM0

I am trying to get the rosserial_arduino tutorial to work (tutorial here). The only change I made was to change the board type from "leonardo" to "OpenCR" since I want to use the ...
user avatar
0 votes
1 answer
87 views

Unable to sync with device - Arduino Nano rosserial

Hello. I am trying to use rosserial to communicate between a Jetson Nano 2GB and Arduino Nano. Here is my error: ...
user avatar
0 votes
1 answer
55 views

rosserial stops working when trying to use software serial on arduino?

Hello everyone, I am running ROS melodic on ubuntu 18.04 and I have encountered a problem for which I couldn't find any info , or I didn't know how to look for it (which could be possible! ) and I ...
user avatar
0 votes
1 answer
3 views

Unable to operate servo with rosserial_arduino

I'm using ros kinetic on ubuntu 16.04. I'm able to perform the hello world code from rosserial tutorials http://wiki.ros.org/rosserial_arduino/Tutorials/Hello%20World However not being able to operate ...
user avatar
0 votes
1 answer
39 views

arduino robot arm with moveit

Hello, I recently bought a 6 dof robot arm (7 servos), the servos have no feedback I have built a somewhat accurate urdf (difficult since i measured it) and i plan to control the arm with rosserial ...
user avatar
0 votes
1 answer
80 views

building a custom hardware interface for MoveIt

Hello, I struggle building a hardware Interface for my custom build 6-axis robot. I've already build everything for the robot, so there is a topic published, containing all the measured angles from ...
user avatar
0 votes
2 answers
16 views

How to control turtlesim by a publisher data sent by arduino rosserial

I'm noob in ROS, and i used this aduino code to send Float64 data to ros ...
user avatar
0 votes
1 answer
51 views

rosserial_arduino Integer Printing

How do you get integers to print under node handler.loginfo or any of the other .() <---Various logging types? I'm trying to have my subscriber post the data that I have in my subscriber servo_cb ...
user avatar
0 votes
1 answer
11 views

uint8[] field in message definition is empty when i echo the topic

Hi everybody i'm currently using an arduino board (MKR WAN 1300) as a ROS node, In the arduino sketch i'm using a custom message type named "RosInfo" and i want him to publish this type of ...
user avatar
0 votes
1 answer
42 views

[SOLVED] Arduino ethernet communication with ROS

Hi ! I'm looking from a package to communicate btw arduino and ROS kinetic (on jetson) with an arduino ethernet module. I need to send msg / srv from arduino to the jetson. Tim Update: I found a file ...
user avatar
0 votes
1 answer
6 views

Error with service server for Arduino

Hi folks, I am trying to build a service server on an Arduino UNO using ROS. I am running ROS Kinetic on Ubuntu 16.04. I am currently stuck with the following problem and I do not know how to solve it....
user avatar
0 votes
1 answer
13 views

[solved] How to publish multiple messages from single topic?

hai, I have a problem in my code. i have to publish multiple messages from single topic, to display 2 voltages which is data type of Float64. ...
user avatar
0 votes
1 answer
5 views

Issue with Rosserial Custom Message

I am using ROS Kinetic on Ubuntu 16.04. I've been trying to get a custom message type to work over rosserial_arduino for some time now. I have properly generated the C++ message headers in the package....
user avatar
0 votes
1 answer
3 views

How to use a Arduino Due in a CMake-based package using rosserial-arduino?

I prefer using the CMake-based approach for packages using rosserial-arduino as not requiring the Arduino IDE has quite a few advantages. For the older Arduino boards, specifying the board type is as ...
Stefan Kohlbrecher's user avatar
0 votes
2 answers
2 views

Subscribing to message and re-publishing only specific part, real time?

Hi everyone, I am currently working on sending the information from /joint_states to an Arduino, however the information in my message is too large to be sent, even after increasing the buffer. My ...
user avatar
0 votes
2 answers
19 views

Publishing String from Terminal?

Is there any problem in my code? i just want, if i publish "q" Blue LED glow. Red for "a" and blink for "z" . i use rostopic pub /servo std_msgs/String "data: 'z'&...
user avatar
0 votes
1 answer
16 views

Keyboard Teleop settings

I write a program in arduino. i want to do the same with ros-keyboard_teleop. can sombody guide me ?any tutorial link. ...
user avatar
0 votes
1 answer
12 views

Publish LaserScan from Arduino

Hello, I am using an arduino Mega to publish LaserScan message. But I have a weird result, when i run this code: ...
user avatar
0 votes
1 answer
12 views

unable to integrate MPU6050 with ros

I am trying to get yaw pitch roll from an MPU6050 imu using the following code(some parts of code removed for clarity). Its getting uploaded ...
user avatar
0 votes
2 answers
13 views

[solved]:-How to publish negative values from command line?

When i try this command.i got an error like this.How can i publish negative values from command line ? ...
user avatar
0 votes
2 answers
27 views

Differential Drive calculation

Thanks in advance for you help guys. I've been fiddling with ROS for quite a few months now and I have a good basic understanding of how to advertise and subscribe to nodes, I even built a speech ...
user avatar
0 votes
1 answer
109 views

control stepper motors with an arduino via ROS

Hello, I have a robotic Arm composed of stepper motors Nema 23 with encoders. I'm using an arduino Mega to control it. I want to build my arm with ROS. This arm will be used to grasp objects through ...
user avatar
0 votes
1 answer
1 view

hi am using Arduino Mega with LIDAR Lite V3 to create a map but it get restaring after some time

` ...
user avatar
0 votes
1 answer
3 views

Why would rosserial_python fail when it connect to arduino?

Hi! I running in 14.04 indigo, I need a hand to fix this problem : I followed the tutorial of arduino in ros , try to create a publisher but it failed ...
user avatar
0 votes
1 answer
4 views

How to communicate an arduino code with ROS?

Hi , I want to commicate this arduino code with ROS. How can I do this ? Please help me ? ...
user avatar
0 votes
1 answer
2 views

Rosserial arduino connection error

Hello everyone, I am currently trying to connect my arduino due to my pc in order to run my ROS package I wrote, which shall communicate with the arduino. I can compile and upload my program via the ...
user avatar
0 votes
1 answer
29 views

rosserial - Arduino DUE - sync issues

I am trying to get an Arduino DUE to work with ROS Kinetic on my machine running Ubuntu 16.04 (using the DUE programming port, although I've tried the native one too). I seem to be having issues ...
user avatar
0 votes
1 answer
2 views

Rosserial connection doesn't work due to signal

Hi all, I have an arduino MEGA and I want to communicate via rosserial with my ros node. Somewhere in my arduino code I have the following line. ...
user avatar
0 votes
1 answer
1 view

How to configure communication with arduino

Hi, I'm trying to configure the communication using rosserial to arduino and to install everything. I followed this tutorial http://wiki.ros.org/rosserial_arduino/Tutorials/Arduino%20IDE%20Setup and ...
user avatar
0 votes
1 answer
3 views

Why "#include <string>" doesn't work on rosserial?

Hi, I work with ROS and Arduino and I want to include some libraries like #include <string> or #include <vector> to ...
user avatar
0 votes
1 answer
10 views

"Lost sync with device, restarting" - Controlling arms and head on a robot

Hi all! We're currently working on a project involving a Meccanoid G15KS robot. We've implemented facial detection using a Kinect Camera, and are using an arduino to control the arms and head. The ...
user avatar
0 votes
1 answer
86 views

Subscribe cmd_vel with Arduino

Hello, I would want to send PWM signal with an arduino in order to control motors. But, as a beginner, I am not exactly sure of what to do. I need first to publish "cmd_vel". Then I need to ...
user avatar
0 votes
1 answer
8 views

Best way to publish 3 coordinates (array, mat, vector...)?

Hi, Since several days, I try to publish 3 coordinates to rosserial. Currently the only way I found, it's to publish this coordinates (x,y,z) in 3 differents topics. I would like to publish 1 vector/...
user avatar
0 votes
1 answer
5 views

Can rosserial set parameters?

The rosserial parameter documentation shows getting parameters from the parameter server, but not setting parameters. Is there a way to set parameters from rosserial? I'm guessing not, since the ...
user avatar
0 votes
1 answer
24 views

rosserial communication too slow and not fixed

Hardware: Odroid XU4 and arduino Uno that communicate over the serial port using rosserial. I'm testing the serial communication that seems to be very slow and variable. Custom message sent: ...
user avatar
0 votes
1 answer
14 views

Detecting host timeout in rosserial_arduino

How do you detect on the Arduino's end when the host has stopped responding with rosserial_arduino? I'd like to implement a safety feature where if the host crashes or otherwise becomes unresponsive, ...
user avatar
0 votes
1 answer
8 views

How to publish a message from a rosserial_arduino subscriber

How do you make a subscriber in a rosserial_arduino node that can publish a message? I'm trying to make a node that listens for a "force_sensors" message, and in response, publishes sensor ...
user avatar
0 votes
1 answer
16 views

How to name a rosserial_arduino node?

How do you give a name to a rosserial_arduino node? There are several good examples, but none of them specify a name, resulting in the published topics and listeners appearing in the root namespace. ...
user avatar
0 votes
1 answer
6 views

Error while running rosserial on bluetooth

I have connected HC-05 to Arduino mega and initialized the bluetooth connection through port rfcomm0. I had uploaded the code to arduino and When i try running rosserial node to subscribe the message ...
user avatar