support ur5 and ur3, should revise:
- 1. Single RCR control panel
- 2. To do list
- process
- 3. Reminder
- 4. Procedure
- 5. Requirements
- 6. recommend IDE : Pycharm
- 7. Hardware requirements
- 8. relation
- 9. Following btns and slider can be used if ticked.
- sensor serialPort and control serialPort merge
- rcr up and down
- position and velocity relation
- stop the car
- roscore
- choose ur type
- roslaunch singrcr ur3_launch.launch
- get init ur pos
- get final ur pos ( this step should be calculated based on the sonic value and ur pos, use impedance control to set)
- move up and down
- control Arduino baud rate: 19200
- sensor Arduino baud rate: 9600
- start "run.py" by Python3 in terminal
- start your own serial port firstly by detecting the port
- choose the right port in the box, then "open" it
- "close" can be enabled when the port is open
- choose the right camera port in the box, "open" it
- "close" can be enabled when the port is open
- always enabled before the port is detected and chosen correctly
- adjust the angles of pitch and yaw by sliders, values will be changed with the slider simultaneously.
- pitch and yaw are adjusted with range 100
200 and 50210; only in integer - the realisation of "stepDown, stepUP" can be seen in "rcr.py", function name is "fixed_update(self, hd, vd)"
- the realisation of "Down, UP" can be seen in "rcr.py", function name is "update(self, hd, vd)"
- base camera is the camera installed in the base, the pos can be adjusted by the base camera pos adjustment servo motors
- In base camera, "lsd" method is embedded. While the head camera, just show the raw images.
- choose the right port of the camera.
- IDE: Eric6 or Pycharm
- Python 3.5
- Opencv3+, like: Opencv3.4.6
- ROS: Kinetic; no need now
- PyQt5, Qt based GUI
- you should have a python environment in your directory.
- you can set it by open : Setting ->project-> project interpreter -> add -> new environment based on "the python3 of your computer", select "inherit from global site-packages"
- after setting, you will have a "venv"(environment name) folder in your directory
- you should set your python libraries by following the blog
- you should add:
- "/usr/local/lib/python3.5/site-packages" -> this is your own python3.5 libraries
- "/opt/ros/kinetic/lib/python2.7/site-packages" -> this has "rospy", if not "rospy error" happens
- in python3, you should install "rospkg, catkin_tools, catkin_pkg" and "opencv-python"
- spark fun 1401 IMU
- two industry camera(web cams), one for RCR Base, other for UR EE IBVS
- UR3
- two arduino: one for sensor data pre-processing, other for motors control
- Four motors include, clean water and sewage pumps, cleaning unit rotating 12V DC motor, RCR climbing 24v DC motor.
- Robomodule driver is CAN protocal based.
- 200000 = 165mm
- cam processing parameters: len=400; width=9
- clear_real_time_txt_btn
- clear_sensor_txt_btn
- detect_sensor_com_btn
- com_sensor_box
- open_sensor_com_btn
- close_sensor_com_btn
- open_cam_base_btn
- close_cam_base_btn
- com_cam_base_box
- open_cam_head_btn
- close_cam_head_btn
- com_cam_head_box
- start_clean_ops_btn
- stop_clean_ops_btn
- open_water_pump_btn
- close_water_pump_btn
- open_sewage_pump_btn
- close_sewage_pump_btn
- unit_touch_window_btn
- unit_back_init_btn
- unit_auto_clean_btn
- up_rcr_set_btn
- down_rcr_btn
- step_up_rcr_btn
- step_down_rcr_btn
- clear_rcr_txt_btn
- stop_rcr_btn
- speed_rcr_hSlider
- height_rcr_hSlider
- ur_forward_btn
- ur_back_btn
- ur_left_btn
- ur_right_btn
- ur_up_btn
- ur_down_btn
- cam_base_pitch_hSlider
- cam_base_yaw_hSlider
- cam_base_pitch_btn
- cam_base_yaw_btn
- cam_base_adjust_btn
- cam_base_back_angle_btn
- cam_base_set_angle_btn