forked from start-jsk/rtmros_tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request start-jsk#96 from garaemon/add-env-hooks-to-setup-…
…utility-shell-funcs [jsk_hrp2_ros_bridge] Add env-hooks to define utility functions like rossethrp2016v
- Loading branch information
Showing
3 changed files
with
77 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
# -*- mode: shell-script -*- | ||
|
||
function rossethrp2017() { | ||
rossetmaster hrp2017v 10017 | ||
export ROBOT=HRP2JSKNTS | ||
export HRP2NO=17 | ||
rossetip | ||
} | ||
|
||
function rossethrp2016() { | ||
rossetmaster hrp2016v 10016 | ||
export ROBOT=HRP2JSKNT | ||
export HRP2NO=16 | ||
rossetip | ||
} | ||
|
||
function rossethrp2007() { | ||
rossetmaster hrp2007v 10007 | ||
export ROBOT=HRP2JSK | ||
export HRP2NO=7 | ||
rossetip | ||
} | ||
|
||
function rossethrp2008() { | ||
rossetmaster hrp2008v 10008 | ||
export ROBOT=HRP2W | ||
export HRP2NO=8 | ||
rossetip | ||
} | ||
|
||
function rossethrp2018() { | ||
rossetmaster hrp2018v 10018 | ||
export ROBOT=HRP2W | ||
export HRP2NO=8 | ||
rossetip | ||
} |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/zsh | ||
# -*- mode: shell-script -*- | ||
|
||
function rossethrp2017() { | ||
rossetmaster hrp2017v 10017 | ||
export ROBOT=HRP2JSKNTS | ||
export HRP2NO=17 | ||
rossetip | ||
} | ||
|
||
function rossethrp2016() { | ||
rossetmaster hrp2016v 10016 | ||
export ROBOT=HRP2JSKNT | ||
export HRP2NO=16 | ||
rossetip | ||
} | ||
|
||
function rossethrp2007() { | ||
rossetmaster hrp2007v 10007 | ||
export ROBOT=HRP2JSK | ||
export HRP2NO=7 | ||
rossetip | ||
} | ||
|
||
function rossethrp2008() { | ||
rossetmaster hrp2008v 10008 | ||
export ROBOT=HRP2W | ||
export HRP2NO=8 | ||
rossetip | ||
} | ||
|
||
function rossethrp2018() { | ||
rossetmaster hrp2018v 10018 | ||
export ROBOT=HRP2W | ||
export HRP2NO=8 | ||
rossetip | ||
} |