Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [rosserial]

The tag has no usage guidance.

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

rosserial_mbed breaks SPI communication

Hi, I'm working on a project on the Gapuino development board using Mbed OS. In my implementation I need to sample data from an SPI device (ADS1299) at a constant rate of 250Hz and without any data ...
user avatar
0 votes
2 answers
34 views

How can i send a message from ROS to arduino using rosserial?

I want LED 13 on my Arduino Uno board to glow when I pass the number 100 as command line argument from ROS. Here is my arduino code: ...
user avatar
0 votes
0 answers
23 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
40 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
0 votes
0 answers
16 views

Setting logging for rosserial app from ros command line

My arduino code is using rosserial's loginfo and friends for logging output. I want to control the level from the ROS command line and have it apply dynamically to what is happening on the arduino. ...
pitosalas's user avatar
  • 465
0 votes
0 answers
12 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
110 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
0 answers
55 views

ROS custom msg to be used in an ESP32 microcontroller using Platformio

I'm trying to publish an array of quaternions to a single topic on ROS noetic. For that I created a new message type following the tutorial: ...
Heisenberg's user avatar
0 votes
0 answers
77 views

how to actually use the micro ROS messages in a ROS2 node

I have successfully created micro ROS firmware with a subscriber. the subscriber subscribes to topic /joint_angles of type servo2040_uros__msg__JointAngles. Now, how do I include this message type in ...
Max 's user avatar
  • 1
0 votes
1 answer
51 views

Rosserial missing subscribed messages

I'm making a humanoid robot kid size and ros noetic to control several dynamixel MX28-AT. I have a code to receive angles calculated in the high level using rosserial to connect with teensy4.0 at ...
Lucas Ólives's user avatar
0 votes
1 answer
63 views

serial vs ros-noetic-rosserial

What is the different between these two serial packages? official ros: https://github.com/ros-drivers/rosserial wjwwood: https://github.com/wjwwood/serial Why is the one from wjwwood so popular? ...
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
23 views

Rosserial Publish method

