Skip to content

Instantly share code, notes, and snippets.

@Brokemia
Created October 16, 2021 17:29
Show Gist options
  • Save Brokemia/6660bfc8b921388f821765789e623359 to your computer and use it in GitHub Desktop.
Save Brokemia/6660bfc8b921388f821765789e623359 to your computer and use it in GitHub Desktop.
Sessions and macros for MobaXterm
[Bookmarks]
SubRep=Robotics
ImgNum=41
1 - roscore= #109#0%root@localhost%2200%%%-1%-1%cd dev/robosub-ros__PTVIRG__source onboard/catkin_ws/devel/setup.bash__PTVIRG__roscore%%%%-1%-1%0%%%-1%0%0%0%%1080%%0%0%1#MobaFont%10%0%0%-1%15%236,236,236%30,30,30%180,180,192%0%-1%0%%xterm%-1%-1%_Std_Colors_0_%80%24%0%1%-1%<none>%%0#0# #-1
2 - base_sim= #109#0%root@localhost%2201%%%-1%-1%cd dev/robosub-ros__PTVIRG__source landside/catkin_ws/devel/setup.bash__PTVIRG__source /opt/ros/noetic/setup_network.bash%%%%-1%-1%0%%%-1%0%0%0%%1080%%0%0%1#MobaFont%10%0%0%-1%15%236,236,236%30,30,30%180,180,192%0%-1%0%%xterm%-1%-1%_Std_Colors_0_%80%24%0%1%-1%base_sim.launch%%0#0# #-1
3 - motion.launch= #109#0%root@localhost%2200%%%-1%-1%cd dev/robosub-ros__PTVIRG__source onboard/catkin_ws/devel/setup.bash%%%%-1%-1%0%%%-1%0%0%0%%1080%%0%0%1#MobaFont%10%0%0%-1%15%236,236,236%30,30,30%180,180,192%0%-1%0%%xterm%-1%-1%_Std_Colors_0_%80%24%0%1%-1%motion.launch sim:true%%0#0# #-1
4 - enable controls (run code here)= #109#0%root@localhost%2200%%%-1%-1%cd dev/robosub-ros__PTVIRG__source onboard/catkin_ws/devel/setup.bash%%%%-1%-1%0%%%-1%0%0%0%%1080%%0%0%1#MobaFont%10%0%0%-1%15%236,236,236%30,30,30%180,180,192%0%-1%0%%xterm%-1%-1%_Std_Colors_0_%80%24%0%1%-1%enable controls%12:2:0:rosservice call /enable_controls true__PIPE__12:2:0:__PIPE__%0#0# #-1
5 - echo state= #109#0%root@localhost%2200%%%-1%-1%cd dev/robosub-ros__PTVIRG__source onboard/catkin_ws/devel/setup.bash%%%%-1%-1%0%%%-1%0%0%0%%1080%%0%0%1#MobaFont%10%0%0%-1%15%236,236,236%30,30,30%180,180,192%0%-1%0%%xterm%-1%-1%_Std_Colors_0_%80%24%0%1%-1%<custom macro>%12:2:0:rostopic echo state__PIPE__258:13:1835009:RETURN__PIPE__%0#0# #-1
landside=#109#0%root@localhost%2201%%%-1%-1%cd dev/robosub-ros__PTVIRG__source landside/catkin_ws/devel/setup.bash__PTVIRG__source /opt/ros/noetic/setup_network.bash%%%%-1%-1%0%%%-1%0%0%0%%1080%%0%0%1#MobaFont%10%0%0%-1%15%236,236,236%30,30,30%180,180,192%0%-1%0%%xterm%-1%-1%_Std_Colors_0_%80%24%0%1%-1%<none>%%0#0# #-1
onboard=#109#0%root@localhost%2200%%%-1%-1%cd dev/robosub-ros__PTVIRG__source onboard/catkin_ws/devel/setup.bash%%%%-1%-1%0%%%-1%0%0%0%%1080%%0%0%1#MobaFont%10%0%0%-1%15%236,236,236%30,30,30%180,180,192%0%-1%0%%xterm%-1%-1%_Std_Colors_0_%80%24%0%1%-1%<none>%%0#0# #-1
[Macros]
set pose to 0=12:0:0:rosservice call /set_pose __DBLQUO__pose__DBLDOT__
header__DBLDOT__
seq__DBLDOT__ 0
stamp__DBLDOT__
secs__DBLDOT__ 0
nsecs__DBLDOT__ 0
frame_id__DBLDOT__ 'odom'
pose__DBLDOT__
pose__DBLDOT__
position__DBLDOT__ {x__DBLDOT__ 0.0, y__DBLDOT__ 0.0, z__DBLDOT__ 0.0}
orientation__DBLDOT__ {x__DBLDOT__ 0.0, y__DBLDOT__ 0.0, z__DBLDOT__ 0.0, w__DBLDOT__ 1.0}
covariance__DBLDOT__ [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]__DBLQUO__|258:13:1835009:RETURN|0:0:0:SLEEPEQUAL1200|
base_sim.launch=12:0:0:roslaunch simulation base_sim.launch|258:13:1835009:RETURN|0:0:0:SLEEPEQUAL1200|
motion.launch sim:true=12:0:0:roslaunch execute motion.launch sim__DBLDOT____EQQUAL__true|258:13:1835009:RETURN|0:0:0:SLEEPEQUAL1200|
enable controls=12:0:0:rosservice call /enable_controls true|258:13:1835009:RETURN|0:0:0:SLEEPEQUAL1200|
[MacrosHotkeys]
set pose to 0=0
base_sim.launch=0
motion.launch sim:true=0
enable controls=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment