]> rtime.felk.cvut.cz Git - eurobot/public.git/log
eurobot/public.git
11 years agorobofsm: MoveHelper - make some parameters const personal/silhape2/boost
Petr Silhavik [Sat, 13 Apr 2013 17:57:12 +0000 (19:57 +0200)]
robofsm: MoveHelper - make some parameters const

11 years agorobofsm: Update coding style
Petr Silhavik [Sat, 13 Apr 2013 17:55:44 +0000 (19:55 +0200)]
robofsm: Update coding style

11 years agorobofsm: Add commentaries
Petr Silhavik [Sat, 13 Apr 2013 17:10:37 +0000 (19:10 +0200)]
robofsm: Add commentaries

11 years agorobofsm: Update coding style
Petr Silhavik [Fri, 12 Apr 2013 11:16:13 +0000 (13:16 +0200)]
robofsm: Update coding style

Add commentary

11 years agorobofsm: Fix competition compile error
Petr Silhavik [Tue, 9 Apr 2013 16:53:46 +0000 (18:53 +0200)]
robofsm: Fix competition compile error

Missing file in previous commits.

11 years agorobofsm: Competition state machine with 2 strategies
Petr Silhavik [Tue, 9 Apr 2013 16:47:47 +0000 (18:47 +0200)]
robofsm: Competition state machine with 2 strategies

Strategies from Eurobot 2012 in boost.

11 years agorobofsm: MoveHelper - fix number of parameters in function goto_notrans
Petr Silhavik [Tue, 9 Apr 2013 16:46:47 +0000 (18:46 +0200)]
robofsm: MoveHelper - fix number of parameters in function goto_notrans

11 years agorobofsm: TimedFSM - define
Petr Silhavik [Tue, 9 Apr 2013 16:46:07 +0000 (18:46 +0200)]
robofsm: TimedFSM - define

11 years agorobofsm: Test Jaws
Petr Silhavik [Fri, 29 Mar 2013 09:27:36 +0000 (10:27 +0100)]
robofsm: Test Jaws

11 years agorobofsm: motion control - Compilation error fix
Petr Silhavik [Wed, 27 Mar 2013 18:17:38 +0000 (19:17 +0100)]
robofsm: motion control - Compilation error fix

11 years agorobofsm: fsmmove - update function call
Petr Silhavik [Wed, 27 Mar 2013 18:13:46 +0000 (19:13 +0100)]
robofsm: fsmmove - update function call

11 years agorobofsm: Timerlist - Fix coding style
Petr Silhavik [Wed, 27 Mar 2013 18:13:21 +0000 (19:13 +0100)]
robofsm: Timerlist - Fix coding style

11 years agorobofsm : map_handling
Petr Silhavik [Wed, 27 Mar 2013 18:12:56 +0000 (19:12 +0100)]
robofsm : map_handling

Remove pointer to map from class robot. Map is now stored in new class MapHandling that represents all functions that updates map.

11 years agorobofsm: MoveHelper __target_heading and target2final_heading
Petr Silhavik [Wed, 27 Mar 2013 18:08:49 +0000 (19:08 +0100)]
robofsm: MoveHelper __target_heading and target2final_heading

Function __target_heading removed. It was just a constructor so in C++ it is useless.

The another function target2final_heading moved to class MoveHelper.

11 years agorobofsm: fsmmove - logging
Petr Silhavik [Wed, 27 Mar 2013 16:28:01 +0000 (17:28 +0100)]
robofsm: fsmmove - logging

Prepare logging of states on terminal.

11 years agorobofsm: Robot - small updates
Petr Silhavik [Wed, 27 Mar 2013 16:27:21 +0000 (17:27 +0100)]
robofsm: Robot - small updates

11 years agorobofsm: Events - evReturn
Petr Silhavik [Wed, 27 Mar 2013 15:31:19 +0000 (16:31 +0100)]
robofsm: Events - evReturn

Remove event evReturn. It is not used anywhere.

