Git Product home page Git Product logo

uw-advanced-robotics-lab / uwarl-robot_configs Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 1.52 MB

This repo will configure your linux, and auto-config `catkin workspace` for you across multiple hardware for synchronization and easy version controls. In addition, it provides networking and scripts to make life easier. [Reduce redundant works in setting up new PC] [Jetson Orin, Adlink, Steamdeck, PC, VM, more]

Shell 98.25% Roff 1.75%
automation catkin-tools jetson-orin linux-shell robot-configuration ros steamdeck summit-xls wam zsh

uwarl-robot_configs's People

Contributors

ajoardar007 avatar fwthree3 avatar jaku-jaku avatar simon599 avatar timvanmeijel avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jaku-jaku

uwarl-robot_configs's Issues

Custom function "build_ws"

Variable "ROS_CATKIN_WS" is pointing to "/home/arnab", when it is supposed to point to:
export ROS_CATKIN_WS="$HOME/UWARL_catkin_ws (Line 308, common.sh), and
ic_bind_cmd build_ws "cd $ROS_CATKIN_WS && catkin build -DPYTHON_EXECUTABLE=$PYTHONPATH_ROS

Error:

┌─(~/UWARL_catkin_ws)─────────────(arnab@arnab-Alienware-x17-R2:pts/0)─┐
└─(16:07:31)──> build_ws_debug                          1 ↵ ──(Mon,Nov27)─┘
[build] Error: Unable to find source space `/home/arnab/src`
┌─(~/UWARL_catkin_ws)────────────────(arnab@arnab-Alienware-x17-R2:pts/0)─┐
└─(16:08:50)──> build_ws                                1 ↵ ──(Mon,Nov27)─┘
[build] Error: Unable to find source space `/home/arnab/src`

Incorrect Workspace folder initialized

Workspace folder to be initialized:

/home/arnabx17/UWARL_catkin_ws

Workspace folder initialized:

/home/arnabx17/

Error:

[UWARL-Robot_Config]   > Sourcing  Summit Params  @ /home/arnabx17/uwarl-robot_configs/summit/summitxl_params.env 
 
[UWARL-Robot_Config]   =================================================== 
[UWARL-Robot_Config]  [ ROS |  Setting up ROS environment based on User and PC IP  ] 
[UWARL-Robot_Config]   =================================================== 
[UWARL-Robot_Config]   > PC Reg.: arnabx17 @ 192.168.5.220 
[UWARL-Robot_Config]   - NON-Robot PC User [arnabx17-Alienware-x17-R2] detected! 
[UWARL-Robot_Config]   > We have detected a registered out-of-network PC, now forcing local host for ROS_MASTER_URI ! 
[UWARL-Robot_Config]   > ROS CORE is currently hosted by [LOCAL-HOSTS]! 
[UWARL-Robot_Config]   > Copy ->  `/home/arnabx17/uwarl-robot_configs/scripts/configs/uwarl-rosconsole_{arnabx17}.config`  <---  `/home/arnabx17/uwarl-robot_configs/scripts/configs/uwarl-rosconsole.config` 
[UWARL-Robot_Config]   > Sourcing  ROS_DISTRO=noetic  @ /opt/ros/noetic/setup.zsh 
[UWARL-Robot_Config]   > Sourcing  ROS_CATKIN_WS=/home/arnabx17/UWARL_catkin_ws  @ /home/arnabx17/UWARL_catkin_ws/devel/setup.zsh 
ic_source:source:2: no such file or directory: /home/arnabx17/UWARL_catkin_ws/devel/setup.zsh
[UWARL-Robot_Config]   > Sourcing  Shortcuts  @ /home/arnabx17/uwarl-robot_configs/scripts/shortcuts.sh 
[UWARL-Robot_Config]   > Path of ROS Catkin Workspace: /home/arnabx17/UWARL_catkin_ws 

