]> rtime.felk.cvut.cz Git - eurobot/public.git/log
eurobot/public.git
14 years agoUnused files removal.
Petr Kubiznak [Wed, 26 May 2010 17:10:48 +0000 (19:10 +0200)]
Unused files removal.

14 years agoAll debug messages to error output.
Petr Kubiznak [Wed, 26 May 2010 13:34:33 +0000 (15:34 +0200)]
All debug messages to error output.

14 years agoDebug info improvement.
Petr Kubiznak [Wed, 26 May 2010 12:53:09 +0000 (14:53 +0200)]
Debug info improvement.

14 years agoNew masks.
Petr Kubiznak [Wed, 26 May 2010 12:52:44 +0000 (14:52 +0200)]
New masks.

14 years agoUpdate backup-robot script
Michal Sojka [Wed, 26 May 2010 10:36:21 +0000 (12:36 +0200)]
Update backup-robot script

It works even when /dev/tty* is not excluded.

14 years agoAdd restore-robot script
Michal Sojka [Wed, 26 May 2010 10:08:47 +0000 (12:08 +0200)]
Add restore-robot script

14 years agorobofsm: introduce new struct to define which oranges to collect
Filip Jares [Wed, 26 May 2010 10:33:27 +0000 (12:33 +0200)]
robofsm: introduce new struct to define which oranges to collect

struct slope_approach_style will is meant to be passed as data when calling
the "oranges collecting subautomaton" (SUBFSM_TRANS(approach_the_slope, data))

only the slope_approach_style.which_side field is now taken into account

14 years agorobofsm: fix compile-time error
Filip Jares [Wed, 26 May 2010 09:18:17 +0000 (11:18 +0200)]
robofsm: fix compile-time error

remove now nonexistent ACT fsm initialization

14 years agorobofsm: Replace EV_GOAL_NOT_REACHABLE with EV_MOTION_ERROR
Michal Sojka [Wed, 26 May 2010 08:15:11 +0000 (10:15 +0200)]
robofsm: Replace EV_GOAL_NOT_REACHABLE with EV_MOTION_ERROR

The event "goal not reached" was not used in the current software. It is
not replaced with "motion error", which is also not used now, but it is
intended to have a different meaning i.e. it will be signalized if the
motion FSM cannot finish the command even after several tries.

14 years agorobofsm: Remove fsmact and other unused stuff
Michal Sojka [Wed, 26 May 2010 08:07:03 +0000 (10:07 +0200)]
robofsm: Remove fsmact and other unused stuff

14 years agorobofsm: hopefully better approach to the slope
Filip Jares [Wed, 26 May 2010 07:09:35 +0000 (09:09 +0200)]
robofsm: hopefully better approach to the slope

in case when not ready_to_climb_the_slope, arrive to the
slope in the same way as in the "opp_corns" strategy used
in the czech tournament

14 years agoProgram output messages correction.
Petr Kubiznak [Tue, 25 May 2010 16:51:52 +0000 (18:51 +0200)]
Program output messages correction.

14 years agocompetition: improve slope approach position
Filip Jares [Tue, 25 May 2010 16:41:21 +0000 (18:41 +0200)]
competition: improve slope approach position

when using the approach_the_slope state (and not ready_to_climb_the_slope),
use better goal position.

14 years agocompetition: add state for oranges loading
Filip Jares [Tue, 25 May 2010 16:40:19 +0000 (18:40 +0200)]
competition: add state for oranges loading

load oranges (move with vidle) in two stages

14 years agorobofsm: fix error in previous commit
Filip Jares [Tue, 25 May 2010 16:29:28 +0000 (18:29 +0200)]
robofsm: fix error in previous commit

14 years agorobofsm actuators: support for speed choice when calling act_vidle()
Filip Jares [Tue, 25 May 2010 16:27:46 +0000 (18:27 +0200)]
robofsm actuators: support for speed choice when calling act_vidle()

- update vidle positions constants
- add vidle speed constants

