Difference between revisions of "Category:HamsterProKit"

From cogniteam
Jump to: navigation, search
Line 25: Line 25:
 
== ROS Workspace ==
 
== ROS Workspace ==
 
* 2 ROS workspaces are available on the home directory for ROS1/ROS2
 
* 2 ROS workspaces are available on the home directory for ROS1/ROS2
 
== Software installation from scratch ==
 
 
1. Linux 16.04 for AAEON board:
 
  [https://wiki.up-community.org/Ubuntu ubuntu_16.04]
 
2. Ros kinetic:
 
  [http://wiki.ros.org/kinetic/Installation/Ubuntu ros_kinetic]
 
3. Ros 2 ardent:
 
  [https://index.ros.org/doc/ros2/Installation/Crystal/Linux-Install-Debians/ ros2_ardent]
 
  <strong>Note: link for ros2 crystall, use ardent prefixes instead.</strong>
 
4. Install/update camera realsense D435I SDK and firmware from official source.
 
  [https://www.intelrealsense.com/developers/ realsense]
 
5. Install OpenVino Toolkit:
 
  [https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html#install-openvino openvino]
 
6. Configure static IP in /etc/network/interfaces:
 
  <strong>Note:valid just for hamster routers, for your own routers please use personal settings</strong>
 
 
  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:
 
 
      <code><span style="color:black"></span>$ mkdir -p hamster_ws/src</code>
 
      <code><span style="color:black"></span>$ cd hamster_ws/src</code>
 
      <code><span style="color:black"></span>$ git clone https://git.cogni.io/hamster/hamster.git</code>
 
          login: provides by request
 
          password: provides by request
 
      <code><span style="color:black"></span>$ cd hamster</code>
 
      <code><span style="color:black"></span>$ git checkout master</code>
 
      <code><span style="color:black"></span>$ cd ../..</code>
 
      <code><span style="color:black"></span>$ source /opt/ros/kinetic/setup.bash</code>
 
      <code><span style="color:black"></span>$ catkin_make -DCMAKE_BUILD_TYPE=Release</code>
 
 
7.2 Settings:
 
 
      <code>cp ~/hamster_ws/src/hamster/hamster_launch/config/hamster.config /home/hamster/</code>
 
      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:
 
 
    <code><span style="color:black"></span>$ source /opt/ros/kinetic/setup.bash</code>
 
    <code><span style="color:black"></span>$ source hamster.config</code>
 
    <code><span style="color:black"></span>$ cd hamster_ws</code>
 
    <code><span style="color:black"></span>$ source devel/setup.bash</code>
 
    <code><span style="color:black"></span>$ roslaunch hamster_launch single_board.launch</code>
 
 
8. '''Hamster ROS2 project:'''
 
 
8.1 Workspace:
 
 
    <code><span style="color:black"></span>$ mkdir -p hamster_ros2_ws/src</code>
 
    <code><span style="color:black"></span>$ cd hamster_ros2_ws/src</code>
 
    <code><span style="color:black"></span>$ git clone https://git.cogni.io/hamster/ros2_hamster_driver.git</code>
 
          login: provides by request
 
          password: provides by request
 
    <code><span style="color:black"></span>$ cd ../..</code>
 
    <code><span style="color:black"></span>$ source /opt/ros/ardent/setup.bash</code>
 
    <code><span style="color:black"></span>$ colcon build</code>
 
 
8.2 Settings:
 
 
Driver settings described in hamster_driver_node.cpp file rows 330-335.
 
 
Required re-compilation after changes
 
 
8.3 Launch:
 
 
    <code><span style="color:black"></span>$ cd hamster_ros2_ws</code>
 
    <code><span style="color:black"></span>$ source /opt/ros/ardent/setup.bash</code>
 
    <code><span style="color:black"></span>$ . install/setup.bash</code>
 
    <code><span style="color:black"></span>$ ros2 run hamster_driver hamster_driver_node</code>
 

Revision as of 18:48, 4 December 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

Subcategories

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

Pages in category "HamsterProKit"

This category contains only the following page.