11 years agorobofsm: MoveHelper - add_final_point
Petr Silhavik [Sun, 24 Mar 2013 14:29:04 +0000 (15:29 +0100)]
robofsm: MoveHelper - add_final_point

This method doesn't need to return any object.

11 years agorobofsm: Rename function to use the same style
Petr Silhavik [Sun, 17 Mar 2013 15:09:16 +0000 (16:09 +0100)]
robofsm: Rename function to use the same style

11 years agorobofsm: Scheduler using copy constructor is now forbidden.
Petr Silhavik [Sun, 17 Mar 2013 15:08:41 +0000 (16:08 +0100)]
robofsm: Scheduler using copy constructor is now forbidden.

11 years agopathplan: fix map cell size
Petr Silhavik [Wed, 6 Mar 2013 16:08:23 +0000 (17:08 +0100)]
pathplan: fix map cell size

decrease map cell size to 50 mm

11 years agorobofsm: Update test state machines
Petr Silhavik [Wed, 6 Mar 2013 16:00:52 +0000 (17:00 +0100)]
robofsm: Update test state machines

11 years agorobofsm: add debug information for active states
Petr Silhavik [Wed, 6 Mar 2013 16:00:22 +0000 (17:00 +0100)]
robofsm: add debug information for active states

11 years agorobofsm: fsmmove - fix error in state wait_and_try_again
Petr Silhavik [Wed, 6 Mar 2013 15:58:29 +0000 (16:58 +0100)]
robofsm: fsmmove - fix error in state wait_and_try_again

11 years agoMerge branch 'personal/silhape2/boost' of ssh://rtime.felk.cvut.cz/eurobot/soft into...
Petr Silhavik [Fri, 1 Mar 2013 12:22:17 +0000 (13:22 +0100)]
Merge branch 'personal/silhape2/boost' of ssh://rtime.felk.cvut.cz/eurobot/soft into personal/silhape2/boost

11 years agorobofsm: Movehelper - fix error when using move_by
Petr Silhavik [Fri, 1 Mar 2013 12:20:15 +0000 (13:20 +0100)]
robofsm: Movehelper - fix error when using move_by

11 years agoMerge branch 'orte-publisher-strength' into boost
Michal Sojka [Wed, 27 Feb 2013 10:55:15 +0000 (11:55 +0100)]
Merge branch 'orte-publisher-strength' into boost

11 years agoGet rid of warnings in roboorte generated code
Michal Sojka [Wed, 27 Feb 2013 10:45:17 +0000 (11:45 +0100)]
Get rid of warnings in roboorte generated code

11 years agoIntroduce ORTE_STRENGTH environment variable
Michal Sojka [Wed, 27 Feb 2013 10:44:25 +0000 (11:44 +0100)]
Introduce ORTE_STRENGTH environment variable

It can be used to override strength of publishers in the given application.

11 years agoDo not use zero as publication strength
Michal Sojka [Wed, 27 Feb 2013 10:28:18 +0000 (11:28 +0100)]
Do not use zero as publication strength

It seems that ORTE may not work correctly with zero strength (see
CSTReaderPersistenceTimer() in RTPSCSTReader.c).

11 years agoUnify ORTE initialization
Michal Sojka [Wed, 27 Feb 2013 10:26:38 +0000 (11:26 +0100)]
Unify ORTE initialization

- Ensure that ORTE structure is zero-initialized. Either by it being a
  global variable or by explicit memset().
- Do not initialzie strength parameter (expect for in joyd). The default
  strength of all puvlishers is therefore zero.

11 years agorobofsm: Ignore logging of state names.
Petr Silhavik [Sun, 17 Feb 2013 13:33:52 +0000 (14:33 +0100)]
robofsm: Ignore logging of state names.

11 years agorobofsm: Fix Rectangle error
Petr Silhavik [Sat, 9 Feb 2013 20:03:52 +0000 (21:03 +0100)]
robofsm: Fix Rectangle error

Final point of rectangle is now changed according to the team colour.