14 years agoMerge branch 'master' of rtime.felk.cvut.cz:/var/git/eurobot
Michal Vokac [Tue, 25 May 2010 07:23:18 +0000 (09:23 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:/var/git/eurobot

14 years agoSupport for moving continuosly with fork. CAN message expanded for sending req. speed.
Michal Vokac [Tue, 25 May 2010 07:22:40 +0000 (09:22 +0200)]
Support for moving continuosly with fork. CAN message expanded for sending req. speed.

14 years agocand: set_vidle_cmd expanded for sending movement speed
Michal Vokac [Tue, 25 May 2010 07:20:14 +0000 (09:20 +0200)]
cand: set_vidle_cmd expanded for sending movement speed

14 years agovidle: now the fork is moving continuously and it is possible to change speed of...
Michal Vokac [Tue, 25 May 2010 07:16:59 +0000 (09:16 +0200)]
vidle: now the fork is moving continuously and it is possible to change speed of movement

14 years agorobofsm: basic strategy rewrite (using the skeleton created by Michal in commit e3afc...
Filip Jares [Sat, 22 May 2010 11:47:21 +0000 (13:47 +0200)]
robofsm: basic strategy rewrite (using the skeleton created by Michal in commit e3afcb31b37)

- common-states.{cc,h}: prepare states for three subautomatons which do
- oranges collecting
- unloading the oranges
- rushing particular corns one by one
- the strategy_opp_oranges is now "almost" usable

14 years agorobofsm: Remove debugging printf()s
Michal Sojka [Fri, 21 May 2010 20:36:16 +0000 (22:36 +0200)]
robofsm: Remove debugging printf()s

14 years agorobomon: Zero orte variables
Michal Sojka [Fri, 21 May 2010 20:33:56 +0000 (22:33 +0200)]
robomon: Zero orte variables

This is to suppress random EV_OBSTACLE_BEHIND generation because of
robomon uninitialized data sent as bumper swicthes over ORTE.

14 years agorobomon: Draw vidle based on ORTE message "vidle_cmd"
Michal Sojka [Fri, 21 May 2010 20:32:39 +0000 (22:32 +0200)]
robomon: Draw vidle based on ORTE message "vidle_cmd"

14 years agorobomon: Comment out vidle dial widget
Michal Sojka [Fri, 21 May 2010 20:18:21 +0000 (22:18 +0200)]
robomon: Comment out vidle dial widget

14 years agoeb_vidle - opraveno nacitani z pinu + nastaveni GPIO DIR
Jiri Kubias [Fri, 21 May 2010 14:36:39 +0000 (16:36 +0200)]
eb_vidle - opraveno nacitani z pinu + nastaveni GPIO DIR

14 years agodisplayd: Display camera status
Michal Sojka [Fri, 21 May 2010 11:21:19 +0000 (13:21 +0200)]
displayd: Display camera status

14 years agotypes: Move camera constrants from .h to .idl
Michal Sojka [Fri, 21 May 2010 10:51:10 +0000 (12:51 +0200)]
types: Move camera constrants from .h to .idl

Also, all camera related stuff was moved to a "module" to share the common
namespace.

14 years agoFix one bug in ORTE IDL compiler
Michal Sojka [Fri, 21 May 2010 10:40:35 +0000 (12:40 +0200)]
Fix one bug in ORTE IDL compiler

14 years agoOrte integrated to rozkuk, but it does not work properly yet - needs revision.
Petr Kubiznak [Fri, 21 May 2010 09:40:34 +0000 (11:40 +0200)]
Orte integrated to rozkuk, but it does not work properly yet - needs revision.
Now orte "provides" still the same (and probably incorrect) values.

14 years agocamera_result structure expansion (to keep also best results distances and error...
Petr Kubiznak [Fri, 21 May 2010 09:38:35 +0000 (11:38 +0200)]
camera_result structure expansion (to keep also best results distances and error states)

14 years agoMerge branch 'master' of rtime.felk.cvut.cz:/var/git/eurobot
Matous Pokorny [Fri, 21 May 2010 09:29:42 +0000 (11:29 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:/var/git/eurobot

14 years agomake change, define input gpio, not work
ehiker [Thu, 20 May 2010 22:00:25 +0000 (00:00 +0200)]
make change, define input gpio, not work

14 years agoAdd camera_onoff test program
Michal Sojka [Thu, 20 May 2010 20:37:47 +0000 (22:37 +0200)]
Add camera_onoff test program

14 years agorobofsm: add ..._trans version to robot_get_est_pos() function
Filip Jares [Wed, 19 May 2010 21:04:32 +0000 (23:04 +0200)]
robofsm: add ..._trans version to robot_get_est_pos() function

14 years agoComments alignment.
Petr Kubiznak [Wed, 19 May 2010 18:23:16 +0000 (20:23 +0200)]
Comments alignment.

14 years agoDo not use this program anymore, the mask processing pipeline has been shorten from:
Petr Kubiznak [Wed, 19 May 2010 17:39:45 +0000 (19:39 +0200)]
Do not use this program anymore, the mask processing pipeline has been shorten from:
 maskgen: mask???.png | clr2float_conv: mask???.bin | rozkuk
to:
 maskgen: mask???.pnm | rozkuk

14 years agoLoad gray pnm masks instead of binary (*.bin) float arrays - they don't work on ppc...
Petr Kubiznak [Wed, 19 May 2010 17:39:27 +0000 (19:39 +0200)]
Load gray pnm masks instead of binary (*.bin) float arrays - they don't work on ppc, maybe because of endianity.
Provide information about the distance between the best and second best fitting recognition.
Save every grabbed image to file if PPC_DEBUG macro defined.
Comments alignment.

14 years agoExtract a gray2float function part from the clr2float function. Keep the new function...
Petr Kubiznak [Wed, 19 May 2010 17:30:30 +0000 (19:30 +0200)]
Extract a gray2float function part from the clr2float function. Keep the new function private, but separate for prospective future usage.
Recognize image color format (GRAY/BGR) and process pictures suitably.

14 years agoProduce grayscale pnm masks instead of "color" png masks.
Petr Kubiznak [Wed, 19 May 2010 17:27:02 +0000 (19:27 +0200)]
Produce grayscale pnm masks instead of "color" png masks.

14 years agorobofsm: trgen.h header file include moved to eb2010misc.h
Filip Jares [Wed, 19 May 2010 17:08:08 +0000 (19:08 +0200)]
robofsm: trgen.h header file include moved to eb2010misc.h

...which is included everywhere

14 years agorobomon: allow using keyboard shorcuts with "&Start plug" and "&Team color" actions
Filip Jares [Wed, 19 May 2010 15:03:36 +0000 (17:03 +0200)]
robomon: allow using keyboard shorcuts with "&Start plug" and "&Team color" actions

14 years agoJpeg library added to rozkuk to allow OpenCV process data from camera on ppc, too.
Petr Kubiznak [Fri, 14 May 2010 14:28:33 +0000 (16:28 +0200)]
Jpeg library added to rozkuk to allow OpenCV process data from camera on ppc, too.
(Commented parts are useful for debugging only - needs additional files from xawtv.)

14 years agofsm: Whitespace fix
Michal Sojka [Fri, 14 May 2010 13:42:50 +0000 (15:42 +0200)]
fsm: Whitespace fix

14 years agofsm: Let g++ produce more meaningfull error messages
Michal Sojka [Fri, 14 May 2010 13:42:35 +0000 (15:42 +0200)]
fsm: Let g++ produce more meaningfull error messages

14 years agorobofsm: Skeleton for multiple game strategies
Michal Sojka [Fri, 14 May 2010 12:56:09 +0000 (14:56 +0200)]
robofsm: Skeleton for multiple game strategies

14 years agofsm: Allow specifying state function visibility
Michal Sojka [Fri, 14 May 2010 12:55:07 +0000 (14:55 +0200)]
fsm: Allow specifying state function visibility

This is to allow declaration of some states as static and therefore
the same state name can be used in multiple files.

We use this to implement different strategies in different files and we
want to have less work inventing state names :-)

14 years agoopencv: Another attempt to build OpenCV
Michal Sojka [Thu, 13 May 2010 14:26:39 +0000 (16:26 +0200)]
opencv: Another attempt to build OpenCV

It seems that my problem with dash caused opencv compilation failure.
I switched /bin/sh to /bin/bash and built the whole opencv again.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581351

14 years agoopencv: Run configure with bash
Michal Sojka [Thu, 13 May 2010 14:06:08 +0000 (16:06 +0200)]
opencv: Run configure with bash

It seems that my recently upgraded dash (linked from /bin/sh) has
problems running the configure script. It produces:
../../../../src/3rdparty/opencv/opencv/configure: 16175: arithmetic expression: expecting EOF: "0x>>26&0x01"

14 years agoopencv: Compile with JPEG support
Michal Sojka [Thu, 13 May 2010 14:00:46 +0000 (16:00 +0200)]
opencv: Compile with JPEG support

14 years agoRobot backup
Michal Sojka [Mon, 10 May 2010 13:38:53 +0000 (15:38 +0200)]
Robot backup

14 years agoAdd backup-robot script
Michal Sojka [Mon, 10 May 2010 13:36:14 +0000 (15:36 +0200)]
Add backup-robot script

14 years agorobomon: Zacatek zobrazovani uhlu vidli
Michal Sojka [Sat, 1 May 2010 14:57:06 +0000 (16:57 +0200)]
robomon: Zacatek zobrazovani uhlu vidli

14 years agocompetition: rename wait_for_start to wts_opponents_corns on the master branch
Filip Jares [Sat, 1 May 2010 10:32:33 +0000 (12:32 +0200)]
competition: rename wait_for_start to wts_opponents_corns on the master branch

14 years agocompetition: add important wall on the raised area
Filip Jares [Sat, 1 May 2010 10:23:53 +0000 (12:23 +0200)]
competition: add important wall on the raised area

without this wall, robot could replan the trajectory to cross the raised area

14 years agorobomon: Add color chooser
Michal Sojka [Sat, 1 May 2010 09:45:24 +0000 (11:45 +0200)]
robomon: Add color chooser

14 years agovidle constants tuning
Michal Sojka [Sat, 1 May 2010 08:38:13 +0000 (10:38 +0200)]
vidle constants tuning

14 years agoVIDLE_DOWN: change from 0x1e0 to 0x170
Filip Jares [Sat, 1 May 2010 08:23:49 +0000 (10:23 +0200)]
VIDLE_DOWN: change from 0x1e0 to 0x170

14 years agocompetition: choose OPPONENTS_ORAGES_TOO (for the Izro team)
Filip Jares [Sat, 1 May 2010 08:16:57 +0000 (10:16 +0200)]
competition: choose OPPONENTS_ORAGES_TOO (for the Izro team)

14 years agosw for cooled vidle
Michal Sojka [Sat, 1 May 2010 08:03:29 +0000 (10:03 +0200)]
sw for cooled vidle

14 years agoMerge branch 'master' of localhost:/home/eurobot/git
Michal Sojka [Sat, 1 May 2010 07:49:56 +0000 (09:49 +0200)]
Merge branch 'master' of localhost:/home/eurobot/git

14 years agodisplayd: exit when display is disconnected
Michal Sojka [Sat, 1 May 2010 07:47:33 +0000 (09:47 +0200)]
displayd: exit when display is disconnected

init respawn as automatically

14 years agocomp: climb_the_slope: go 2cm further
Filip Jares [Sat, 1 May 2010 07:40:28 +0000 (09:40 +0200)]
comp: climb_the_slope: go 2cm further

14 years agocomp: use same (I hope!) trajectoryConstraints as on yesterday's homologation
Filip Jares [Sat, 1 May 2010 07:39:37 +0000 (09:39 +0200)]
comp: use same (I hope!) trajectoryConstraints as on yesterday's homologation

14 years agocompetition: don't use back_switch when doing climb_the_slope and sledge_down
Filip Jares [Sat, 1 May 2010 07:31:16 +0000 (09:31 +0200)]
competition: don't use back_switch when doing climb_the_slope and sledge_down

14 years agocompetition: strategies: the CORNS_ONLY strategy (part 2)
Filip Jares [Sat, 1 May 2010 07:23:26 +0000 (09:23 +0200)]
competition: strategies: the CORNS_ONLY strategy (part 2)

14 years agocompetition: preparation (we want to be able choose strategies) - first part
Filip Jares [Sat, 1 May 2010 06:49:28 +0000 (08:49 +0200)]
competition: preparation (we want to be able choose strategies) - first part

14 years agorobomon: test before leave
Michal Sojka [Sat, 1 May 2010 06:33:55 +0000 (08:33 +0200)]
robomon: test before leave

14 years agoMerge branch 'master' of ssh://jaresf1@rtime.felk.cvut.cz/var/git/eurobot
Filip Jares [Sat, 1 May 2010 06:00:20 +0000 (08:00 +0200)]
Merge branch 'master' of ssh://jaresf1@rtime.felk.cvut.cz/var/git/eurobot

14 years agorobofsm: fix corns collecting for YELLOW side in both homologation and competition
Filip Jares [Sat, 1 May 2010 05:54:05 +0000 (07:54 +0200)]
robofsm: fix corns collecting for YELLOW side in both homologation and competition

14 years agovidle: try a bang-bang controller
Michal Sojka [Sat, 1 May 2010 05:26:05 +0000 (07:26 +0200)]
vidle: try a bang-bang controller

To not switch transistors and get better power looes on them.

14 years agovidle: cleanup VHN testing
Michal Sojka [Sat, 1 May 2010 05:04:16 +0000 (07:04 +0200)]
vidle: cleanup VHN testing

14 years agovidle: Testing version with VHN H-bridge
Michal Sojka [Sat, 1 May 2010 05:02:33 +0000 (07:02 +0200)]
vidle: Testing version with VHN H-bridge

14 years agocompetition: my wonderful competition strategy: exploit also "opponent's" oranges
Filip Jares [Sat, 1 May 2010 00:11:59 +0000 (02:11 +0200)]
competition: my wonderful competition strategy: exploit also "opponent's" oranges

14 years agorobofsm: eb2010misc: add function x_coord() that takes enum parameter MINE/OPPONENTS
Filip Jares [Fri, 30 Apr 2010 23:28:46 +0000 (01:28 +0200)]
robofsm: eb2010misc: add function x_coord() that takes enum parameter MINE/OPPONENTS

- if called with MINE, returns given x value
- if called with OPPONENTS, returns given value mirrored by the "short axis" of the
  playground

14 years agorobofsm: copy homologation.cc --> competition.cc, will work on competition.cc from...
Filip Jares [Fri, 30 Apr 2010 22:53:59 +0000 (00:53 +0200)]
robofsm: copy homologation.cc --> competition.cc, will work on competition.cc from now on

14 years agohomologation: use faster trajectoryConstraints; add "zvedej_vidle" state; show fsmmov...
Filip Jares [Fri, 30 Apr 2010 22:23:27 +0000 (00:23 +0200)]
homologation: use faster trajectoryConstraints; add "zvedej_vidle" state; show fsmmove status

14 years agorobofsm: fill_in_known_areas_in_map() update; change test/goto.cc
Filip Jares [Fri, 30 Apr 2010 22:17:27 +0000 (00:17 +0200)]
robofsm: fill_in_known_areas_in_map() update; change test/goto.cc

- remove WALL from slopes,
- update IGNORE_OBST on the plateau
- goto: change starting position and limit y goals' coordinate

14 years agoMerge branch 'master' of ssh://jaresf1@rtime.felk.cvut.cz/var/git/eurobot
Filip Jares [Fri, 30 Apr 2010 19:51:55 +0000 (21:51 +0200)]
Merge branch 'master' of ssh://jaresf1@rtime.felk.cvut.cz/var/git/eurobot

14 years agohomologation: improve the experiment with corn rushing
Filip Jares [Fri, 30 Apr 2010 19:49:01 +0000 (21:49 +0200)]
homologation: improve the experiment with corn rushing

- use several states
- rename the experiment state to approach_next_corn
- the "central corn rushing state" is called "experiment decider"

14 years agoMerge branch 'master' of rtime.felk.cvut.cz:/var/git/eurobot
Petr Kubiznak [Fri, 30 Apr 2010 19:08:04 +0000 (21:08 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:/var/git/eurobot

14 years agoperror -> printf fix
Petr Kubiznak [Fri, 30 Apr 2010 19:07:34 +0000 (21:07 +0200)]
perror -> printf fix

14 years agoSmall corrections.
Petr Kubiznak [Fri, 30 Apr 2010 19:06:23 +0000 (21:06 +0200)]
Small corrections.

14 years agoNew masks (the yellow one does not fit on our table!).
Petr Kubiznak [Fri, 30 Apr 2010 19:04:24 +0000 (21:04 +0200)]
New masks (the yellow one does not fit on our table!).

14 years agoConnection from ppc to Petr's pc.
Petr Kubiznak [Fri, 30 Apr 2010 19:03:12 +0000 (21:03 +0200)]
Connection from ppc to Petr's pc.

14 years agovidle: Stay at current position if timeout occurs
Michal Sojka [Fri, 30 Apr 2010 18:18:37 +0000 (20:18 +0200)]
vidle: Stay at current position if timeout occurs

14 years agorobofsm: Fix competition mode in homologation
Michal Sojka [Fri, 30 Apr 2010 17:26:59 +0000 (19:26 +0200)]
robofsm: Fix competition mode in homologation

14 years agoMerge branch 'master' of localhost:/home/eurobot/git
Michal Sojka [Fri, 30 Apr 2010 15:55:54 +0000 (17:55 +0200)]
Merge branch 'master' of localhost:/home/eurobot/git

14 years agobumper edge
Michal Sojka [Fri, 30 Apr 2010 15:55:47 +0000 (17:55 +0200)]
bumper edge

14 years agorobofsm: better verson of enebling and disabling side bumpers
Michal Vokac [Fri, 30 Apr 2010 15:37:41 +0000 (17:37 +0200)]
robofsm: better verson of enebling and disabling side bumpers

14 years agorobofsm: added disabling and enabling side bumpers when going up and down the slope
Michal Vokac [Fri, 30 Apr 2010 15:32:53 +0000 (17:32 +0200)]
robofsm: added disabling and enabling side bumpers when going up and down the slope

14 years agorobofsm: Add ability to ignore side bumpers
Michal Sojka [Fri, 30 Apr 2010 15:26:11 +0000 (17:26 +0200)]
robofsm: Add ability to ignore side bumpers

14 years agoHandle side bumpers
Michal Sojka [Fri, 30 Apr 2010 15:20:53 +0000 (17:20 +0200)]
Handle side bumpers

14 years agoeb_vidle: Add side bumpers
Michal Sojka [Fri, 30 Apr 2010 15:09:21 +0000 (17:09 +0200)]
eb_vidle: Add side bumpers

14 years agodim: Update robot dimensions
Michal Sojka [Fri, 30 Apr 2010 14:47:23 +0000 (16:47 +0200)]
dim: Update robot dimensions

14 years agorobofsm: Do not turn if there is an obstacle in front of us
Michal Sojka [Fri, 30 Apr 2010 14:46:54 +0000 (16:46 +0200)]
robofsm: Do not turn if there is an obstacle in front of us

14 years agoMerge branch 'master' of eurobot@sojka:git
Michal Vokac [Fri, 30 Apr 2010 13:00:20 +0000 (15:00 +0200)]
Merge branch 'master' of eurobot@sojka:git

14 years agomount script copy
Michal Vokac [Fri, 30 Apr 2010 12:46:39 +0000 (14:46 +0200)]
mount script copy

14 years agorobofsm: hokuo angel decreased
Michal Vokac [Fri, 30 Apr 2010 12:23:08 +0000 (14:23 +0200)]
robofsm: hokuo angel decreased

14 years agoMerge branch 'master' of eurobot@michal:git
Filip Jares [Fri, 30 Apr 2010 12:20:24 +0000 (14:20 +0200)]
Merge branch 'master' of eurobot@michal:git