[UWARL-Robot_Config]   > Aliasing `$ kill-ros` command := ps aux  | grep -e ros | awk '{print Shortcuts}' | xargs -i -exec kill -9 {}
[UWARL-Robot_Config]   > Aliasing `$ stop_display` command := sudo systemctl stop display-manager && sudo /etc/NX/nxserver --restart
[UWARL-Robot_Config]   > Aliasing `$ start_display` command := sudo systemctl start display-manager && sudo /etc/NX/nxserver --restart
[UWARL-Robot_Config]   > Aliasing `$ cpu_stats` command := top -i
[UWARL-Robot_Config]   > Aliasing `$ commit_ws` command := source /home/arnabx17/uwarl-robot_configs/scripts/git_functions.sh && commit_ws
[UWARL-Robot_Config]   > Aliasing `$ check_ws_status` command := source /home/arnabx17/uwarl-robot_configs/scripts/git_functions.sh && check_submodule_status /home/arnabx17/UWARL_catkin_ws/src
[UWARL-Robot_Config]   > Aliasing `$ check_config_status` command := source /home/arnabx17/uwarl-robot_configs/scripts/git_functions.sh && check_submodule_status /home/arnabx17/uwarl-robot_configs
[UWARL-Robot_Config]   > Aliasing `$ check_status` command := source /home/arnabx17/uwarl-robot_configs/scripts/git_functions.sh && check_submodule_status /home/arnabx17
[UWARL-Robot_Config]   > Aliasing `$ update_ws` command := zsh /home/arnabx17/uwarl-robot_configs/scripts/auto-config_UWARL_catkin_ws.zsh
[UWARL-Robot_Config]   > Aliasing `$ git_log` command := git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[UWARL-Robot_Config]   > Aliasing `$ sync_latest` command := source /home/arnabx17/uwarl-robot_configs/scripts/git_functions.sh && sync_latest
[UWARL-Robot_Config]   > Aliasing `$ jack` command := zsh /home/arnabx17/uwarl-robot_configs/scripts/auto-config_UWARL_catkin_ws.zsh && ic_wrn " Jack has checked for you, no problem :) X_O " 
[UWARL-Robot_Config]   > Aliasing `$ build_ws` command := cd /home/arnabx17/UWARL_catkin_ws && catkin build -DPYTHON_EXECUTABLE=/usr/bin/python3
[UWARL-Robot_Config]   > Aliasing `$ source_ws` command := source /home/arnabx17/UWARL_catkin_ws/devel/setup.zsh
[UWARL-Robot_Config]   > Aliasing `$ source_zsh` command := source /home/arnabx17/.zshrc
[UWARL-Robot_Config]   > Aliasing `$ source_all` command := source /home/arnabx17/.zshrc && source /home/arnabx17/UWARL_catkin_ws/devel/setup.zsh
[UWARL-Robot_Config]   > Aliasing `$ cd_ws` command := cd /home/arnabx17/UWARL_catkin_ws/src
[UWARL-Robot_Config]   > Aliasing `$ cd_config` command := cd /home/arnabx17/uwarl-robot_configs
[UWARL-Robot_Config]   > Aliasing `$ clean_ws` command := cd /home/arnabx17/UWARL_catkin_ws/src && catkin clean
[UWARL-Robot_Config]   > Aliasing `$ cd_linux` command := cd /home/arnabx17/JX_Linux
[UWARL-Robot_Config]   > Aliasing `$ open` command := xdg-open
[UWARL-Robot_Config]   > Aliasing `$ tmux_sync` command := tmux_sync
[UWARL-Robot_Config]   > Aliasing `$ tmux_usync` command := tmux_usync
[UWARL-Robot_Config]   > Aliasing `$ tmux_multi` command := tmux_multi_pane
[UWARL-Robot_Config]   > Aliasing `$ tmux_kill` command := tmux kill-session
[UWARL-Robot_Config]   > Aliasing `$ tmux_src` command := tmux source-file /home/arnabx17/uwarl-robot_configs/desktop/tmux.conf

[UWARL-Robot_Config]   > Sourcing  Markdown Toc Generator  @ /home/arnabx17/uwarl-robot_configs/scripts/markdown-toc.sh 
[UWARL-Robot_Config]   > Aliasing `$ md_toc` command := markdown_toc
[UWARL-Robot_Config]   > Aliasing `$ md_toc_dir` command := markdown_toc_directory
[UWARL-Robot_Config]   > Aliasing `$ update_all` command := cd_config && git pull &&
[UWARL-Robot_Config]   > Aliasing `$ build_ws_debug` command := build_ws -DCMAKE_BUILD_TYPE=Debug
[UWARL-Robot_Config]   > Aliasing `$ rosrun_gdb` command := rosrun --prefix 'gdb -ex=run -ex=bt -ex=quit --args' 
[UWARL-Robot_Config]   > Aliasing `$ rosrun_valgrind` command := rosrun --prefix 'valgrind --log-file=/home/arnabx17/valgrind_log.txt' 
[UWARL-Robot_Config]   > Aliasing `$ rosrun_valgrind_leaky` command := rosrun --prefix 'valgrind --log-file=/home/arnabx17/valgrind_log.txt --leak-check=full' 
[UWARL-Robot_Config]   > Aliasing `$ valgrind_report` command := cat /home/arnabx17/valgrind_log.txt
 
