-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to ip for connections rosbots (#48)
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' | ||
|
@@ -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' | ||
|