11 years agorobofsm: fsmmove - Shorten event reactions
Petr Silhavik [Sun, 3 Feb 2013 19:08:55 +0000 (20:08 +0100)]
robofsm: fsmmove - Shorten event reactions

Simplify source code. It is not necessary to list all events.

11 years agorobofsm: Logging state names
Petr Silhavik [Sun, 27 Jan 2013 21:05:50 +0000 (22:05 +0100)]
robofsm: Logging state names

State names are published to orte from now.

11 years agoboost-fsm-test: Fix compile error
Petr Silhavik [Sun, 27 Jan 2013 21:04:32 +0000 (22:04 +0100)]
boost-fsm-test: Fix compile error

11 years agorobofsm: Prepare for logging state names
Petr Silhavik [Sun, 27 Jan 2013 19:48:59 +0000 (20:48 +0100)]
robofsm: Prepare for logging state names

11 years agoTimedFSM: Improve code to reduce number of function calls
Petr Silhavik [Sat, 26 Jan 2013 16:03:15 +0000 (17:03 +0100)]
TimedFSM: Improve code to reduce number of function calls

Call for processor_handle is done only once in constructor.

11 years agoScheduler: Add state_name to processor_handle
Petr Silhavik [Sat, 26 Jan 2013 16:00:44 +0000 (17:00 +0100)]
Scheduler: Add state_name to processor_handle

11 years agorobofsm: Fix format style
Petr Silhavik [Fri, 25 Jan 2013 15:41:56 +0000 (16:41 +0100)]
robofsm: Fix format style

11 years agorobofsm: fsmmove - Change pointers to reference
Petr Silhavik [Wed, 23 Jan 2013 13:40:47 +0000 (14:40 +0100)]
robofsm: fsmmove - Change pointers to reference

11 years agorobofsm: Map handling - update coding style
Petr Silhavik [Wed, 23 Jan 2013 13:40:25 +0000 (14:40 +0100)]
robofsm: Map handling - update coding style

Change pointers to reference.

Fix some warnings.

11 years agorobofsm: Motion Control - Use constant for thread priority
Petr Silhavik [Wed, 23 Jan 2013 13:39:24 +0000 (14:39 +0100)]
robofsm: Motion Control - Use constant for thread priority

11 years agorobofsm: Movehelper - fix coding style
Petr Silhavik [Wed, 23 Jan 2013 13:09:05 +0000 (14:09 +0100)]
robofsm: Movehelper - fix coding style

Change pointers to reference.

11 years agorobofsm: Scheduler - Change type of includes
Petr Silhavik [Wed, 23 Jan 2013 13:08:16 +0000 (14:08 +0100)]
robofsm: Scheduler - Change type of includes

11 years agorobofsm: TimedFSM - Update programming style
Petr Silhavik [Wed, 23 Jan 2013 11:35:31 +0000 (12:35 +0100)]
robofsm: TimedFSM - Update programming style

11 years agorobofsm:TimedFSM Add function for stop Timer
Petr Silhavik [Wed, 23 Jan 2013 11:31:51 +0000 (12:31 +0100)]
robofsm:TimedFSM Add function for stop Timer

11 years agorobofsm: robot_orte - Update format style
Petr Silhavik [Wed, 23 Jan 2013 10:16:29 +0000 (11:16 +0100)]
robofsm: robot_orte - Update format style

11 years agorobofsm: Remove python script
Petr Silhavik [Fri, 4 Jan 2013 15:20:01 +0000 (16:20 +0100)]
robofsm: Remove python script

11 years agoEvents
Petr Silhavik [Fri, 4 Jan 2013 11:54:18 +0000 (12:54 +0100)]
Events

Change events names

11 years agoRemove match-timing.cc
Petr Silhavik [Sat, 29 Dec 2012 13:33:55 +0000 (14:33 +0100)]
Remove match-timing.cc

Fix compilation errors generated when removed match-timing

11 years agoRemove match-timing.cc
Petr Silhavik [Sat, 29 Dec 2012 13:08:51 +0000 (14:08 +0100)]
Remove match-timing.cc

