Skip to content
Andrea Finazzi edited this page Apr 4, 2022 · 1 revision

Welcome to the nif wiki!

.bashrc aliases:

export PATH="/usr/local/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda/lib64:$LD_LIBRARY_PATH"

export PROMPT_COMMAND="__git_ps1 '"'${VIRTUAL_ENV:+($(basename "$VIRTUAL_ENV")) }'"$PRE' '$ '"
export COLCON_DEFAULTS_FILE=/usr/local/etc/colcon-defaults.yaml
export ROS_DOMAIN_ID=55
export RCUTILS_COLORIZED_OUTPUT=1

alias clion='/opt/clion/bin/clion.sh /home/usrg/nif/build/compile_commands.json &> /dev/null &'
alias cnif='. /home/usrg/nif/install/setup.bash && clion CMakeLists.txt &> /dev/null &'

alias lat_enable="ros2 param set /system_status_manager_node lat_autonomy_enabled True"
alias lat_disable="ros2 param set /system_status_manager_node lat_autonomy_enabled False"
alias lon_enable="ros2 param set /system_status_manager_node long_autonomy_enabled True"
alias lon_disable="ros2 param set /system_status_manager_node long_autonomy_enabled False"
alias auto_enable="ros2 param set /system_status_manager_node lat_autonomy_enabled True && ros2 param set /system_status_manager_node long_autonomy_enabled True"
alias auto_disable="ros2 param set /system_status_manager_node lat_autonomy_enabled False && ros2 param set /system_status_manager_node long_autonomy_enabled False"

alias comms_recover="ros2 service call /system_status_manager/recover std_srvs/srv/Trigger {}"

alias t="terminator &> /dev/null &"

. /home/usrg/nif/install/setup.bash
Clone this wiki locally