0
$\begingroup$

Rosanswers logo

Hey guys am really new into coding and we have a huge project coming for one of my courses and we are supposed to use ROS to code a turtlebot3. Am really not sure how to start coding, for example, I don't even know how to create a file for coding and launch that code. Is there any guide that I can look at? I have tried multiple videos but they don't explain really well.


Originally posted by Jaykumar on ROS Answers with karma: 11 on 2019-01-31

Post score: 1


Original comments

Comment by jayess on 2019-01-31:
I'd say, first work on learning to program and using Linux and once you're comfortable with that then you should start working with ROS. If you try to do it all at once you're going to have a really hard time.

Comment by Jaykumar on 2019-01-31:
Yea i worked on some tutorials posted on the turtlebot3 website and i got SLAM and stuff working

Comment by jayess on 2019-02-01:
That's great. But, if you're new to programming then you're going to have a lot of trouble (I've seen it many times both here and IRL). So, look for good resources for the programming language that you're going to use (e.g., Python, C++) and for Ubuntu/Linux. Then learning ROS will be easier.

Comment by jayess on 2019-02-01:\

I have tried multiple videos but they don't explain really well.

What videos? What don't you understand? Being specific goes a long way.

Comment by Jaykumar on 2019-02-01:
I took a course on C++ a while back but we mainly used to analyze the codes and see what they did, for videos I was looking for how to make a package and try to launch the package and if I can modify existing packages. Also how to use codes that are already on Github.

Comment by jayess on 2019-02-01:
Then you should definitely check out the tutorials on the wiki that @JAWDAY linked to in their answer for text-based tutorials (they're the only "official" tutorials that I'm aware of). As for videos, I can't vouch for any.

Comment by Jaykumar on 2019-02-01:
Will do, Thanks for your help. My prof told me the ROS forums are pretty active and a great community.

$\endgroup$

2 Answers 2

1
$\begingroup$

Rosanswers logo

Like most people, I recommend starting with the tutorials http://wiki.ros.org/ROS/Tutorials Go through all of them, then google "turtlebot3 gazebo" and look at simulating your TurtleBot, will be much easier for development. Then, using what you learnt from the tutorials, try and create some sort of subscriber and publisher that works with the simulation. From there you will have a good foundation.

Unless you want to pay for tutorials, you can then just keep googling issues, find other peoples ROS repos on GitHub, etc, to help you get a better understanding.


Originally posted by JAWDAY with karma: 43 on 2019-01-31

This answer was NOT ACCEPTED on the original site

Post score: 3


Original comments

Comment by Jaykumar on 2019-01-31:
This helps, Thanks

$\endgroup$
0
$\begingroup$

Rosanswers logo

I suppose you want to have certain knowledge where you are able to understand and code some basic actions and control for your robot such that it meets your requirement for the time being as you have to get something built up quickly for your project, later to which you could build up on the basics you would have gathered.

Being specific to Turtlebot 3, you can try the ROS development studio and its tutorials which give you a fair idea to get started with (coding and code manipulation) dealing with basic movement to creating launch files and nodes quickly.

Also, there are many tutorials from The Construct concerning ROS dev studio that give a clear idea to how it's done. Meanwhile, you could refer this which is pretty good enough compared to bulky ROS books. Besides, instead of paying for tutorials, the same are available on Youtube.

On the other hand, with this material you can petty much decide which would suit your feasibility such as using Python or C++ in ROS.


Originally posted by spiritninja with karma: 48 on 2019-02-01

This answer was NOT ACCEPTED on the original site

Post score: 1


Original comments

Comment by Jaykumar on 2019-02-01:
Yea I think its great idea to run simulations before you actually use the Bot. Thanks for the help

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.