Ask Your Question
0

How best to write base driver for turtlebot variant with a custum hardware base?

asked 2014-03-19 09:04:49 -0600

billtecteacher gravatar image

updated 2014-03-20 10:11:28 -0600

Hi

I am developing a turtlebot variant that does not use an existing turtlebot base. I want to write a driver for it, but am unsure of turtlebot architecture. It seems like the code is tied to the create base or even more so to the kubuki base. I would like to keep base code contained to a single node and new_base_driver.py. Is the turtlebot node the central point used to communicate with the base driver code? Is there a generic base driver module I should work off of? What do you think would be the best way to proceed?

The base will be non-holonomic in one configuration and holonomic in another. In short it can spin about it's center point but also go backwards to pull and push a cart that can be attached to it to carry instruments, sensors, etc.

edit retag flag offensive close merge delete

Comments

Any comments welcome perhaps this is not the way to create your own base?

billtecteacher gravatar imagebilltecteacher ( 2014-03-19 09:57:41 -0600 )edit

It would be a good idea to put your question in the text instead of the title.

dornhege gravatar imagedornhege ( 2014-03-20 04:27:09 -0600 )edit

Is your base very similar to the create, especially on the driver/connection level? (i.e. not only that it looks similar)

dornhege gravatar imagedornhege ( 2014-03-20 04:27:40 -0600 )edit

This particular base works somewhat like create except can go backwards without turning around. Would like to have students build a wide variety of bases with different kinematics of there own design. So want to write the driver so it can be easily adapted by students for there own design. So really would prefer not to use the connect for newer base interface. But did not want to have to re-write a major part of turtlebot just to use a custum base and also want to stay as compatible with turtlebot as possible.

billtecteacher gravatar imagebilltecteacher ( 2014-03-20 10:22:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-03-20 10:40:47 -0600

tfoote gravatar image

You will probably want to write the controller from scratch.

The create driver spends most of it's complexity interacting with the Create serial interface. Your students should be able to design a simpler serial interface and write a few dozen lines of python to translate from the cmd_vel topic to the motor commands and publish the odometry in the same way as the create_driver does.

edit flag offensive delete link more

Comments

Thankyou!!!!

billtecteacher gravatar imagebilltecteacher ( 2014-03-21 01:19:34 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-03-19 09:04:49 -0600

Seen: 208 times

Last updated: Mar 20 '14