Skip to content

humanoid-robotics-htl-leonding/robo-ducks-core

Repository files navigation

RoboDucks

The RoboDucks are a team consisting of mainly 3rd- to 5th-grade Students from the HTL-Leonding developing software to participate in the Robocup Standard Platform League.

Even tough we are building on code provided by the HULKs Team from the Hamburg Univserity of Technology, we create most of our code on our own and try to enhance existing Algorithms and try out new and innovative Approaches.

We would have taken part in the 2020 RoboCup German Open but that was rendered impossible by the COVID-19-Pandemic.

Quickstart

Usage of Midas

The central tool when developing RoboDucks-Code is the midas-script.

scripts/midas -h

A usual upload will look something like this

scripts/midas upload -e develop nao6 (1)

(1) -e means: Execute when uploaded completely.

Useful things
  1. If you get an error that the PID is locked (aka the program is already running), then you can use midas kill

  2. If you just want to start the program use midas start

Compile and Upload

There are several "targets", each describing a possible device which we can build the code for.

Targets
  1. SimRobot " simrobot "

  2. Nao V5 " nao5 "

  3. Nao V6 " nao6 "

There are several "build types", each describing a set of configs and variables set in the environment.

Build Types
  1. debug: Include debug symbols. Only for use with gdb or radare2.

  2. develop: Don’t include debug symbols, but include certain Prints and Debug-Code. For use with Mate

  3. release: Fastest. Don’t use any debug stuff.

scripts/midas upload -e [build type] [target] [address]
Useful things
  1. -c Uploads with config

  2. -n Uploads without compiling

  3. -e Executes the code after uploading

Warning
If you experience a very slow performance (in Mate or even on the field) or tremendous upload times due to file sizes (e.G 100MB) you are probably compiling for debug. Don’t do this if you don’t have to.
Note
If you are annoyed by having to type in your password every time, simply upload the ssh-key with the midas touch script.
Note
If you have any questions regarding midas or think that the tool is not documented enough, please consult Erik Mayrhofer or Emina Sljivic.

Hulks

We build on top of code from the hulks-team.