Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
H harvest-automation
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Henrik Andreasson
  • harvest-automation
  • Wiki
  • setup

Last edited by Nicholas Shindler Jul 30, 2020
Page history
This is an old version of this page. You can view the most recent version or browse the history.

setup

Setup the project and run the ROS Connection

RaspberryPi Setup

  • download the raspberrypi image
  • flash a sd with the downloaded image
  • the raspberrypi will automatically generate a WiFi network AGTECH
  • the raspberry pi can be connected to over ssh or plugged into a monitor
    • username: agtech
    • password: RobotLab
  • plug in an Ethernet cable between the robot and the pi or configure the robot to connect to the AGTECH WiFi

Ubuntu 18 Desktop

  • have a installation of Ubuntu 18
  • install ROS Melodic
  • setup a ROS workspace
    • use the ROS Tutorials
    • name the workspace Workspace
  • clone this project into your workspace
    • cd Workspace/src/
    • mkdir agtech
    • git clone git@gitsvn-nt.oru.se:hkan/harvest-automation.git agtech

Connecting to the Harvest Automation Robots

  • connect over shh
    • ssh agtech@10.42.0.1
    • password: RobotLab
  • connect over wifi
    • connect your computer running a configured Ubuntu 18 installation (see Ubuntu 18 Desktop) to the same WiFi network as the robot
    • use the Harvest Automation instructions for configuring WiFi

Configuring the project

  • update agtech code
    • cd Workspace/src/agtech
    • git pull
    • cd ~/Workspace
    • catkin_make

Running the project

  • run ROS bridge
    • roslaunch hv_launch hv_bridge.launch
  • run Demo & bridge
    • roslaunch hv_launch harvey.launch
  • run Teleop & bridge
    • roslaunch hv_launch teleop.launch
    • NOTE: CTRL + C must be pressed twice to end this for some reason
  • run ALL nodes
    • roslaunch hv_launch all.launch

All the nodes can also be launched with rosrun, however when running the hv_bridge use the -h input argument to get information about options.

  • --hostname ROBOT_NAME is used to set the name of the robot to connect to. this is that name that is set on the hv robot.
  • --all will set the connection to use all the connection classes with the robot
  • --all-controllers will use all the controllers
  • --controllers [#, ...] will use the specified controllers
  • --all-sensors will use all sensors
  • --sensors [#, ...] will use specified sensors
  • --services will add all ros services, and --services [SERV...] will add specified services
Clone repository
  • client
  • Home
  • probes
  • reader
  • ros services
  • setup
  • writer