Files don't need to be versioned now.

Removed also from Makefile.omk

11 years agoUse just copied boost headers also for building on host
Michal Sojka [Tue, 25 Dec 2012 23:00:14 +0000 (00:00 +0100)]
Use just copied boost headers also for building on host

This is to avoid potential bugs from using different boost versions for
different builds.

11 years agoAdd subset of boost library headers needed for compilation on PowerPC
Michal Sojka [Tue, 25 Dec 2012 22:54:39 +0000 (23:54 +0100)]
Add subset of boost library headers needed for compilation on PowerPC

11 years agorobofsm: Motion_control
Petr Silhavik [Tue, 25 Dec 2012 19:04:36 +0000 (20:04 +0100)]
robofsm: Motion_control

Move global variables to struct.

Make constants from defines.

11 years agorobofsm: fsmmove - Remove keywords that are not necessary
Petr Silhavik [Tue, 25 Dec 2012 18:40:13 +0000 (19:40 +0100)]
robofsm: fsmmove - Remove keywords that are not necessary

11 years agorobofsm: MoveHelper
Petr Silhavik [Tue, 25 Dec 2012 18:23:29 +0000 (19:23 +0100)]
robofsm: MoveHelper

Make method trans heading private.

Remove some useless variables.

11 years agorobofsm: Robot
Petr Silhavik [Tue, 25 Dec 2012 18:22:37 +0000 (19:22 +0100)]
robofsm: Robot

remove commented lines of code that used old interface.

Make new constants from defines. It enables better optimalization of code.

11 years agorobofsm: fsmmove - memory leakage
Petr Silhavik [Tue, 25 Dec 2012 17:32:05 +0000 (18:32 +0100)]
robofsm: fsmmove - memory leakage

Fix problem with memory leakage.

11 years agorobofsm/test: Rectangle - Add missing initialization of FSM
Petr Silhavik [Sat, 22 Dec 2012 20:23:35 +0000 (21:23 +0100)]
robofsm/test: Rectangle - Add missing initialization of FSM

11 years agorobofsm/test: Update Makefile
Petr Silhavik [Sat, 22 Dec 2012 19:55:02 +0000 (20:55 +0100)]
robofsm/test: Update Makefile

11 years agorobofsm/test: Transform display to C++
Petr Silhavik [Sat, 22 Dec 2012 19:54:49 +0000 (20:54 +0100)]
robofsm/test: Transform display to C++

11 years agorobofsm/test: Transform rectangle to C++
Petr Silhavik [Sat, 22 Dec 2012 19:54:26 +0000 (20:54 +0100)]
robofsm/test: Transform rectangle to C++

11 years agorobofsm: Transform camera_onoff test
Petr Silhavik [Sat, 22 Dec 2012 19:35:19 +0000 (20:35 +0100)]
robofsm: Transform camera_onoff test

11 years agorobofsm: fsmmove - remove event and state
Petr Silhavik [Sat, 22 Dec 2012 19:00:29 +0000 (20:00 +0100)]
robofsm: fsmmove - remove event and state

Removed EV_MOTION_DONE_AND_CLOSE and state close_to_target.

11 years agoMotionControl: Simplify implementation
Petr Silhavik [Sat, 22 Dec 2012 18:58:45 +0000 (19:58 +0100)]
MotionControl: Simplify implementation

Remove EV_MOTION_DONE_AND_CLOSE and lines that used old FSM library.

11 years agoEvents: Remove EV_MOTION_DONE_AND_CLOSE
Petr Silhavik [Sat, 22 Dec 2012 18:56:34 +0000 (19:56 +0100)]
Events: Remove EV_MOTION_DONE_AND_CLOSE

This event is implemented the same as EV_MOTION_DONE.

11 years agorobofsm: Add state diagrams generated by statechart viewer
Petr Silhavik [Fri, 21 Dec 2012 12:40:23 +0000 (13:40 +0100)]
robofsm: Add state diagrams generated by statechart viewer

