Periodically updated
alias sai='sudo apt install -y'
alias saud='sudo apt update'
alias saug='sudo apt upgrade -y'
alias sauu='sudo apt update && sudo apt upgrade -y'
alias sbr='source ~/.bashrc'
alias ebr='vi ~/.bashrc'
alias eba='vi ~/.bash_aliases'
alias _='sudo'
alias g='git'
alias gc='git clone --recursive'
alias rbt='sudo reboot'
alias pwof='sudo poweroff'
alias make='make -j10'
alias photoedit='flatpak run org.gimp.GIMP//stable'
alias display_normal='xrandr --output eDP-1 --rotate normal --mode 1920x1080 --rate 60'
##ROS##
alias cm='catkin_make -j8'
alias cw='cd ~/capstone_ws'
alias tw='cd ~/tr_ws'
alias cs='cd src'
alias sds='source devel/setup.bash'
alias bagplay='rosbag play --clock --pause -k'
alias find_src='rosdep install --from-paths src --ignore-src --rosdistro noetic -y'
alias save_grid='rosrun map_server map_saver'
alias save_pcd='rosrun pcl_ros pointcloud_to_pcd'
#RTABMAP#
alias rtabmap_d455='cd ~/capstone_ws/ && source devel/setup.bash && rospack find realsense2_camera && roslaunch realsense2_camera d455_rtabmap.launch'
alias rtabmap_imu='rospack find imu_filter_madgwick && rosrun imu_filter_madgwick imu_filter_node _use_mag:=false _publish_tf:=false _world_frame:="enu" /imu/data_raw:=/camera/imu /imu/data:=/rtabmap/imu'
alias rtabmap_mapping='cd ~/capstone_ws/ && source devel/setup.bash && rospack find rtabmap_ros && roslaunch rtabmap_ros rtabmap.launch'
alias rtabmap_localization='cd ~/capstone_ws/ && source devel/setup.bash && rospack find rtabmap_ros && roslaunch rtabmap_ros rtabmap_localization.launch'
alias rt_cm='catkin_make -j4 -DRTABMAP_SYNC_MULTI_RGBD=ON -DRTABMAP_SYNC_USER_DATA=ON -DCATKIN_MAKE_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release'
alias rt_lp='rosservice call /rtabmap/detect_more_loop_closures "{cluster_radius_max: 10.0, cluster_radius_min: 0.0, cluster_angle: 60.0, iterations: 10, intra_only: false, inter_only: false}"'
alias rt_ps='rosservice call /rtabmap/pause'
alias rt_ba='rosservice call /rtabmap/global_bundle_adjustment "{type: 0, iterations: 50, pixel_variance: 1.0, voc_matches: false}"'