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

Turtlebot with not the same model irobot

asked 2011-10-21 11:19:01 -0500

MovieMaker gravatar image

I have two turtlebots which are of the 4XXX series. I need to define the port number and the baud rate. But, I do not know how to do this. The turtlebots are built around the 5XX and the i-create. Any advice would be nice, please.

Thank You in Advance.

:-)

edit retag flag offensive close merge delete

4 Answers

Sort by » oldest newest most voted
0

answered 2011-11-07 06:54:19 -0500

mmwise gravatar image

if you look in the code you will see a call for setting the baud rate in turtlebot_driver.py... create the SCI interface with the desired baud (something like self.sci= SerialCommandInterface(tty, YOURBAUD)) which basically calls serial with the baudrate

if you would like to change the baudrate and port at a higher level change the turtlebot launch file to use the desire port and baud rate. both parameters are exposed at the node level in turtlebot_node.py

edit flag offensive delete link more
0

answered 2011-10-24 12:59:53 -0500

mmwise gravatar image

updated 2011-10-24 13:02:14 -0500

edit flag offensive delete link more

Comments

know about these items. I just need to know HOW to change the baudrate. The physical connection has been made and works with roomba status. Thank you for your reply!
MovieMaker gravatar image MovieMaker  ( 2011-11-02 06:01:15 -0500 )edit
0

answered 2011-11-02 06:00:22 -0500

MovieMaker gravatar image

I know about these items. I just need to know HOW to change the baudrate. The physical connection has been made and works with roomba status.

Thank you for your reply!

edit flag offensive delete link more

Comments

I don't understand what you mean.. if you look in the code you will see a call for setting the baud rate in turtlebot_driver.py... create the SCI interface with the desired baud (something like self.sci= SerialCommandInterface(tty, YOURBAUD)) which basically calls serial with the baudrate
mmwise gravatar image mmwise  ( 2011-11-02 07:27:24 -0500 )edit
if you would like to change the baudrate and port at a higher level change the turtlebot launch file to use the desire port and baud rate. both parameters are exposed at the node level in turtlebot_node.py
mmwise gravatar image mmwise  ( 2011-11-02 07:30:51 -0500 )edit
0

answered 2011-11-07 05:17:54 -0500

MovieMaker gravatar image

that was the answer i was waiting for. thank you.

edit flag offensive delete link more

Comments

I was FINALLY able to edit the file turtlebot_node.py. the self.sci-57K was the right baud rate. But, in order to change the file, I had to Copy it out of the OPT directory into HOME. But, after modding the file, it still seems to look at the old place and shows me USB0 as before.
MovieMaker gravatar image MovieMaker  ( 2011-11-23 14:09:16 -0500 )edit
Remember I am an Absolute NOVICE at this.
MovieMaker gravatar image MovieMaker  ( 2011-11-23 14:10:54 -0500 )edit

Question Tools

Stats

Asked: 2011-10-21 11:19:01 -0500

Seen: 554 times

Last updated: Nov 07 '11