Hi, I am using rosserial packge for the external sensors. When I dig into the tutorial, I found that there are two types of publishing. publish raw data std_msg (...
user avatar
0 votes
1 answer
10 views

ROS Serial Arduino "Hello World" Error

Just getting rosserial setup after a few days of issues. When trying to run the Hello World example (code below) I error out (also below). Any help would be great! ...
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
7 views

Simultaneous rosserial_arduino publisher and subscriber at different rates?

Hello everyone, Thank yuo for taking the time to read and answer my question. I am fairly new to both ROS and arduino so please pardon me if my question is simplistic. I am trying to make a ROS robot ...
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
11 views

std_msgs::string compare in a callback cpp node

Hi all, I'm trying to create a node with rosserial on Arduino. It should publish some sensor information and acts when I publish a command through a command topic. I wrote a cpp node with a callback ...
Iftahnaf's user avatar
0 votes
1 answer
64 views

Unable to sync Arduino Mega and RP4 using rosserial

Hello! I know there has been many people posting about this issue, but I have tried all of the solutions I have seen so far and I am still unable to establish the connection. Here is the error message ...
user avatar
0 votes
1 answer
33 views

can ros communicate between different versions via WIFI?

Hi, Can two different versions of ros1 communicate between two different distributions or do all computers have to be the same? Example between melodic on Raspberry PI (arm) and Noetic on Ubuntu (...
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
6 answers
52 views

Rosserial Arduino Compilation Error: No <CSTRING>

Hi, I am using Ubuntu 20.04 and ROS Noetic. I followed the rosserial tutorial arduino setup page but I cannot compile the ros_lib HelloWorld example in Arduino. It gives me the following error. I am ...
user avatar
0 votes
1 answer
93 views

Cannot find rosserial_python serial_node.py

I installed rosserial_python using the following commands: $ sudo apt-get install ros-melodic-rosserial-arduino $ sudo apt-get install ros-melodic-rosserial Sourced the setup.bash file. And I get the ...
user avatar
0 votes
1 answer
26 views

Rosserial arduino - wrong checksum and mismatched protocol errors

Hi everyone. My arduino uno is publishing std_msgs/Int16 messages over two topics, one for each wheels encoder ticks. It connects to rosserial on a raspberry pi 4 and data is published just fine, but ...
user avatar
0 votes
1 answer
88 views

rosserial-python on ROS noetic

Hey all, I'm trying to download rosserial on ROS noetic by doing: sudo apt-get install ros-noetic-rosserial-python However, I always get the same output: E: Unable to locate package ros-noetic-...
user avatar
0 votes
2 answers
120 views

rosserial and arduino

Hi folks, I have just upgraded to Ubuntu 20.04 LTS, and ROS Noetic. Following the instructions in the ROS tutorials, using ROS Noetic, everything worked fine except for the tutorial about installing ...
user avatar
0 votes
1 answer
67 views

PID controller oscillations worsen when D term is increased

I am using the diff_drive_controller, pid, and rosserial_arduino packages to control my two-...
user avatar
0 votes
1 answer
10 views

How do ROS nodes in microcontrollers work?

This is a general question. As far as I know, when a microcontroller is powered, it automatically runs its main program. So when a ROS node is implemented in a microcontroller, e.g. arduino, it runs ...
user avatar
0 votes
1 answer
11 views

Unable to run simultaneous rosserial publisher and subscriber

I'm working through the rosserial_embeddedlinux tutorials: https://wiki.ros.org/rosserial_embeddedlinux Both the publisher and subscriber tutorials work as described in isolation. For the publisher: ...
user avatar
0 votes
1 answer
41 views

rosserial with 2 arduino

Hi every one. I have a problem when interfacing raspberry pi with two arduino through rosserial_python, when I connect to the second arduino after the first one succeeded,the first terminal will say : ...
user avatar
0 votes
1 answer
4 views

rosserial_client not found after installation

Hi All, I am trying to install rosserial library on ros kinetic and ros_lib for Arduino IDE. I followed link#0 instruction for rosserial manual installation. All steps finished successfully (...
user avatar
0 votes
1 answer
54 views

How can I run rosserial without errors?

Hello everyone, I'm new to ROS and I was trying to learn how to send a message from ROS to Arduino and the other way using rosserial. I am using ROS Kinetic with Ubuntu 16.04.4 . Until now I could ...
user avatar
0 votes
1 answer
94 views

ESP32 + rosserial_python over WiFi: Lost sync with device

Hi, I am trying to establish rosserial communication between ESP32 (using ESP-IDF and not Arduino framework) and host Ubuntu machine. Here is my implementation: https://github.com/sachin0x18/...
user avatar
0 votes
1 answer
17 views

ros msg definitions, difference between std_msgs/TYPE and type

Hello, What is the difference in between using std_msgs/Float32 someVariable and float32 someVariable in msg files? I noticed ...
user avatar
0 votes
1 answer
22 views

Rosserial_python on samd21

Hi, I am using a "modified" version of rosserial_arduino so that it works with samd21 chip. I can send/receive topics and services successfully using the terminal, but when I try to receive ...
user avatar
0 votes
1 answer
21 views

Arduino rosserial installation in Melodic

Hello everyone, I have a project in which I have an IMU from which I receive data with the help of an Arduino MEGA. Now I'm trying to integrate this with ROS Melodic which I have installed in Ubuntu ...
user avatar
0 votes
1 answer
8 views

rosserial and hidraw devices?

Hello, I used rosserial_python to send data from my robot to my Raspberry Pi with a Bluetooth dongle but now, I want to use a 2.4 GHz WiFi dongle. The device, when ...
user avatar
0 votes
1 answer
10 views

About rosserial_stm32 on STM32 L4 series

Excuse me, I am not fluent in English.So I use machine translation. I tried to operate STM32 L4 series using this library (https://github.com/yoneken/rosserial_stm32). I referred to here(https://www....
user avatar
0 votes
1 answer
5 views

rosserial: node_handle hardware.read()

Hi What does this line of code do (from here): int data = hardware_.read(); thx Originally posted by gab27 on ROS Answers with karma: 15 on 2019-03-05 Post score: ...
user avatar
0 votes
1 answer
2 views

How to connect ROS with my Parallax microcontroller?

Hi, I have almost no experience writing sorts of serial communication protocols. So far, I have been using rosserial but I keep running into an issue where it states [ERROR] [1550568650.647942]: Lost ...
user avatar
0 votes
1 answer
1 view

Roslocate shows wrong package version - how do I install the right one?

I've just installed ROS Kinetic from source on my Raspberry Pi (running Raspbian Stretch), and I'd like to add rosserial and rosserial_arduino. When I looked up the packages with roslocate, I got ...
user avatar
0 votes
1 answer
4 views

rosserial Publish and Subscribe to Ultrasonic Ping Range Data?

Hi, I am very new to ROS and I have a few questions as I am trying to learn it all on my own. I've read the tutorials but there are still some things I need some clarification on. I want to publish ...
user avatar
0 votes
1 answer
11 views

ABB: S4C + IRB6650: How do I visualize an ABB robot's movements in Rviz

Forgive me, I am pretty new to ROS, so please excuse any gaps in my knowledge. I have a wireless ESP8266 microcontroller reading joint_state data from an ABB robot through serial connection and it is ...
user avatar
0 votes
1 answer
11 views

std_msgs types and 'normal' type

Hi I want to display a variable on a topic. Therefore I need to transform my variable from an volatile unsigned long to an std_msgs type (for example UInt64). This gives following error: ...
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
1 view

python code can replace a command line?

anybody can help me with a crossroads that i need to solve. I have a code in python, it receives msg laserscan and transform to pcl, inside the same code need to controller a servo. it moves the ...
user avatar
0 votes
1 answer
28 views

rosserial: Permission denied

hello, I had to re-install my Ubuntu 16.04 with kinetic for some reasons. How ever, I tried to re-install all the work I've done before on the project. All the workspaces where saved in my onwcloud, ...
user avatar
0 votes
1 answer
14 views

Why does this rosserial arduino code only permits a single subscriber?

Hi, I have a simple arduino code that takes in inputs from my joystick where a button on my joystick would act as a switch ( pressing once will turn 'on' and pressing it again turns it 'off'). My code ...
user avatar
0 votes
1 answer
7 views

What is rospy.sleep for?

Really confused here. I want to delay certain publishing of messages to a topic for about 1-2 seconds. Can rospy.sleep help? My code already works fine, but I need the delay since I cannot put any ...
user avatar
0 votes
1 answer
75 views

Problems when using rosserial on Raspberry Pi (wrong checksum for msg length)

Hello everyone, I'm using an Arduino Mega 2560 (with Adafruit Motor Shield on it) and I'm trying to transfer data from it to a Rasperry Pi 3B using rosserial. However I have an error in communication ...
user avatar

1
2 3 4 5
8