Unable to sync with device possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino Self.pub_diagnostics = rospy.Publisher('/diagnostics', diagnostic_) home/nmirod/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py:336: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Connecting to /dev/ttyACM1 at 57600 baud When I run the serial_node from rosserial I get the following output: rosrun rosserial_python serial_node.py _port:=/dev/ttyACM1 _baud:=57600 However, if I try to use rosserial I'm unable to make the node work. If I only use the MPU9150 library, that is, if I don't try to use resserial, I'm able to get the IMU data on the arduino and print it on the serial monitor. (I have tried a different library, in order to understand if the problem was related to this specific library, but ended up with the same problem). The IMU is the MPU9150 and I'm using an implementation of the I2Cdev library found here. However I'm unable to get the arduino node to publish information from the IMU connected to the arduino UNO. (In case it's useful: I'm running Ubuntu 14.04 on a macbook pro). I tested some of the examples and thought I had the hang of it. I have been testing the rosserial_arduino ( ) in order to run a ROS node on arduino.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |