- 1 Preliminaries
- 2 New members
- 3 Optional steps
- 4 Software
- 5 Guidelines / options / editor preferences
Want do to robotics? The following is a list of things to do if you are new to the Human Interaction and RObotics [HIRO] Group. Please consider this as a non-exhaustive cheat sheet that is modified over time. As such, feel free to edit it if there is anything you would like to add.
For Spring 2020, we will be holding group meetings in ECST 322 on Mondays at 2 pm. Feel free to stop by if you want to have a chat!!
Prospective new members should do the following:
- Find a supervisor.
- Find a project.
- Communicate with Prof. Alessandro Roncone regarding your project.
Once you are done with these preliminary steps, follow the instructions in the next section to finalize your membership. You are expected to complete these tasks within 2 days of joining the group.
2 New members
- Create an account on our Slack.
- Share your username with your supervisor and/or point of contact.
- Ideally, install Slack on your machine as well as on your phone in order to be always up to date with what happens in the group.
- Join the #hiro-group and #hiro-github channels on Slack. Most of our internal communication happens there.
2.2 GitHub & Google Calendar
- If you don’t already have a GitHub account, create one.
- Share your username with your supervisor and/or point of contact.
- Send an email to Joewie Koh with Prof. Alessandro Roncone in Cc. Include your:
- GitHub username
- Preferred email address for Google Calendar
- Joewie will add you to our GitHub organization and Google Calendar.
- Make your membership to the GitHub organization public.
2.3 Lab agreements
- Read carefully the lab agreements. There are currently three documents available:
- Print them and be prepared to sign them at your next one-on-one meeting with Prof. Roncone. (This does not need to be done within 2 days.)
2.4 Lab access
- Write an email to Chantel Lehl with Prof. Alessandro Roncone and Joewie Koh in Cc.
- Ask to be granted access to ECST 322, ECES 116 and ECES 111. Please include the following information:
- Student ID
- Buff OneCard number
- CU login name
2.5 Group website
- Do a Pull Request [PR] on this repository to add your data to this file and a picture of you to this folder. The picture needs to be square, and not bigger than 400x400 px.
- If you’re not familiar with the PR workflow, you can refer to this guide.
2.6 Mailing list
- Subscribe to our mailing list!
- Click on the verification link sent to your email to complete your subscription.
3 Optional steps
- Ask for an invitation to our Trello team and Mendeley group from @joewie on Slack or in the #hiro-group channel. Provide your preferred email. We share and keep track of relevant papers on Mendeley, while Trello is where we coordinate work on projects.
- To access research papers off-campus, set up the CU Boulder VPN client on your machine. Alternatively, drag the following link to your bookmarks toolbar: CU Proxy. Whenever you come across a paywall, simply click on the bookmark to access the resource through the University Libraries proxy.
- If you plan to perform research with human subjects, please be aware of the policies for doing so and do the CITI training for Social Behavioral Research Investigators and Key Personnel. If your project requires IRB review, please be prepared to do so on a timely manner as submitting an IRB Protocol [and having it reviewed] takes time.
- If you need storage for data, request an account with CU Boulder Research Computing on this page. After receiving your RC account, await further instructions from RC to set up Duo two-factor authentication.
- If you are an undergraduate student joining for the summer, please subscribe to this list.
For what concerns the software, your mileage may vary. This is what you need to do if you are developing software in the HIRO group.
4.1 Install Ubuntu [16.04]
Linux (and Ubuntu) is our operating system of choice. It is not important to be a Linux expert, but you need at least to have it installed in order to be able to develop on an environment as similar as possible to the one you will use when using the Sawyer Robot (or similar ROS-based robots).
You have the following options:
- You already use Ubuntu → great! You are a true nerd. Move on to the next section
You use MacOS / Windows:
- You can install Ubuntu side by side with your main OS partition [recommended option as it is the most flexible overall and it pays off over time]
- You can use a virtual machine with Ubuntu on it
- You can use Docker containers to virtualize an Ubuntu machine on your main operating system. Our Docker containers come with ROS and our code already preinstalled! Please be aware that this is definitely the option that requires you to be an advanced terminal user. Docker containers are still under development, however.
- If you use another Linux distribution or MacOS, there is also the option to install ROS on it directly, although it is (highly) unsupported and usually there are problems. But many students were able to do so!
NOTE: the Sawyer Robot
is stuck to uses Ubuntu 16.04, so it is highly recommended to use that.
4.2 Install ROS [kinetic]
ROS is the so-called Robot Operating System. It is the core software we use to interface with the robot.
Also here, you have some specific requirements. Sawyer
is stuck to uses ROS kinetic. Here are some installation instructions:
- Installation according to Alessandro (highly recommended)
- Installation according to ROS
- Installation from sources
4.3 Learn about ROS
To have some degree of understanding of ROS, please read the following documents:
If you still need some practice, you might have a look at ROS tutorials.
4.4 Other tools
CMake is core to
ROS development and any advanced, multi-platform,
C++ based development. It is relatively easy to learn, but very difficult to master. Here are some resources that might be useful:
- CGold: The Hitchhiker’s Guide to the CMake is a very long, but complete and thorough set of tools
- The LLVM primer on CMake is useful for the language level (i.e. variables, control loops, commands), but it does not provide interesting information like explanation of
- This one is another long tutorial
- This one is a useful collection of tips and tricks
- This instead is a series of tutorials oriented towards students that I saw recently and may be useful
This is a nice article about what mess
CMakeis—and also a good way to start learning it
5 Guidelines / options / editor preferences
Here are some good things to set up before contributing to our code:
- If you are on the hunt for a versatile code/text editor, consider using Sublime text 3. Sublime is your friend!!!
- Rebase by default when doing git pull →
git config --global branch.autosetuprebase always
- Use ALWAYS tab as spaces → on Sublime text, you should add this in your preferences
- Ensure newline at the end of files → on Sublime text, you should add this in your preferences
- Trim trailing white space on save → on Sublime text, you should add this in your preferences
DO NOT commit backup files (those that end with
- Set up
4spaces as tab width.
- Be considerate in using
gitis a great tool, but it needs to be used carefully in order to maximize its effectiveness. To this end, please:
- commit frequently, push frequently
- do not create huge commits with all the files you worked on during your day because it is harder for us to review them
- use branching and pull requests to implement features/bug fixes
- Keep your code ALWAYS in a compile-able state. We don’t want our work on the Sawyer to be slowed down by some partial feature that is broken (which is fine) but then breaks all the compilations on the machine
Please be aware that, although the suggestions above are only guidelines, they will are strictly enforced in our code, as they set the minimum bar to have fruitful and effective collaborations.