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

11 years agorobomon: Draw grid on playground for better reference.
Michal Vokac [Wed, 19 Sep 2012 17:29:26 +0000 (19:29 +0200)]
robomon: Draw grid on playground for better reference.

11 years agorobomon: Disable background image in robomon playground.
Michal Vokac [Wed, 19 Sep 2012 17:21:39 +0000 (19:21 +0200)]
robomon: Disable background image in robomon playground.

Rename and resize sick-day playground image.

I disable background image because of huge memory consumption.
When the image is scaled too much (20000mm x 20000mm), robomon uses more than 1GB of memory!

11 years agoRemove timerlist.cc and move the implementation to header file
petr [Tue, 18 Sep 2012 17:35:06 +0000 (19:35 +0200)]
Remove timerlist.cc and move the implementation to header file

11 years agochange playground background and dimensions
cvrcevo1 [Mon, 17 Sep 2012 15:38:52 +0000 (17:38 +0200)]
change playground background and dimensions

11 years agoFifoWorker
petr [Sun, 16 Sep 2012 16:25:09 +0000 (18:25 +0200)]
FifoWorker

Add semaphore and its initialization. Change Lock to Guard

11 years agoTransorm to C++: Update TimerList
petr [Sun, 16 Sep 2012 16:19:58 +0000 (18:19 +0200)]
Transorm to C++: Update TimerList

Timerlist is now automatically sorted. First timeout is on the first position.

11 years agoTransform to C++: MyFifoWorker
petr [Mon, 10 Sep 2012 15:55:13 +0000 (17:55 +0200)]
Transform to C++: MyFifoWorker

Prepared for using. Last missing part is checking for first timeout.

11 years agoTransform to C++: MyFifoWorker
petr [Sun, 9 Sep 2012 16:01:13 +0000 (18:01 +0200)]
Transform to C++: MyFifoWorker

New class my_fifo_worker replaces class fifo_worker from Boost Statechart.

Missing check for the first timer.

11 years agoTransform to C++: EventQueue
petr [Thu, 6 Sep 2012 20:12:56 +0000 (22:12 +0200)]
Transform to C++: EventQueue

Implementation of eventqueue

11 years agoeb_jaws_11: add ability to control OMRON sensor
cvrcevo1 [Thu, 6 Sep 2012 14:01:02 +0000 (16:01 +0200)]
eb_jaws_11: add ability to control OMRON sensor

11 years agoTransform to C++: EventQueue
petr [Thu, 6 Sep 2012 08:17:11 +0000 (10:17 +0200)]
Transform to C++: EventQueue

New class EventQueue for threadsafe sending events

11 years agoTransform to C++: Update TimerList
petr [Thu, 6 Sep 2012 08:16:29 +0000 (10:16 +0200)]
Transform to C++: Update TimerList

11 years agoTransform to C++: TimerList implementation
petr [Sun, 2 Sep 2012 16:36:49 +0000 (18:36 +0200)]
Transform to C++: TimerList implementation

11 years agoTransform to C++: TimerList
petr [Sat, 1 Sep 2012 17:56:16 +0000 (19:56 +0200)]
Transform to C++: TimerList

Definition of class TimerList

11 years agoTransform to C++: Macros for simple definition of states nad state machines
petr [Sat, 1 Sep 2012 17:55:39 +0000 (19:55 +0200)]
Transform to C++: Macros for simple definition of states nad state machines

11 years agoTransform to C++: FSM_EVENTS
petr [Thu, 30 Aug 2012 15:22:14 +0000 (17:22 +0200)]
Transform to C++: FSM_EVENTS

List of FSM events available and used in actual implementation of FSM.

11 years agosick-tim3xx: Remove function, that can do problem with libusb.
Matous Pokorny [Wed, 29 Aug 2012 20:34:05 +0000 (22:34 +0200)]
sick-tim3xx: Remove function, that can do problem with libusb.

11 years agosick-tim3xx: Remove warnings
Matous Pokorny [Wed, 29 Aug 2012 20:32:04 +0000 (22:32 +0200)]
sick-tim3xx: Remove warnings

11 years agocamera/color-finder: Remove robot control from main app.
Matous Pokorny [Mon, 27 Aug 2012 12:50:03 +0000 (14:50 +0200)]
camera/color-finder: Remove robot control from main app.

11 years agocamera/color-finder: Web camera is used camera.
Matous Pokorny [Mon, 27 Aug 2012 12:48:39 +0000 (14:48 +0200)]
camera/color-finder: Web camera is used camera.

11 years agocamera/color-finder: Use MIN, MAX macros from robomath
Matous Pokorny [Mon, 27 Aug 2012 12:41:07 +0000 (14:41 +0200)]
camera/color-finder: Use MIN, MAX macros from robomath

11 years agocamera/color-finder: Remove duplicity
Matous Pokorny [Mon, 27 Aug 2012 11:54:06 +0000 (13:54 +0200)]
camera/color-finder: Remove duplicity

11 years agoTransform to C++: Movehelper
petr [Sat, 18 Aug 2012 20:00:44 +0000 (22:00 +0200)]
Transform to C++: Movehelper

New class Movehelper representing functions for motion control.

11 years agoTransform to C++: Robot
petr [Sat, 18 Aug 2012 19:59:15 +0000 (21:59 +0200)]
Transform to C++: Robot

Correction of mispelled name of object

11 years agoTransform to C++: Actuators
petr [Sat, 18 Aug 2012 19:39:14 +0000 (21:39 +0200)]
Transform to C++: Actuators

Simplify names of functions

11 years agoTransform to C++: Locks
petr [Sun, 5 Aug 2012 18:36:28 +0000 (20:36 +0200)]
Transform to C++: Locks

Using pointers to mutex in locks.

11 years agoTransform to C++
petr [Sun, 5 Aug 2012 18:26:39 +0000 (20:26 +0200)]
Transform to C++

Correction of using locks.

11 years agoTransform to C++
petr [Sun, 5 Aug 2012 18:23:06 +0000 (20:23 +0200)]
Transform to C++

Correction of class Locks.

11 years agoRenamed file from robot_orte.c to robot_orte.cc
petr [Sun, 5 Aug 2012 18:21:56 +0000 (20:21 +0200)]
Renamed file from robot_orte.c to robot_orte.cc

11 years agoTransform to C++
petr [Sun, 5 Aug 2012 17:37:44 +0000 (19:37 +0200)]
Transform to C++

Old version of robot_orte.

11 years agoTransform to C++
petr [Sun, 5 Aug 2012 17:35:15 +0000 (19:35 +0200)]
Transform to C++

Class Actuators representing the interface for actuators control.