YZ Robot ROSYZ-03 Скачать руководство пользователя страница 9

                                                                                                                                               

深圳市芸众科技有限公司

 

PAGE  9  OF  12   

 
        2.2.5 Install a joystick driver when necessary. (Optional part).   
                        If you want to drive your robot from joystick (for example, when you run 

gmapping function), please insert the joystick receiver USB part into the robot 
computer USB port. 

Please note, it your joystick is not the ROS official website recommended   

model, please install the joystick ROS driver package firstly. 
 
 

 

§2.3 YZ-01 ROS demo instruction:   

 

2.3.1    Do gmapping SLAM to generate a map of your office: 

                  1

Preparing work:

 

Your  desktop  PC  is ready: 

Please  make  sure  your  desktop or  laptop PC 

was  installed  ROS  KINETIC.  Otherwise,  please  install  ROS  on  your  PC 
firstly.  Then  copy  the  rbx1_nav  source  folder  from  robot  PC  to  your 
desktop PC ROS work space src folder, and then on your desktop PC run 
catkin_make command to compile this rbx1_nav package; 

YDLIDAR is connected; 
Joystick is connected; 

                  2

Run gmapping command on your robot PC

Use  SSH  command  to  open  a  SSH  terminal  from  your  desktop  PC  to 
remote login robot PC, and then launch the gmapping command: 

                   

    $ roslaunch rbx1_nav gmapping_demo_yz.launch 

                            You can look over the gmapping_demo_yz.launch file and learn more 

details about this launch command. 

                  3

Run RVIZ on your desktop PC ternimal 

                        Due  the  running  robot  has  not  a  monitor  and  SSH  can  not  provide 

graphical remote login, so we need run RVIZ on your desktop PC instead. 
Before  run  RVIZ,  please  let  your  desktop  PC

s  ROS  MASTER  redirect  to 

robot PC ROS core: 

                       

  $ export ROS_MASTER_URI=http://robot IP:11311     

                         

$ rosrun rviz rviz -d `rospack find rbx1_nav`/gmapping.rviz

   

                            If everything OK, you can see some map pixel on the screen. 
                  4)   

Drive robot moving and save map data on your robot PC

 

                          Use  joystick  to  drive  robot  slowly  walking  around  your  office,  until  all 

roads are covered. Then stop robot. 

                            Use SSH to remote login robot PC from your desktop PC, then   
                       

    $ rospackcd rbx1_nav/maps 

                         

  $ rosrun map_server map_saver -f my_map 

                               

my_map

  the  name  of  this  new  map.  You  can  find  this  new  map 

files in rbx1_nav/maps folder. 

Содержание ROSYZ-03

Страница 1: ...PAGE 1 OF 12 ROSYZ 03 Robot Platform USER MANUAL Rev 1 0 JULY 2019 SHENZHEN YZ ROBOT CO LTD...

Страница 2: ...the robot needs to carry In order to facilitate developers to do in depth research the ROS platform motion control board and DCDC power board circuit diagram and detailed interface drawings we also pr...

Страница 3: ...PAGE 3 OF 12 1 3 Main Board connectors definition CON13 29 32 12 21 11 10 20 15 18 17 8 9 14 25 35 REST RS232 CON27 CON5 28 22 7 GPIO JP4 CON1 CON19 CON16 JP5 CON30 33 31 24 23 2 3 6 4 USB1 USB2...

Страница 4: ...17 12V output CON8 12V output CON9 12V output CON14 12V output CON25 12V output CON26 12V output isolated CON28 5V output CON22 5V output isolated Communication and others RS232 UART port CON27 Front...

Страница 5: ...PAGE 5 OF 12 JP6 GND JP8 VCC JP7 PF7 power on signal PF8 NA PF9 PF10 Auto charging guide signal PE0 PE1 NA PA4 PA5 NA PWM1 PWM2 NA PWM3 NA PWM4 NA...

Страница 6: ...3 2 ROBOT_MSGS YZ03 special message 3 3 YDLIDAR Optional LIDAR package from EAI 3 4 MIIBOO_IMU Optional IMU package from Miiboo 3 5 RBX1_NAV SLAM and navigation demo 1 5 ROSYZ 03 Sensors installed RO...

Страница 7: ...el 1 pc User decks 3 pcs plastic Support pole 16 pc Battery pack 1 pc Li Ion 14 4V6Ah Battery Charger 1 pc G60 12L4 AC power cord 1 pc Europe type plug Main board 1 pc STM32 DCDC Raspberry Pi 3B 1 pc...

Страница 8: ...ack side see Page 2 After turn on it the power LED will be RED solid the operating status LED will be flashing GREEN If the power LED is not lighting after main switch closed please check the battery...

Страница 9: ...d on your robot PC Use SSH command to open a SSH terminal from your desktop PC to remote login robot PC and then launch the gmapping command roslaunch rbx1_nav gmapping_demo_yz launch You can look ove...

Страница 10: ...nch the following command roslaunch rbx1_nav yz_demo_move launch map my_map yaml You can look over the yz_demo_move launch file and learn more details about this launch command 3 Run RVIZ on your desk...

Страница 11: ...the power supply interface The wrong wiring will damage the interface board or other devices Make sure that the maximum current used by the device does not exceed the limited current value of the DCD...

Страница 12: ...2A 12V2A 19V4A 24V2A Move speed 0 1 0 6 m s Maximum load weight 5KG Externa charger 16 8V2 8A smart charger Control Board STM32F10X ARM chip Upper layer height 30CM Hardware data provided All electron...

Отзывы: