Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to ip for connections rosbots #48

Merged
merged 1 commit into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,15 @@ function emc-update
}

# --------------------------------------------------------------------------------
export ROS_HOSTNAME=$HOSTNAME.local
#export ROS_HOSTNAME=$HOSTNAME.local

alias mrc-teleop='rosrun emc_system teleop.py'

alias mrc-update=emc-update

export BOBO_IP='192.168.6.68'
export COCO_IP='192.168.6.186'

if [ "$ROBOT_REAL" == true ]
then
alias hero-start='rosparam load $EMC_SYSTEM_DIR/src/emc_system/config/hero_mrc_config.yaml'
Expand All @@ -80,11 +83,11 @@ then

alias define-map='rosrun map_server map_server'
else
alias sshbobo='ssh -A -X husarion@bobo.local'
alias sshcoco='ssh -A -X husarion@coco.local'
alias sshbobo='ssh -A -X husarion@$BOBO_IP'
alias sshcoco='ssh -A -X husarion@$COCO_IP'
alias sshhero='ssh -A -X [email protected]'
alias bobo-core='export ROS_MASTER_URI=http://bobo.local:11311'
alias coco-core='export ROS_MASTER_URI=http://coco.local:11311'
alias bobo-core='export ROS_MASTER_URI=http://$BOBO_IP:11311'
alias coco-core='export ROS_MASTER_URI=http://$COCO_IP:11311'
alias hero-core='export ROS_MASTER_URI=http://192.168.44.51:11311'
alias mrc-sim='rosrun emc_simulator simulator'
alias sim-rviz='roslaunch emc_simulator viz.launch'
Expand Down