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

Luka_invert's profile - activity

2017-11-28 04:04:22 -0500 received badge  Famous Question (source)
2017-10-27 08:50:33 -0500 received badge  Enthusiast
2017-06-03 06:32:22 -0500 received badge  Supporter (source)
2015-08-19 20:28:18 -0500 received badge  Notable Question (source)
2015-08-19 20:28:18 -0500 received badge  Popular Question (source)
2015-05-27 16:04:41 -0500 received badge  Student (source)
2015-05-27 09:56:13 -0500 asked a question Connection problem using XBee on Arduino with SoftPWM library

I am trying to control 4 DC motors with Flyduino-A 12 Servo Controller(SKU:DFR0136) by comunicating with XBee module. There was no problem when I compiled the program with functions like delayMilisecunds and digitalWrite. The problem was when I put the calculating of the motors voltages on the arduino controller because the delay is larger than defined. Then I found the Arduino/Wiring SoftPWM Library and implemented it in the code. When I tried to run it, the message appears:

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

I suspect the problem being in interrupt sequencing because ROS on XBee uses interrupts to refresh the variables in my code and SoftPWM library uses interrupts with timer2 to calculate the exact value on the motors at all time. Can I set the priority list on these to variables and is that even the problem here?

2015-05-27 09:24:10 -0500 received badge  Organizer (source)