11 years agorobofsm: Remove state close_to_target
Petr Silhavik [Fri, 21 Dec 2012 12:39:49 +0000 (13:39 +0100)]
robofsm: Remove state close_to_target

This was done because this state was inaccessible.

11 years agorobodim: Change dimensions of play field
Petr Silhavik [Fri, 21 Dec 2012 12:38:48 +0000 (13:38 +0100)]
robodim: Change dimensions of play field

Change dimensions of playfield to eurobot competition dimensions.

11 years agoTransform to C++: Scheduler and compilation
Petr Silhavik [Fri, 14 Dec 2012 20:09:18 +0000 (21:09 +0100)]
Transform to C++: Scheduler and compilation

Fix deadlock problem that can sometime happen.

Prepare for ppc compilation

11 years agoTransform to C++: Remove useless macro
Petr Silhavik [Wed, 12 Dec 2012 14:19:50 +0000 (15:19 +0100)]
Transform to C++: Remove useless macro

Remove macro and fix some warnings.

11 years agoTransform to C++: Fix memory leak
Petr Silhavik [Wed, 12 Dec 2012 07:24:14 +0000 (08:24 +0100)]
Transform to C++: Fix memory leak

Fix memory leak during destruction of state machines.

11 years agoTransform to C++: fix compilation error
Petr Silhavik [Wed, 5 Dec 2012 18:43:07 +0000 (19:43 +0100)]
Transform to C++: fix compilation error

11 years agoMerge branch 'personal/silhape2/boost' of ssh://rtime.felk.cvut.cz/eurobot/soft into...
Petr Silhavik [Wed, 5 Dec 2012 18:38:40 +0000 (19:38 +0100)]
Merge branch 'personal/silhape2/boost' of ssh://rtime.felk.cvut.cz/eurobot/soft into personal/silhape2/boost

11 years agoTransform to C++: Joyd
Petr Silhavik [Wed, 5 Dec 2012 18:38:11 +0000 (19:38 +0100)]
Transform to C++: Joyd

Update Joy using new interface

11 years agoTransform to C++: Boost test
Petr Silhavik [Wed, 5 Dec 2012 18:37:01 +0000 (19:37 +0100)]
Transform to C++: Boost test

Change type of include to global addressing

11 years agoTransform to C++: Update robofsm for using boost lib
Petr Silhavik [Wed, 5 Dec 2012 18:36:07 +0000 (19:36 +0100)]
Transform to C++: Update robofsm for using boost lib

Change used interface for the new one.

Update Makefiles

11 years agoTransform to C++: Move files from boostFSM to robofsm
Petr Silhavik [Wed, 5 Dec 2012 18:33:28 +0000 (19:33 +0100)]
Transform to C++: Move files from boostFSM to robofsm

11 years agoTransform to C++: match-timing.c -> match-timing.cc
Petr Silhavik [Wed, 5 Dec 2012 18:15:41 +0000 (19:15 +0100)]
Transform to C++: match-timing.c -> match-timing.cc

11 years agoTransform to C++: Remove old c files
Petr Silhavik [Wed, 5 Dec 2012 18:05:03 +0000 (19:05 +0100)]
Transform to C++: Remove old c files

11 years agoRobomon: Change class Robot to Robotsim
Petr Silhavik [Wed, 5 Dec 2012 17:59:37 +0000 (18:59 +0100)]
Robomon: Change class Robot to Robotsim

This is done due to collision of names.

11 years agoMerge branch 'personal/silhape2/boost' of rtime.felk.cvut.cz:/eurobot into boost
Michal Sojka [Wed, 5 Dec 2012 10:50:42 +0000 (11:50 +0100)]
Merge branch 'personal/silhape2/boost' of rtime.felk.cvut.cz:/eurobot into boost

Conflicts:
src/boostFSM/test/timed_fsm_test.cpp