[UWARL-Robot_Config]   =================================================== 
[UWARL-Robot_Config]   [ Hardware Specific Shortcuts:  ]  
[UWARL-Robot_Config]   =================================================== 
[UWARL-Robot_Config]  [HINT] "source_CUDA" is not implemented. You may not need it, else define it in common.sh ... 
 
[UWARL-Robot_Config]   =================================================== 
[UWARL-Robot_Config]   [ Print Environment Variables:  ]  
[UWARL-Robot_Config]   =================================================== 
[UWARL-Robot_Config]   [SUMMIT ENV CONFIG]:  
[UWARL-Robot_Config]      - ROBOT_ID                : uwarl 
[UWARL-Robot_Config]      - ROBOT_XACRO             : waterloo_steel_171102A.urdf.xacro 
[UWARL-Robot_Config]      - ROBOT_XACRO_PACKAGE     : waterloo_steel_description 
[UWARL-Robot_Config]      - ROBOT_GEARBOX           : 9.56 
[UWARL-Robot_Config]      - ROBOT_KINEMATICS        : omni 
[UWARL-Robot_Config]      - ROBOT_WHEEL_DIAMETER    : 0.253 
[UWARL-Robot_Config]      - ROBOT_TRACK_WIDTH       : 0.416 
[UWARL-Robot_Config]      - ROBOT_WHEEL_BASE        : 0.445 
[UWARL-Robot_Config]      - ROBOT_HAS_ENCODER       : true 
[UWARL-Robot_Config]      - ROBOT_HAS_FRONT_LASER   : true 
[UWARL-Robot_Config]      - ROBOT_FRONT_LASER_MODEL : VLP16_points 
[UWARL-Robot_Config]      - ROBOT_FRONT_LASER_PORT  : 2368 
[UWARL-Robot_Config]      - ROBOT_FRONT_LASER_IP    : 192.168.10.20 
[UWARL-Robot_Config]      - ROBOT_PAD_MODEL         : uwarl_deck 
[UWARL-Robot_Config]   [COMMON SH CONFIG (arnabx17)]:  
[UWARL-Robot_Config]      - ROBOT_PC_NAME           : arnabx17-Alienware-x17-R2 
[UWARL-Robot_Config]      - ROS_CORE_HOSTER         : SUMMIT-PC 
[UWARL-Robot_Config]      - IN_ROBOT_NETWORK        : NOPE, Local Host Only! 
[UWARL-Robot_Config]   [ROS CONFIG (arnabx17)]:  
[UWARL-Robot_Config]      - ROS ROS_DISTRO          : noetic 
[UWARL-Robot_Config]      - ROS HOST                : localhost 
[UWARL-Robot_Config]      - ROS MASTER              : http://localhost:11311/ 
[UWARL-Robot_Config]      - ROS IP                  : localhost 
[UWARL-Robot_Config]   [OS REPORT (arnabx17)]:  
[UWARL-Robot_Config]      - IP                      : 192.168.5.220 
[UWARL-Robot_Config]      - DISPLAY                 : :0 
[UWARL-Robot_Config]      - DISTRIB_CODENAME        : focal 
[UWARL-Robot_Config]      - DISTRIB_DESCRIPTION#    : Ubuntu 20.04.6 LTS 
[UWARL-Robot_Config]      - PYTHONPATH              : /opt/ros/noetic/lib/python3/dist-packages:/usr/bin/python3 
[UWARL-Robot_Config]      - KERNEL                  : Linux arnabx17-Alienware-x17-R2 5.15.0-89-generic #99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 
 
[UWARL-Robot_Config]   =================================================== 
[UWARL-Robot_Config]   [ Print Driver Status:  ]  
[UWARL-Robot_Config]   =================================================== 
[UWARL-Robot_Config]    Unable to Find Sensor Drivers! [librealsense] 
┌─(~)──────────────────────────────(arnabx17@arnabx17-Alienware-x17-R2:pts/0)─┐
└─(11:53:36)──> catkin config                                                                                                                                                              ──(Tue,Nov28)─┘
---------------------------------------------------
Profile:                     default
Extending:             [env] /opt/ros/noetic
Workspace:                   /home/arnabx17
---------------------------------------------------
Build Space:       [missing] /home/arnabx17/build
Devel Space:       [missing] /home/arnabx17/devel
Install Space:      [unused] /home/arnabx17/install
Log Space:         [missing] /home/arnabx17/logs
Source Space:      [missing] /home/arnabx17/src
DESTDIR:            [unused] None
---------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
---------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
---------------------------------------------------


---------------------------------------------------
WARNING: Source space `/home/arnabx17/src` does
not yet exist.
---------------------------------------------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.