Servo control arduino
I want to control a servo attached to arduino by subscribing to /joint_states topic so that when the change the slider position the servo moves accordingly. I tried with the following code but the...
View ArticleArduino rosserial - Unable to sync with device
When I try to use the 'Hello World' program with rosserial and arduino after restarting my pc. The code works fine, however once i stop the serial communication and try to rerun the same code. I get...
View ArticleROS Nodemcu Arduino compilation issue?
Hey guys , i am trying to run this https://github.com/agnunez/espros I got an error like this when i tried to compile , 'class ArduinoHardware' has no member named 'setConnection'...
View ArticleUnable to sync with device; possible link problem or link software version...
I am running ros kinetic and my rosserial works fine for all programs except one( in which i get above error). I have tried all the techniques suggested but even then it doesnt work.( baudrate is fine...
View ArticleArduino subscriber not responding to Rosserial message
What would stop a subscriber on a Arduino, running rosserial, from responding to a message? I have a subscriber on my Arduino defined as: void on_pan_angle_set(const std_msgs::Int16& msg) {...
View Articlepublish error
i am doing a project of robot dicking station. This program is for three infrared receivers and three infrared emitters, i don't know why it happened. Could anybody help me ? #include #include #include...
View ArticleNot able to use frame_id from rosserial arduino in rviz
I am publishing a LaserScan Message from a teensy3.2 to a Raspberry Pi 3 running Kinetic, the scan is published via USB and received by the Pi Node. When attempting to visualize just the scan in RViz...
View ArticleArduino 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...
View ArticleQuestions about spinOnce() and link problem with Arduino Due
Hi, I'm trying to build communication between my PC (ubuntu 16.04) and Arduino Due. I follow [rosserial tutorial](http://wiki.ros.org/rosserial_arduino/Tutorials) and run the "helloworld" example,...
View Articlerosserial problem displaying linear_acceleration values from IMU
I have written a code for Arduino to connect with rosserial and publish on ros. However, it displays all the values correctly except linear_acceleration. I have changed the baud rate, call function...
View ArticlePublishing to a topic from Arduino in a class
Hello All, I have to publish status messages (boolean) from an Arduino board using rosserial. I am able to do it when I make them independently, but facing problem, when I am putting the publisher in a...
View ArticleArduino rosserial not updating (not in-sync) with ROS movements
Hello, I am trying to make a 3 link robot arm (with 3 steppers) move in a single plane. I am facing some problems when interfacing it with my Arduino Uno. The robot -arm moves, but sometimes it goes...
View ArticleSending arrays (LaserScan msg) in rosserial
Hi, I'm trying to send data from a temperature sensor using the intensities array within a LaserScan message (this will then be manipulated within ROS further. using laserScan does make sense later...
View ArticleUnable to sync with device rosserial_python
i got this error [ERROR] [1544705194.347108]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
View ArticleRoslocate 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 this:...
View ArticleUnable to subscribe to string topic using rosserial arduino nano
I am working with arduino nano to subscribe to a topic which reads keystrokes(Raspberry pi ubuntu mate melodic) and publishes into onto the topic.I am trying subscribe to the topic on an arduino which...
View ArticlePublishing odometry with rosserial
Hello, i am working with an Arduino Mega and a RPI using the rosserial, and i have a couple of doubts. I am working with a differential robot and i am using the Arduino for controlling the motors (i...
View ArticleHow to calculate the force created by the servo motor using the...
I'm using a servo motor to build a braking system inside the bicycle and I want to measure the braking force that will be delivered by the servo motor to the wheels in order to control the braking...
View ArticleHow to integrate rosserial_arduino in an existing sketch?
I made code in just arduino. but i wanna change it to rosserial_arduino code. but i don't know how to do..... #include SoftwareSerial hc06(10,11); //Tx, Rx int total_state = 0; int switch_on = 0; int...
View Article