]> rtime.felk.cvut.cz Git - eurobot/public.git/log
eurobot/public.git
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 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

11 years agoTransform to C++: Test implementation of TimedState
Petr Silhavik [Wed, 31 Oct 2012 16:07:42 +0000 (17:07 +0100)]
Transform to C++: Test implementation of TimedState

Using simpler implementation of Timers and timedStates

11 years agoTransform to C++: TimerList
Petr Silhavik [Sat, 27 Oct 2012 20:21:17 +0000 (22:21 +0200)]
Transform to C++: TimerList

Remove template from addTimer

11 years agoTransform to C++: TimedFSM
Petr Silhavik [Sat, 27 Oct 2012 18:21:45 +0000 (20:21 +0200)]
Transform to C++: TimedFSM

Remove functions that are not necessary.

11 years agoTransform to C++: Timers
Petr Silhavik [Sat, 27 Oct 2012 18:16:16 +0000 (20:16 +0200)]
Transform to C++: Timers

Remove TimerList vector and move them to processor handle.

11 years agoRemove unneded template parameters
Michal Sojka [Wed, 24 Oct 2012 10:34:04 +0000 (12:34 +0200)]
Remove unneded template parameters

11 years agoTransform to C++: MoveHelper
Petr Silhavik [Tue, 23 Oct 2012 20:15:06 +0000 (22:15 +0200)]
Transform to C++: MoveHelper

Simplify names of methods, make all of them public.

11 years agoTransform to C++: Fix compilation problem
Petr Silhavik [Mon, 22 Oct 2012 20:14:20 +0000 (22:14 +0200)]
Transform to C++: Fix compilation problem

11 years agoTransform to C++: Prepare enum for FSM
Petr Silhavik [Sun, 14 Oct 2012 16:09:21 +0000 (18:09 +0200)]
Transform to C++: Prepare enum for FSM

11 years agoTimedFSM: Tested that event can succesfully carry pointer
Petr Silhavik [Sun, 14 Oct 2012 16:08:47 +0000 (18:08 +0200)]
TimedFSM: Tested that event can succesfully carry pointer

11 years agoTransform to C++: Simplify implementation of Actuators
Petr Silhavik [Sun, 14 Oct 2012 16:07:45 +0000 (18:07 +0200)]
Transform to C++: Simplify implementation of Actuators

11 years agoTransform to C++: Remove useless files
Petr Silhavik [Sat, 13 Oct 2012 20:19:17 +0000 (22:19 +0200)]
Transform to C++: Remove useless files

11 years agoTransform to C++: Fix compilation errors
Petr Silhavik [Fri, 12 Oct 2012 11:28:55 +0000 (13:28 +0200)]
Transform to C++: Fix compilation errors

Change calls of function to new style due to testing.

11 years agoTransform to C++: Add define for including
Petr Silhavik [Fri, 12 Oct 2012 11:26:52 +0000 (13:26 +0200)]
Transform to C++: Add define for including

11 years agoTransform to C++: Fix linking and compiling problems
Petr Silhavik [Wed, 10 Oct 2012 19:15:04 +0000 (21:15 +0200)]
Transform to C++: Fix linking and compiling problems

Fix linking and compiling problems during testing.

11 years agotransform to C++: Actuators
Petr Silhavik [Sun, 7 Oct 2012 13:26:05 +0000 (15:26 +0200)]
transform to C++: Actuators

Remove useless header.

11 years agoTransform to C++: Robot
Petr Silhavik [Sun, 7 Oct 2012 13:03:21 +0000 (15:03 +0200)]
Transform to C++: Robot

Remove useless variables.

11 years agoTransform to C++: Actuators
Petr Silhavik [Sun, 7 Oct 2012 12:31:13 +0000 (14:31 +0200)]
Transform to C++: Actuators

Add info about last jaws request.

11 years agoTransform to C++: MoveHelper
Petr Silhavik [Sat, 6 Oct 2012 10:08:58 +0000 (12:08 +0200)]
Transform to C++: MoveHelper

Change methods. Remove sharing trajectory using class Robot.
Trajectory can now be written this way.
new_trajectory(...).add_point(...).add_final_point(...);

Delete set position methods and move them to class robot.

11 years agoTransform to C++: Replace Lock as Guard
Petr Silhavik [Sat, 6 Oct 2012 10:05:03 +0000 (12:05 +0200)]
Transform to C++: Replace Lock as Guard

11 years agotimed fsm: Conditions for timers
petr [Sat, 29 Sep 2012 14:45:59 +0000 (16:45 +0200)]
timed fsm: Conditions for timers

Change testing conditions for timers.

11 years agoCorrected compile error
petr [Fri, 28 Sep 2012 10:01:14 +0000 (12:01 +0200)]
Corrected compile error

11 years agoMerge branch 'sick-day' of ssh://rtime.felk.cvut.cz/eurobot/soft into personal/silhap...
petr [Fri, 28 Sep 2012 09:46:47 +0000 (11:46 +0200)]
Merge branch 'sick-day' of ssh://rtime.felk.cvut.cz/eurobot/soft into personal/silhape2/boost

11 years agoTimed fsm
petr [Fri, 28 Sep 2012 09:44:55 +0000 (11:44 +0200)]
Timed fsm

Finished implementation of timed fsm.

Add new test FSM.

11 years agoTimed_FSM
petr [Wed, 26 Sep 2012 20:31:55 +0000 (22:31 +0200)]
Timed_FSM

Add support for timers. Almost finished the main loop implementation.

Example now wait 5 secs and then send event Ev2 and transit back to State1.

Updated makefile to be able to compile using gcc 4.6 (remove std=c++11)

11 years agoMerge branch 'sick-day' of rtime.felk.cvut.cz:/eurobot into sick-day
Michal Sojka [Tue, 25 Sep 2012 14:09:21 +0000 (16:09 +0200)]
Merge branch 'sick-day' of rtime.felk.cvut.cz:/eurobot into sick-day

11 years agoTimed_FSM: First part of implementation
petr [Sat, 22 Sep 2012 19:35:02 +0000 (21:35 +0200)]
Timed_FSM: First part of implementation

Implemented thread safety using mutex.

Add support for multiple state machines.

11 years agoAdd example a simplest possible scheduler
Michal Sojka [Wed, 19 Sep 2012 22:50:07 +0000 (00:50 +0200)]
Add example a simplest possible scheduler

11 years agorobomon: Do not draw power group.
Michal Vokac [Wed, 19 Sep 2012 17:36:12 +0000 (19:36 +0200)]
robomon: Do not draw power group.

There are too much controls on right panel - mouse position in low right corner is then hidden.
Power group is one of the least used controls so I hid it.

11 years agopathplan: Increase map cell size to 200mm.
Michal Vokac [Wed, 19 Sep 2012 17:32:02 +0000 (19:32 +0200)]
pathplan: Increase map cell size to 200mm.

This is 100x100 cells in the map, which is OK for processing.

11 years agorobot: No known obstacles in the map.
Michal Vokac [Wed, 19 Sep 2012 17:30:06 +0000 (19:30 +0200)]
robot: No known obstacles in the map.