RoPod/Tutorials/Commands cheat sheet: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
(Created page with '{| border="1" cellpadding="5" cellspacing="0" align="center" style="margin-left: 3em;" |- | width="150" | '''Alias''' | '''Command''' | '''Purpose''' |- | buildit | <pre>cd $CAT…')
 
No edit summary
Line 18: Line 18:
   catkin_make;" </pre>
   catkin_make;" </pre>
| Remove previous build and rebuild them.
| Remove previous build and rebuild them.
|-
| pico-wired
| <pre>
  export ROS_MASTER_URI=http://10.0.0.2:11311;
  export ROS_IP=10.0.0.2;
  export WIRED_CONNECTION=true</pre>
| Set the relevant ROS parameters to the wireless communication via the ropod-router
|-
| pico-wireless
| <pre>
  export ROS_MASTER_URI=http://192.168.44.81:11311;
  export ROS_IP=192.168.44.81;
  export WIRED_CONNECTION=false;</pre>
| Set the relevant ROS parameters to the wireless communication via the ropod-router
|-
|-
| pstart
| pstart
| <pre>roslaunch pico_bringup start.launch</pre>
| <pre>roslaunch pico_bringup start.launch</pre>
| Start all the communication with the hardware on pico
| Start all the communication with the hardware on pico
|-
| teleop <<robotname>>
| <pre>rosrun robot_common teleop.py <<robotname>> </pre>
| Use your keyboard to navigate with the robot
|-
|-
|}
|}
alias sshpico="ssh ropod@192.168.44.81"
alias sshpico-wired="ssh ropod@10.0.0.2"
alias pico-core='export ROS_MASTER_URI=http://192.168.44.81:11311'
alias pico-core-wired='export ROS_MASTER_URI=http://10.0.0.2:11311

Revision as of 16:40, 6 October 2017

Alias Command Purpose
buildit
cd $CATKIN_WORKSPACE; catkin_make
Build all packages in your catkin workspace
clean_build
   cd $CATKIN_WORKSPACE;
   rm -rf build/ devel/;
   cd $CATKIN_WORKSPACE/src/; 
   rm CMakelists.txt; 
   cd $CATKIN_WORKSPACE; 
   catkin_make;" 
Remove previous build and rebuild them.
pico-wired
  export ROS_MASTER_URI=http://10.0.0.2:11311;
  export ROS_IP=10.0.0.2;
  export WIRED_CONNECTION=true
Set the relevant ROS parameters to the wireless communication via the ropod-router
pico-wireless
  export ROS_MASTER_URI=http://192.168.44.81:11311;
  export ROS_IP=192.168.44.81;
  export WIRED_CONNECTION=false;
Set the relevant ROS parameters to the wireless communication via the ropod-router
pstart
roslaunch pico_bringup start.launch
Start all the communication with the hardware on pico
teleop <<robotname>>
rosrun robot_common teleop.py <<robotname>> 
Use your keyboard to navigate with the robot


alias sshpico="ssh ropod@192.168.44.81" alias sshpico-wired="ssh ropod@10.0.0.2" alias pico-core='export ROS_MASTER_URI=http://192.168.44.81:11311' alias pico-core-wired='export ROS_MASTER_URI=http://10.0.0.2:11311