What must I do to use my code on a turtlebot?
Hello,
I want to write some code for my turtlebots and I am an absolute beginner I did some of the tutorials but I haven't found anything (or my English is not good enough), that describes what I need to do if I have got an own code? What do I need to do if I have a my code, what is the next step? Are there any tutorials for that I haven't seen yet?
Thanks for your help ;-)
edit1:
Hello again,
so now I finished all the tutorials and I want to start writing my own code for the turtlebot. First thing I want do is to give it a value for the forward speed with a certain time, before I was going to start coding. I tried this:
roscore
In a new terminal ssh turtlebo@tb1 roslaunch turtlebot_bringup minimal.launch
Neither on my Laptop nor on the turtlebot this was working, the turtlebot wasn't moving at all
rostopic pub /mobile_base/commands/velocity geometry_msgs/Twist -r -- '[2.0, 0.0, 0.0]' '[0.0, 0.0, 2.0]
Where is my mistake, what did I do wrong?
edit2:
'[x, 0.0, 0.0]' '[0.0, 0.0, z]' I did solve it, I do not know why, but it works if x < 1.7
Does anybody know why?
What tutorials have you used?
Well I did the installation, follower, mapping and so on tutorials. And then I wanted to use my own code for those things, but I did not see andy tutorials, that explain how to do it or at least I haven't seen any
Ok I might have found something, I am doing the catkin tutorial, I guess that how I can use my own codes can't I?
I suggest you to learn how to program in ROS. Then you would get to know how to control turtlebot with your own code.
Thank you, that was the problem I did not know how to program in ROS. Luckily I did find it ^^
@MAKL did you really solve it? If so you could post your own answer below. Or are you still stuck?
@pitosalas this question is four years old, you're best off posting a new question. The answer to this question was "work through the catkin tutorial" but that is long since out of date.
Duh: I was just trying to close this one with an answer. He had a legit question IMO.