robotino_nav_tutorial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
robotino_nav_tutorial [2018/11/29 18:38] – jkreitz | robotino_nav_tutorial [2018/12/05 15:08] (current) – jkreitz | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **Robotino Demo Tutorial** | ||
+ | |||
**Background** | **Background** | ||
Line 13: | Line 15: | ||
Plug Robotino into the router using an ethernet cable | Plug Robotino into the router using an ethernet cable | ||
Once you are able to access Robotino’s main menu, select the following menu sequence | Once you are able to access Robotino’s main menu, select the following menu sequence | ||
- | “Network” | + | |
- | “Eth0” | + | * “Network” |
- | “DHCP” | + | |
- | “Activate” | + | |
+ | | ||
Once the menu says “success, | Once the menu says “success, | ||
Line 25: | Line 29: | ||
{{: | {{: | ||
- | To use Robotino Potential Field demonstration, | + | --------------------------------------- |
- | Open Terminal | + | |
- | ~$ roslaunch robotino_node robotino_node.launch hostname: | + | |
- | Then open a new terminal and navigate to the Catkin Workspace | + | **Using Robotino for Potential Field Demo** |
- | "~$ cd catkin_ws/" | + | |
- | "~$ catkin_make" | + | |
- | "~$ rosrun vikram yahoo" | + | |
- | The Robotino demonstration will run once you input the rosrun command. | + | Creating |
- | --------------------------------------- | + | To change the size of each box in the program, go to the PFNav.cpp file and change the “scale” variable in the “tileGridGoal” function. Units are in meters. |
- | **Using Robotino for Potential Field Demo** | ||
- | Goal/ | + | Changing |
To change the goal/ | To change the goal/ | ||
Line 47: | Line 45: | ||
x and y are positions on the grid, starting from (0,0) | x and y are positions on the grid, starting from (0,0) | ||
z is the total length of the grid in terms of squares | z is the total length of the grid in terms of squares | ||
- | d is ….. (??) | + | d is the maximum range from the obstacle you would like Robotino to move. |
+ | |||
+ | After updating any of the values, make sure you catkin_make in the catkin_ws directory. | ||
+ | |||
+ | |||
+ | Note: Potential Field only works well with one obstacle. | ||
+ | |||
+ | --------------------------------------- | ||
+ | |||
+ | To use Robotino Potential Field demonstration, | ||
+ | |||
+ | * " | ||
+ | |||
+ | Then open a new terminal and input the following commands in the shell: | ||
+ | |||
+ | * "cd catkin_ws/" | ||
+ | * " | ||
+ | * " | ||
+ | |||
+ | The Robotino demonstration will run once you input the rosrun command. | ||
+ | |||
+ | ==== Potential field ==== | ||
+ | \\ | ||
+ | |||
+ | {{ youtube> | ||
+ | |||
+ | {{ youtube> | ||
+ | |||
+ | \\ | ||
+ | |||
+ | --------------------------------------- | ||
+ | |||
+ | **Using Robotino for Breadth First Demo** | ||
Updating the Grid | Updating the Grid | ||
- | To change the size of each box in the program, go to the PFNav.cpp file and change | + | To change the size of each box in the program, go to the BFNavigatorNode.cpp. |
+ | The " | ||
+ | |||
+ | The " | ||
+ | |||
+ | Goal/ | ||
+ | |||
+ | The goal can be set by changing the parameters to the " | ||
+ | Obstacles can be set by changing the parameters to the " | ||
After updating any of the values, make sure you cakin_make in the catkin_ws directory. | After updating any of the values, make sure you cakin_make in the catkin_ws directory. | ||
+ | |||
+ | Note: Breadth First works well with less than four obstacles. | ||
+ | |||
+ | --------------------------------------- | ||
+ | |||
+ | To use Robotino Breadth First demonstration, | ||
+ | |||
+ | * " | ||
+ | |||
+ | Then open a new terminal and input the following commands in the shell: | ||
+ | |||
+ | * "cd catkin_ws/" | ||
+ | * " | ||
+ | * " | ||
+ | |||
+ | The Robotino demonstration will run once you input the rosrun command. | ||
+ | |||
+ | ==== Breadth First ==== | ||
+ | \\ | ||
+ | |||
+ | {{ youtube> | ||
+ | |||
+ | \\ |
robotino_nav_tutorial.1543545504.txt.gz · Last modified: 2018/11/29 18:38 by jkreitz