Difference between revisions of "Category:HamsterProKit"

From cogniteam
Jump to: navigation, search
Line 37: Line 37:
 
4. Install/update camera realsense D435I SDK and firmware from official source.
 
4. Install/update camera realsense D435I SDK and firmware from official source.
 
   [https://www.intelrealsense.com/developers/ realsense]
 
   [https://www.intelrealsense.com/developers/ realsense]
5. OpenVino Toolkit:
+
5. Install OpenVino Toolkit:
 
   [https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html#install-openvino openvino]
 
   [https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html#install-openvino openvino]
5. Configure static IP in /etc/network/interfaces:
+
6. Configure static IP in /etc/network/interfaces:
 
   <strong>Note:valid just for hamster routers, for your own routers please use personal settings</strong>
 
   <strong>Note:valid just for hamster routers, for your own routers please use personal settings</strong>
  
Line 52: Line 52:
 
       wpa_psk "hamsterHAMSTER"
 
       wpa_psk "hamsterHAMSTER"
  
6. '''Hamster ROS1 project:'''
+
7. '''Hamster ROS1 project:'''
  
6.1 Workspace:
+
7.1 Workspace:
  
 
       <code><span style="color:black"></span>$ mkdir -p hamster_ws/src</code>
 
       <code><span style="color:black"></span>$ mkdir -p hamster_ws/src</code>
Line 67: Line 67:
 
       <code><span style="color:black"></span>$ catkin_make -DCMAKE_BUILD_TYPE=Release</code>
 
       <code><span style="color:black"></span>$ catkin_make -DCMAKE_BUILD_TYPE=Release</code>
  
6.2 Settings:
+
7.2 Settings:
  
 
       <code>cp ~/hamster_ws/src/hamster/hamster_launch/config/hamster.config /home/hamster/</code>
 
       <code>cp ~/hamster_ws/src/hamster/hamster_launch/config/hamster.config /home/hamster/</code>
Line 78: Line 78:
 
           export HAMSTER_WORKSPACE=/home/hamster/hamster_ws
 
           export HAMSTER_WORKSPACE=/home/hamster/hamster_ws
  
6.3 Launch:
+
7.3 Launch:
  
 
     <code><span style="color:black"></span>$ source /opt/ros/kinetic/setup.bash</code>
 
     <code><span style="color:black"></span>$ source /opt/ros/kinetic/setup.bash</code>
Line 86: Line 86:
 
     <code><span style="color:black"></span>$ roslaunch hamster_launch single_board.launch</code>
 
     <code><span style="color:black"></span>$ roslaunch hamster_launch single_board.launch</code>
  
7. '''Hamster ROS2 project:'''
+
8. '''Hamster ROS2 project:'''
  
7.1 Workspace:
+
8.1 Workspace:
  
 
     <code><span style="color:black"></span>$ mkdir -p hamster_ros2_ws/src</code>
 
     <code><span style="color:black"></span>$ mkdir -p hamster_ros2_ws/src</code>
Line 99: Line 99:
 
     <code><span style="color:black"></span>$ colcon build</code>
 
     <code><span style="color:black"></span>$ colcon build</code>
  
7.2 Settings:
+
8.2 Settings:
  
 
Driver settings described in hamster_driver_node.cpp file rows 330-335.
 
Driver settings described in hamster_driver_node.cpp file rows 330-335.
Line 105: Line 105:
 
Required re-compilation after changes
 
Required re-compilation after changes
  
7.3 Launch:
+
8.3 Launch:
  
 
     <code><span style="color:black"></span>$ cd hamster_ros2_ws</code>
 
     <code><span style="color:black"></span>$ cd hamster_ros2_ws</code>

Revision as of 17:07, 22 October 2019

AAEON Pro Kit support page

Charger LLC Battery rev2.jpg ProKitLLC.png

Kit prerequisite (not included in the kit)

  • Lipo battery with T connector 7.4V 2 cell.
  • Battery charger

Connecting the kit

  • Use the LLC cable (in the picture) to both monitor and charge the battery
 * Port 9 can be used to charge the Lipo Battery
 * Port 8 should connect the the Lipo battery balancer (JST connector)
 * Port 7 should connect to the LLC board 
 * Red T connector (rightmost on the picture)
  • Connect the Up Squared board to the LLC as shown in the picture
 * TX/RX should be connected to GPIO ports
 * Power should be connected through DC connector
  • Connect the MX2 wifi module
  • Connect the two WIFI antennas using the SMT connector to the integrated chip
  • Connect the Movidius chip using the PCI connector
  • Connect the D435i camera to a USB3 Port using the cable


ROS Workspace

  • 2 ROS workspaces are available on the home directory for ROS1/ROS2

Software installation from scratch

1. Linux 16.04 for AAEON board:

 ubuntu_16.04

2. Ros kinetic:

 ros_kinetic

3. Ros 2 ardent:

 ros2_ardent
 Note: link for ros2 crystall, use ardent prefixes instead.

4. Install/update camera realsense D435I SDK and firmware from official source.

 realsense

5. Install OpenVino Toolkit:

 openvino

6. Configure static IP in /etc/network/interfaces:

 Note:valid just for hamster routers, for your own routers please use personal settings
  auto wlan0
  allow-hotplug wlan0
  iface wlan0 inet static
     address 10.0.2.1
     netmask 255.255.255.0
     gateway 10.0.2.138
     dns-nameservers 10.0.2.138
     wpa_ssid "hamster_net5"
     wpa_psk "hamsterHAMSTER"

7. Hamster ROS1 project:

7.1 Workspace:

     $ mkdir -p hamster_ws/src
     $ cd hamster_ws/src
     $ git clone https://git.cogni.io/hamster/hamster.git
          login: provides by request
          password: provides by request
     $ cd hamster
     $ git checkout master
     $ cd ../..
     $ source /opt/ros/kinetic/setup.bash
     $ catkin_make -DCMAKE_BUILD_TYPE=Release

7.2 Settings:

     cp ~/hamster_ws/src/hamster/hamster_launch/config/hamster.config /home/hamster/
      change inside hamster.config:
         export HAMSTER_IP=YOUR_IP
         export HAMSTER_CAMERA_TYPE_REALSESNE=true
         export HAMSTER_ID=agent*
         * - IP last number
         export HAMSTER_WORKSPACE=/home/hamster/hamster_ws

7.3 Launch:

    $ source /opt/ros/kinetic/setup.bash
    $ source hamster.config
    $ cd hamster_ws
    $ source devel/setup.bash
    $ roslaunch hamster_launch single_board.launch

8. Hamster ROS2 project:

8.1 Workspace:

    $ mkdir -p hamster_ros2_ws/src
    $ cd hamster_ros2_ws/src
    $ git clone https://git.cogni.io/hamster/ros2_hamster_driver.git
         login: provides by request
         password: provides by request
    $ cd ../..
    $ source /opt/ros/ardent/setup.bash
    $ colcon build

8.2 Settings:

Driver settings described in hamster_driver_node.cpp file rows 330-335.

Required re-compilation after changes

8.3 Launch:

    $ cd hamster_ros2_ws
    $ source /opt/ros/ardent/setup.bash
    $ . install/setup.bash
    $ ros2 run hamster_driver hamster_driver_node

Subcategories

This category has the following 4 subcategories, out of 4 total.

Pages in category "HamsterProKit"

This category contains only the following page.