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

Revision history [back]

click to hide/show revision 1
initial version

Hi,

Try, Changing the baud rate of the ros node which you are running. Below are the instructions

cd <catkin_ws>/src/rosserial/rosserial_python/nodes
gedit serial_node.py

here find the line where your baud is set, and try changing it to match the baud rate of your device (which you can find it in the preferences.txt in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Hi,

Try, Changing the baud rate of the ros node which you are running. Below are the instructions

cd <catkin_ws>/src/rosserial/rosserial_python/nodes
gedit serial_node.py

here find the line where your baud is set, and try changing it to match the baud rate of your device (which you can find it in the preferences.txt in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

save the file, exit and run the below command

./serial_node.py _port:=/dev/<your device usb id>

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Hi,

Try, Changing the baud rate of the ros node which you are running. Below are the instructions

cd <catkin_ws>/src/rosserial/rosserial_python/nodes
gedit serial_node.py

here find the line where your baud is set, and try changing it to match the baud rate of your device (which you can find it in the preferences.txt in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

save the file, exit and run the below command

./serial_node.py _port:=/dev/<your device usb id>

_port:=/dev/ttyACM0

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Hi,

Try, Changing the baud rate of the ros node which you are running. Below are the instructions

cd <catkin_ws>/src/rosserial/rosserial_python/nodes
gedit serial_node.py

here find the line where your baud is set, and try changing it to match the baud rate of your device (which you can find it in the preferences.txt in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

save the file, exit and run the below command

 ./serial_node.py _port:=/dev/ttyACM0

_port:=/dev/ttyACM0

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Hi,

Try, Changing the baud rate of the ros node which you are running. Below are the instructions

cd <catkin_ws>/src/rosserial/rosserial_python/nodes
gedit serial_node.py

here find the line where your baud is set, and try changing it to match the baud rate of your device (which you can find it in the preferences.txt in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

save the file, exit and run the below command

   ./serial_node.py _port:=/dev/ttyACM0

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Edit: may be this thread here helps,

Hi,

Try, Changing the baud rate of the ros node which you are running. Below are the instructions

cd <catkin_ws>/src/rosserial/rosserial_python/nodes
gedit serial_node.py

here find the line where your baud is set, and try changing it to match the baud rate of your device (which you can find it in the preferences.txt in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

save the file, exit and run the below command

   ./serial_node.py _port:=/dev/ttyACM0

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Edit: may be this thread The threads, here, helps, and here looks similar to what I encountered. Also to be noted, No changing Default params, as pointed out by the moderator.

Hi,

Try, Changing Matching the baud rate of the ros node which you are running. Below are the instructions

Edit: <Not recommended

 cd <catkin_ws>/src/rosserial/rosserial_python/nodes
 gedit serial_node.py

here find the line where your baud is is set, and try changing it to match the the baud rate of your device (which you you can find it in the preferences.txt in in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

save the file, exit

and run the below command

   ./serial_node.py _port:=/dev/ttyACM0

Edit: <Recommended

change baud rate using command line arguments ./serial_node.py _port:=/dev/ttyACM0 _baud:=9600

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Edit: The threads, here, and here looks similar to what I encountered. Also to be noted, No changing Default params, as pointed out by the moderator.

Hi,

Try, Matching the baud rate of the ros node which you are running. Below are the instructions

cd <catkin_ws>/src/rosserial/rosserial_python/nodes

Edit: <Not recommended

 cd <catkin_ws>/src/rosserial/rosserial_python/nodes
 gedit serial_node.py

here find the line where your baud is set, and try changing it to match the baud rate of your device (which you can find it in the preferences.txt in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

save the file, exit

and run the below command

   ./serial_node.py _port:=/dev/ttyACM0

Edit: <Recommended

change baud rate using command line arguments ./serial_node.py _port:=/dev/ttyACM0 _baud:=9600

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Edit: The threads, here, and here looks similar to what I encountered. Also to be noted, No changing Default params, as pointed out by the moderator.

Hi,

Try, Matching the baud rate of the ros node which you are running. Below are the instructions

cd <catkin_ws>/src/rosserial/rosserial_python/nodes

Edit: <Not recommended

  gedit serial_node.py

here find the line where your baud is set, and try changing it to match the baud rate of your device (which you can find it in the preferences.txt in your sketchbook )

baud = int(rospy.get_param('~baud','9600'))

save the file, exit

and run the below command

   ./serial_node.py _port:=/dev/ttyACM0

Edit: <Recommended

change baud rate using command line arguments ./serial_node.py _port:=/dev/ttyACM0 _baud:=9600

It does connect for a brief moment successfully and then it throws up an error for me, I'm using groovy on 12.04. Please Let me know if can find a way to stay connected for a longer time without getting disconnected. good luck.

Edit: The threads, threads, here, and , and here looks similar to what I encountered. encountered. Also to be noted, No changing Default Default params, as pointed out by the moderator.

the moderator.