- Install ROS packages
- QtCreator
- Atom
- ChatGPT from terminal
- Troubleshooting with Sharework cell
- Useful stuff
- Guides and tutorials
Installation of the JRL-CARI Workspace can be done in a single workspace or a multiple workspaces. The second saves you times during compilation.
see here
see here
see here
see here
see here
see here
Cannot connect to the UR10e robot:
- can you ping the robot (ping 192.168.10.1)?
- if yes, can you login to the robot (ssh root@192.168.10.1 pwd:easybot)?
- if yes, did you open the firewall ports? sudo ufw allow 50001/tcp AND sudo ufw allow 50002/tcp
- clean all the deleted packages
catkin clean --orphans
In the CMAKE File add these flags
add_compile_options(-std=c++14 -funroll-loops -Ofast)
set(CMAKE_BUILD_TYPE Release)
see here for more info.
- disable thread message in gdb:
nano ~/.gdbinit
set print thread-events off
Copy the code from these files .cpp, .h to define colored ROS_INFO_STREAM
see here
Copy these commands into your .bashrc file:
- see git branch name next to the path in the terminal. It also show the status of the branch (unstaged files, sync with remote), see here for details
force_color_prompt=yes
color_prompt=yes
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
GIT_PS1_DESCRIBE_STYLE='contains'
GIT_PS1_SHOWCOLORHINTS='y'
GIT_PS1_SHOWDIRTYSTATE='y'
GIT_PS1_SHOWSTASHSTATE='y'
GIT_PS1_SHOWUNTRACKEDFILES='y'
GIT_PS1_SHOWUPSTREAM='auto'
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;31m\]$(__git_ps1)\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ '
fi
unset color_prompt force_color_prompt
- automatic ls after cd or roscd
function cd {
builtin cd "$@" && ls -F
}
README files are Markdown files. Take a look at this cheatsheet for Markdown commands.
Modern text editors like Sublime Text and VScode allows you to preview Markdown files locally. see here
If you want your dock to look like this:
Place this in the terminal:
gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
gsettings set org.gnome.shell.extensions.dash-to-dock transparency-mode FIXED
gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 64
gsettings set org.gnome.shell.extensions.dash-to-dock unity-backlit-items true
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
- Disable "Use hardware acceleration when available" if Google Chrome won't open and freeze your PC.
Modern CMake [guide]((https://gist.github.com/mbinna/c61dbb39bca0e4fb7d1f73b0d66a4fd1) example