11 years agoTransform to C++: TimedStates
Petr Silhavik [Sun, 25 Nov 2012 18:55:32 +0000 (19:55 +0100)]
Transform to C++: TimedStates

11 years agoTransform to C++: Scheduler
Petr Silhavik [Sun, 25 Nov 2012 18:53:38 +0000 (19:53 +0100)]
Transform to C++: Scheduler

Move state machine initialization to main loop due to errors when posting event in start state.

11 years agoTransform to C++: Robot
Petr Silhavik [Sun, 25 Nov 2012 18:51:39 +0000 (19:51 +0100)]
Transform to C++: Robot

Update class and its implementation for using new FSM library.

11 years agoTransform to C++: Sending events
Petr Silhavik [Sun, 25 Nov 2012 18:48:55 +0000 (19:48 +0100)]
Transform to C++: Sending events

Change methods FSM_SIGNAL to new interface.

11 years agoTransform to C++: Events
Petr Silhavik [Sun, 25 Nov 2012 18:47:15 +0000 (19:47 +0100)]
Transform to C++: Events

Add defines for correct include.

Add new event for competition timeout.

11 years agoTransform to C++: Actuators
Petr Silhavik [Sun, 25 Nov 2012 18:46:25 +0000 (19:46 +0100)]
Transform to C++: Actuators

Update include files.

Move constants out of class Actuators.

11 years agoTransform to C++ : Events
Petr Silhavik [Wed, 21 Nov 2012 15:04:06 +0000 (16:04 +0100)]
Transform to C++ : Events

Events can carry pointer to anything.

11 years agoTransform to C++: Scheduler
Petr Silhavik [Wed, 21 Nov 2012 15:03:03 +0000 (16:03 +0100)]
Transform to C++: Scheduler

Remove using namespace std. This cause problems during compilation.

note: map is in our project and also in namespace std. Problems when resolving names.

11 years agoTransform to C++: Scheduler in robot
Petr Silhavik [Tue, 20 Nov 2012 18:30:22 +0000 (19:30 +0100)]
Transform to C++: Scheduler in robot

Prepare initialization of scheduler.

Chenge pointers to references.

11 years agoTransform to C++: Create special file for Scheduler
Petr Silhavik [Tue, 20 Nov 2012 18:28:41 +0000 (19:28 +0100)]
Transform to C++: Create special file for Scheduler

Create file for Scheduler and move it there.

11 years agoTransform to C++: Makefile OMK
Petr Silhavik [Sun, 18 Nov 2012 16:52:53 +0000 (17:52 +0100)]
Transform to C++: Makefile OMK

Test statemachine can be compiled using OMK.

11 years agoTransform to C++: Update TimedStates
Petr Silhavik [Wed, 14 Nov 2012 14:45:25 +0000 (15:45 +0100)]
Transform to C++: Update TimedStates

11 years agoMake: Update Make for host
Petr Silhavik [Wed, 14 Nov 2012 14:39:23 +0000 (15:39 +0100)]
Make: Update Make for host

Change version of Makefile.rules

Update config.target: Add -std=c++0x option.

11 years agoTransform to C++: TimedStates
Petr Silhavik [Tue, 13 Nov 2012 15:42:15 +0000 (16:42 +0100)]
Transform to C++: TimedStates

Add printing name of active state.

11 years agoTranform to C++: Scheduler
Petr Silhavik [Tue, 13 Nov 2012 15:27:34 +0000 (16:27 +0100)]
Tranform to C++: Scheduler

Add termination of scheduler.

Remove useless variables from Scheduler.

11 years agoTransform to C++: Base classes for state
Petr Silhavik [Sat, 10 Nov 2012 11:31:18 +0000 (12:31 +0100)]
Transform to C++: Base classes for state

Create base classes for state and simple state. These two classes works correctly with adding and removing timers.

11 years agoTransform to C++: TimerList
Petr Silhavik [Sat, 10 Nov 2012 11:29:10 +0000 (12:29 +0100)]
Transform to C++: TimerList

Remove TimerList from state machine and move it to the processor handle