-
Notifications
You must be signed in to change notification settings - Fork 2
Class 4: LIS VM
Download our LIS VM from dropbox before class on Tuesday
The VM has ros installed and all networking preconfigured to use our robot.
- username: lis_user
- password: pomdp
- pr2 simulator with gazebo
- commanding real robot with vm
- recording and playing back sensor data
- final projects discussion
You can simulate the pr2 with gazebo - a 3d physics simulator. To launch gazebo:
roslaunch pr2_gazebo pr2_empty_world.launch
-
test rviz with 'rviz' a default configuration is already set up
-
test a program:
rosrun lis_pr2_pkg uber_controller_tester.py
##2. Commanding real robot on the VM
ssh into the pr2 and do robot claim, robot start as usual.
Then update your vm's .bashrc at the top of the file. Change robot=sim to robot=pr2 . Then run:
source ~/.bashrc
remember to source your .bashrc
The terminal should report "ros master set to local host" or "ros master set to pr2". Verify it is set for the robot.
-
test rviz with
rviz-- you should see live updated values from the robot. -
test a program:
rosrun lis_pr2_pkg uber_controller_tester.py
If the robot starts running your program you're good to go!
see http://wiki.ros.org/rosbag/
Record real sensor data on the pr2. Then play it back while running the pr2 simiulatr to verify your reactive controller from last week works! If you have not completed your reactive controller continue working on it this week with the simulator to assist you.