-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install update #65
Open
CorrieVS
wants to merge
2
commits into
master
Choose a base branch
from
install-update
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+119
−28
Open
Install update #65
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,68 @@ | ||
# How to Run a BWIbot V4 Demo | ||
|
||
**Purpose:** | ||
To perform a demo of the BWIbots for visitors at Anna Hiss Gym, or to test an installation of the code base on a BWIbot machine. | ||
|
||
**Requirements:** | ||
- a BWIbot V4 | ||
- a user account on the bot computer | ||
- completion of the [code base installation](https://github.com/utexas-bwi/bwi/README.md) | ||
|
||
## Instruction | ||
|
||
As a demonstration of the BWIbots' abilities to navigate a building, avoid visitors, and perform tasks, you can use the "Visit Door List" executables that are part of the bwi_tasks package. | ||
|
||
### Turn on the robot | ||
1. Disconnect the battery from the wall charger: the V4 bot charger cable is connected to the back of the robot base via a serial connector. Make sure the screws on the connector are loose before disconnecting. | ||
2. Verify that the e-stop (red button located on the power box in the mid-section of the robot) is disengaged (pulled all the way up). | ||
3. Press the small metal button on the power box. The base should turn on and the power button will illuminate. | ||
4. Verify that the 3-position switch next to the power button is in the Neutral position (DIAG - NEUTRAL - BL). | ||
|
||
You should now be able to use the robot. | ||
|
||
### Move the robot to starting position | ||
|
||
You will use the computer keyboard to control the robot, but first you must run the segbot launch file. In a terminal window, type: | ||
``` | ||
roslaunch bwi_launch segbot_v4_ahg.launch | ||
``` | ||
Then open another terminal window to run the teleop keyboard: | ||
``` | ||
rosrun segbot_bringup teleop_twist_keyboard | ||
``` | ||
Follow the instructions in the teleop keyboard terminal window to move the robot into the hallway adjacent to the large gym area on level 2 of AHG. **Before executing move commands**, reduce the robot speed settings below 0.5 by pressing "z" (speed settings will display in the terminal window). | ||
Note that you can halt moves by pressing the spacebar. To stop ALL robot processes and do an immediate shut-down, you can press the red E-Stop button on the power-box. You will have to restart the robot completely afterwards. | ||
|
||
### Orient the robot in space | ||
|
||
1. Go to the RViz window that opened when you ran the launch file. | ||
2. Take a look at the map and identify the robot's new location and heading in the hallway. | ||
3. Click the "2D pose estimate" button at the top of the RViz window to activate the tool. | ||
4. Move the mouse pointer to the robot's location on the map, then click and drag in the direction of heading. | ||
5. You should see green points around the robot indicating that the robot is sensing walls and other obstacles. | ||
|
||
### Run the demo routine | ||
|
||
Now you are ready to run the demo routine. Open another terminal window and type: | ||
``` | ||
rosrun bwi_tasks visit_door_list_smach | ||
``` | ||
The robot will begin visiting doors on the floor. To stop the program, type "ctrl+C", but note that the robot will continue to its next goal door before stopping. | ||
|
||
>*If you see errors about packages for the robot arm, you must ignore the bad packages by typing:* | ||
>``` | ||
>CATKIN_IGNORE (bad packages) | ||
>``` | ||
>*Then build and source the workspace:* | ||
>``` | ||
>catkin build -j6 | ||
>sws | ||
>``` | ||
|
||
### Turn off the robot | ||
|
||
1. Move the robot back to its charging area in the AHG gym using the teleop keyboard program. | ||
2. Cancel/Kill all running ROS programs by typing "ctrl+C" in each terminal. | ||
3. Shutdown the computer. | ||
4. Press the small metal button on the power box in the middle of the robot body. The base should turn off and the power button light will turn off after a short time. At this point you can move the bot by hand if you need to make any adjustments to its position. | ||
5. When the bot has powered down, plug the charger into the back of the robot base and ensure that it is securely connected using the screw terminals on the connector. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe I fixed the complaints around the
segbot_arm
stack with4f3e39a
in thesegbot
repo. I tried running the new architecture on the V2s after making that commit and there were no compliation errors. If this is repeatable, noCATKIN_IGNORE
s are required.