Difference between revisions of "Category:HamsterProKit"

From cogniteam
Jump to: navigation, search
(2. Run installation script)
 
(91 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
[[File:Charger_LLC_Battery_rev2.jpg|800px]]
 
[[File:Charger_LLC_Battery_rev2.jpg|800px]]
 
[[File:ProKitLLC.png|600px]]
 
[[File:ProKitLLC.png|600px]]
 +
== Landing page ==
 +
* [https://up-board.org/up-squared-robomaker-pro-kit/]
 +
 +
==3rd party things need to know to work with kit==
 +
 +
* ROS general information: [http://wiki.ros.org/ROS/Introduction WHAT IS ROS]
 +
 +
* ROS2 general information: [https://index.ros.org/doc/ros2/ ROS2]
 +
 +
* RVIZ - instrument for visualization: [http://wiki.ros.org/rviz/UserGuide RVIZ]
  
 
== Kit prerequisite (not included in the kit) ==
 
== Kit prerequisite (not included in the kit) ==
Line 8: Line 18:
 
* Battery charger  
 
* Battery charger  
  
== Connecting the kit ==
+
===1. Connecting all parts within the kit ===
 
* Use the LLC cable (in the picture) to both monitor and charge the battery
 
* 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 can be used to charge the Lipo Battery
   * Port 8 should connect the the Lipo battery balancer (JST connector)
+
   * Port 9 should connect the the Lipo battery balancer (JST connector)
 
   * Port 7 should connect to the LLC board  
 
   * Port 7 should connect to the LLC board  
 
   * Red T connector (rightmost on the picture)
 
   * Red T connector (rightmost on the picture)
Line 22: Line 32:
 
* Connect the D435i camera to a USB3 Port using the cable
 
* Connect the D435i camera to a USB3 Port using the cable
  
 +
'''Note: Camera D435i must be already updated with latest firmware and have calibrated IMU. Visit official site for more information.'''
  
== ROS Workspace ==
+
===2. Run installation script ===
* 2 ROS workspaces are available on the home directory for ROS1/ROS2
 
 
 
== Software installation from scratch ==
 
  
1. Linux 16.04 for AAEON board:
+
Internet connection requires
  [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. 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
+
<code>sudo wget https://cloud.cogni.io/index.php/s/9Lde7aBNHfyQM6K/download -O - | sudo bash</code>
  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"
 
  
6. Hamster ROS1 project:
+
Reboot board after installation.
  
6.1 Workspace:
+
===3. Configure ROS IP ===
  
      <code><span style="color:black"></span>$ mkdir -p hamster_ws/src</code>
+
Configure IP for ROS applications:
      <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:
 
          password:
 
      <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>
 
  
6.2 Settings:
+
<code>pico hamster.config</code> in home directory
  
      <code>cp ~/hamster_ws/src/hamster/hamster_launch/config/hamster.config /home/hamster/</code>
+
Edit row with your board IP:
      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
+
<code>export HAMSTER_IP=your_IP</code>
  
6.3 Launch:
+
===4. Launch examples ===
  
    <code><span style="color:black"></span>$ source /opt/ros/kinetic/setup.bash</code>
+
'''NOTE: examples work properly just with full-connected kit, be sure you did step 1 from this page.'''
    <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>
 
  
7. Hamster ROS2 project:
+
To run examples in ROS run command:
  
7.1 Workspace:
+
<code>ros_prokit</code>
  
    <code><span style="color:black"></span>$ mkdir -p hamster_ros2_ws/src</code>
+
[https://wiki.cogni.io/Category:HamsterProKit/RosExample ROS_EXAMPLES]
    <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:
 
          password:
 
    <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>
 
  
7.2 Settings:
+
To run example in ROS2 run command:
   
 
    Driver settings described in hamster_driver_node.cpp file rows 330-335
 
    Required re-compilation after changes
 
  
7.3 Launch:
+
<code>ros2_prokit</code>
  
    <code><span style="color:black"></span>$ cd hamster_ros2_ws</code>
+
[https://wiki.cogni.io/Category:HamsterProKit/Ros2Example ROS2_EXAMPLES]
    <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>
 

Latest revision as of 14:15, 6 December 2021

AAEON Pro Kit support page

Charger LLC Battery rev2.jpg ProKitLLC.png

Landing page

3rd party things need to know to work with kit

  • ROS2 general information: ROS2
  • RVIZ - instrument for visualization: RVIZ

Kit prerequisite (not included in the kit)

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

1. Connecting all parts within the kit

  • Use the LLC cable (in the picture) to both monitor and charge the battery
 * Port 8 can be used to charge the Lipo Battery
 * Port 9 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

Note: Camera D435i must be already updated with latest firmware and have calibrated IMU. Visit official site for more information.

2. Run installation script

Internet connection requires

sudo wget https://cloud.cogni.io/index.php/s/9Lde7aBNHfyQM6K/download -O - | sudo bash

Reboot board after installation.

3. Configure ROS IP

Configure IP for ROS applications:

pico hamster.config in home directory

Edit row with your board IP:

export HAMSTER_IP=your_IP

4. Launch examples

NOTE: examples work properly just with full-connected kit, be sure you did step 1 from this page.

To run examples in ROS run command:

ros_prokit

ROS_EXAMPLES

To run example in ROS2 run command:

ros2_prokit

ROS2_EXAMPLES

Subcategories

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

Pages in category "HamsterProKit"

This category contains only the following page.