]>
rtime.felk.cvut.cz Git - orte.git/log
jiri hubacek [Sun, 1 Feb 2015 20:43:24 +0000 (21:43 +0100)]
Fix scaling.
To be dependent only at destination width and height.
jiri hubacek [Sun, 1 Feb 2015 12:23:18 +0000 (13:23 +0100)]
Use proper types, change messages to Little Endian.
jiri hubacek [Sat, 31 Jan 2015 21:56:18 +0000 (22:56 +0100)]
Files which should be omitted.
jiri hubacek [Sat, 31 Jan 2015 21:38:29 +0000 (22:38 +0100)]
Refresh project properties
jiri hubacek [Sat, 31 Jan 2015 19:51:17 +0000 (20:51 +0100)]
Simplified approach to write application.
- no need for fragments
- no need for complex approach to backward compatibility
- usable drawables choosen
- cs language added
- help added
- settings added
jiri hubacek [Sat, 27 Sep 2014 19:26:33 +0000 (22:26 +0300)]
Make 'shape4a' compatible with 'shape'.
jiri hubacek [Sat, 20 Sep 2014 07:44:00 +0000 (10:44 +0300)]
Initial commit of shape4a v1.0 - shape for android.
Michal Sojka [Mon, 9 Feb 2015 16:45:53 +0000 (17:45 +0100)]
Reformat the sources with orte/uncrustify script
Michal Sojka [Mon, 9 Feb 2015 16:42:46 +0000 (17:42 +0100)]
Change uncrustify configuration according to discussion with Pavel
Michal Sojka [Mon, 9 Feb 2015 16:29:57 +0000 (17:29 +0100)]
Don't have a comment between return type and function name
Michal Sojka [Sat, 7 Feb 2015 12:21:22 +0000 (13:21 +0100)]
Add configuration for uncrustify
The formatting of ORTE source code is messy. To unify the formatting at
least a bit, we will use the uncrustify tool. This commit adds
uncrustify configuration tuned for ORTE sources and a helper script that
call uncrustify on all relevant files.
Pavel Pisa [Tue, 7 Oct 2014 22:43:47 +0000 (00:43 +0200)]
Fix missing references to clock_gettime for OMK build under Linux.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Mon, 6 Oct 2014 23:19:48 +0000 (01:19 +0200)]
Fix deinitialization in an error path
Michal Sojka [Mon, 19 Jan 2015 15:50:37 +0000 (16:50 +0100)]
Fix check-java Makefile target to work with older ant version
Michal Sojka [Mon, 19 Jan 2015 15:30:07 +0000 (16:30 +0100)]
Simplify check target in Makefile.git
Michal Sojka [Mon, 19 Jan 2015 14:16:01 +0000 (15:16 +0100)]
Various autoconf updates and fixes
Michal Sojka [Fri, 16 Jan 2015 12:10:13 +0000 (13:10 +0100)]
Remove useless condition
I did small investigation whether the second condition should compare
something else or not and it seems that no other comparison is necessary.
Therefore I believe that removing this rather than changing it to something
else is the correct thing to do.
Thanks to Martin Strunz for spotting this.
Pavel Pisa [Sun, 2 Nov 2014 16:30:20 +0000 (17:30 +0100)]
RTEMS: QEMU provides ETHERNET HW address so there is no need to setup it in application.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 2 Nov 2014 16:21:32 +0000 (17:21 +0100)]
RTEMS: alternative example network configuration for ne2k card under QEMU.
This allows to run example build for pc686 board in QEMU
with networking
qemu-system-i386 -kernel _compiled/pc686/bin/orte_rtems_shell_example \
-net nic,vlan=0,model=ne2k_isa \
-net tap,script=/etc/qemu-ifup
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 2 Nov 2014 16:11:31 +0000 (17:11 +0100)]
RTEMS: use DHCP network configuartion for shell example.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
jiri hubacek [Sun, 21 Sep 2014 10:12:34 +0000 (13:12 +0300)]
Function ReleaseStringUTFChars() needs jstring as 2nd argument instead of PublProp/SubsProp object.
Martin Vajnar [Tue, 8 Apr 2014 11:48:31 +0000 (13:48 +0200)]
ROBOT_DEMO: reduce WifiLocks usage
Use WifiLock only for MotionSpeedPublisher.
Martin Vajnar [Tue, 8 Apr 2014 08:51:27 +0000 (10:51 +0200)]
JORTE: fix bug in subscriber callback
This fixes a rarely occurring bug in subscriber callback.
When a Java subscriber is being destroyed, during the process
a JORTECallbackContext_t structure, used for storing pointers to Java objects,
was free()'d. If this occurred when new issue had arrived and was being
processed by the receive thread, then the pointer to the, now non-existent,
callback structure would have been dereferenced, leading to a SEGFAULT.
To fix this we now create a pointer to pointer to the specific structure
and pass this pointer to ORTESubcriptionCreate() and use it from the recvCallBack().
Martin Vajnar [Tue, 4 Feb 2014 19:57:42 +0000 (20:57 +0100)]
RoboDruid: use Toasts for short messages
Martin Vajnar [Sun, 2 Feb 2014 12:37:44 +0000 (13:37 +0100)]
RoboDruid: make release build
Martin Vajnar [Sat, 1 Feb 2014 17:19:11 +0000 (18:19 +0100)]
RoboDruid: organize classes into packages
Martin Vajnar [Thu, 23 Jan 2014 22:19:36 +0000 (23:19 +0100)]
RoboDruid: improve handling of short taps
Martin Vajnar [Wed, 22 Jan 2014 23:19:14 +0000 (00:19 +0100)]
RoboDruid: toggle Hokuyo output and speed control/monitor by touch input
Single tap on Hokuyo output starts/stops subscriber.
Single tap on speed vector starts/stops subscriber,
long tap starts/stops publisher.
Martin Vajnar [Sun, 11 May 2014 18:51:50 +0000 (20:51 +0200)]
Document gAVL, linked list and queue declaration
Michal Sojka [Mon, 5 May 2014 12:18:00 +0000 (14:18 +0200)]
Add missing FREE()
Thanks to Martin Strunz <martfi@aol.com> for noticing
this.
Michal Sojka [Tue, 15 Apr 2014 08:38:38 +0000 (10:38 +0200)]
Document gAVL declaration
Pavel Pisa [Sun, 13 Apr 2014 11:17:08 +0000 (13:17 +0200)]
RTEMS: actual RTEMS git sources do not provide CONFIGURE_NUMBER_OF_DRIVERS define.
There is only one version of table - actual runtime version.
The read-only table with initialization data is not present
and cannot be used for to compute number of entries of config
harcoded drivers set (CONFIGURE_NUMBER_OF_DRIVERS).
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sun, 13 Apr 2014 11:07:03 +0000 (13:07 +0200)]
RTEMS: allocate space for POSIX keys which are required by current RTEMS shell version.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Sat, 15 Mar 2014 22:49:23 +0000 (23:49 +0100)]
Initial version of Debian packaging
Michal Sojka [Sun, 16 Mar 2014 00:40:03 +0000 (01:40 +0100)]
orte-idl: Fix possible security problem
Michal Sojka [Sat, 15 Mar 2014 23:48:48 +0000 (00:48 +0100)]
Update versioning of shared libraries
Previously, we used -release to specify the SONAME, which would cause
binary incompatibility between releases even if the library is not
changed at all. Additionally, libtool interface numbers were derived
from relase number in an undocumented way. This is removed as well and
now we have to modify SONAME manually, when the interface changes.
Michal Sojka [Tue, 4 Mar 2014 15:45:50 +0000 (16:45 +0100)]
Revert "Compile shared library by default"
This reverts commit
9c71dc94e674c0ef52efabcd3dbddebceb2dc5f4 .
OMK is broken and some things do not work when shared libraries are
created. This has to wait for later. If you need shared library, use
automake-based build.
Michal Sojka [Tue, 4 Mar 2014 15:37:15 +0000 (16:37 +0100)]
Compile shared library by default
Pavel Pisa [Thu, 14 Nov 2013 13:02:50 +0000 (14:02 +0100)]
Fix reported problem "compile error on cygwin"
The Windows service support in ORTE manager is enabled
now for Cygwin build as well. Build under MINGW has been
tested but some external volunteer is required for Cygwin
environment test.
Another option is to add config option which allows
to specify if Windows service support should or should not
be build.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 14 Nov 2013 12:01:58 +0000 (13:01 +0100)]
Extend and correct RTEMS instructions README file.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Thu, 14 Nov 2013 11:59:18 +0000 (12:59 +0100)]
Document and made more straightforward RTEMS build.
The local copy of OMK Makefile.rules for RTEMS
is included
Makefile.rules.rtems
and RTEMS build is documented
README.rtems
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Mon, 28 Oct 2013 21:33:52 +0000 (22:33 +0100)]
Bump version to 0.3.4
Michal Sojka [Mon, 28 Oct 2013 21:29:44 +0000 (22:29 +0100)]
Add 0.3.4 release notes
Michal Sojka [Mon, 28 Oct 2013 21:29:04 +0000 (22:29 +0100)]
Fix dist makefile target
Michal Sojka [Mon, 28 Oct 2013 21:05:08 +0000 (22:05 +0100)]
Update README.windows
Michal Sojka [Mon, 28 Oct 2013 20:58:58 +0000 (21:58 +0100)]
Add checks for omk builds
Michal Sojka [Mon, 28 Oct 2013 20:41:46 +0000 (21:41 +0100)]
Fix check target
Michal Sojka [Mon, 28 Oct 2013 20:39:55 +0000 (21:39 +0100)]
Fix the check for Java build
Michal Sojka [Mon, 28 Oct 2013 20:38:20 +0000 (21:38 +0100)]
Do not use ugly directory names for Java build results
Pavel Pisa [Mon, 28 Oct 2013 20:46:36 +0000 (21:46 +0100)]
Update of local copy of Windows pthreads library to MinGW-w64 winpthreads.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Mon, 28 Oct 2013 20:13:02 +0000 (21:13 +0100)]
Add newly tested platforms
Michal Sojka [Mon, 28 Oct 2013 20:04:51 +0000 (21:04 +0100)]
Add android build check
Michal Sojka [Mon, 28 Oct 2013 19:52:45 +0000 (20:52 +0100)]
Remove 'cd' from check commands
Michal Sojka [Mon, 28 Oct 2013 19:42:24 +0000 (20:42 +0100)]
Remove dist from OMK makefile
OMK leaks unwanted environment variables to the Makefile.cvs.
Michal Sojka [Mon, 28 Oct 2013 19:28:13 +0000 (20:28 +0100)]
Perform compilation checks with --enable-orte-idl
Michal Sojka [Mon, 28 Oct 2013 19:27:29 +0000 (20:27 +0100)]
Update README.android
Michal Sojka [Mon, 28 Oct 2013 19:19:36 +0000 (20:19 +0100)]
Move robot demo to contrib/
Michal Sojka [Mon, 28 Oct 2013 16:22:36 +0000 (17:22 +0100)]
Check whether windows dll is produced
Martin Vajnar [Sun, 20 Oct 2013 16:07:55 +0000 (18:07 +0200)]
ROBOT_DEMO: use new constants and fix behavior of callback functions
Test the receive status to see whether the callback function was called
because of new new data reception or because of a deadline expiration.
Martin Vajnar [Sun, 20 Oct 2013 16:04:50 +0000 (18:04 +0200)]
JORTE: add missing constants from "typedefs_api.h"
Petr Smolik [Sat, 19 Oct 2013 21:09:18 +0000 (23:09 +0200)]
updated email address - petr@smoliku.cz
Signed-off-by: Petr Smolik <petr@smoliku.cz>
Michal Sojka [Tue, 15 Oct 2013 14:38:40 +0000 (16:38 +0200)]
Try multiple mingw compilers
I have different mingw compile on Debian stable and unstable. This
makes the check run on both my systems.
Note however, that with i686-w64-mingw32, compilation currently fails.
Michal Sojka [Mon, 14 Oct 2013 22:15:48 +0000 (00:15 +0200)]
Add various build checks
Michal Sojka [Mon, 14 Oct 2013 21:36:53 +0000 (23:36 +0200)]
Rename Makefile.cvs to Makefile.git
Michal Sojka [Mon, 14 Oct 2013 21:35:10 +0000 (23:35 +0200)]
Reformat and update README
Michal Sojka [Mon, 14 Oct 2013 21:26:08 +0000 (23:26 +0200)]
Rename readme to README
Michal Sojka [Mon, 14 Oct 2013 21:25:37 +0000 (23:25 +0200)]
Rename android_compile to README.android and reformat it
Pavel Pisa [Fri, 4 Oct 2013 15:35:58 +0000 (17:35 +0200)]
Correct OMK build to compile ORTE manager by default.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Fri, 4 Oct 2013 15:23:21 +0000 (17:23 +0200)]
One more fix in OMK rules - work around strange behavior of $(dir) function
Pavel Pisa [Fri, 4 Oct 2013 14:44:20 +0000 (16:44 +0200)]
OMK Makefile.rules: Don't use GNU specific cmp and install options to allow build on FreeBSD based systems.
Rules are updated from OMK project main version at
https://rtime.felk.cvut.cz/omk/
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Fri, 4 Oct 2013 08:56:42 +0000 (10:56 +0200)]
Update OMK makefiles and rules
Pavel Pisa [Fri, 4 Oct 2013 07:48:27 +0000 (09:48 +0200)]
Omit "byteswap.h" from pre-configured OMK Linux build.
The CDR and rest of the ORTE code uses open-codded ORTE provided
rtps_byteswap function. Build environment provided byteswap
functions are not utilized in the actual ORTE setups.
They could result in better optimized code in future but
attempt to include "byteswap.h" is probably the last blocker
to use Linux pre-configured ORTE on RTEMS, BSD and BlackBerry.
So comment out HAVE_BYTESWAP_H for now.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 30 Sep 2013 12:35:22 +0000 (14:35 +0200)]
Shape Demo: add option to select right libraries for BlackBerry build.
ORTE code tested on BlackBerry thanks to Fanda Vacek
provided help and testing on his device.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 30 Sep 2013 10:02:00 +0000 (12:02 +0200)]
OMK build: move linker specification of pthread library to separate variable TARGET_LOADLIBES.
This allows to override libraries list suitable for the Linux
build by other target OS specific list of the libraries.
I.e. the explicit "pthread" library specification is blocker
for QNX/BlackBerry build because POSIX threads are included
in stadartd library. On the other hand BSD networking "socket"
library has to be specified explicitly. Another difference
is missing "byteswap.h" header file (undef HAVE_BYTESWAP_H).
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 23 Sep 2013 09:45:26 +0000 (11:45 +0200)]
JAVA ORTE: update classic OMK JAVA ORTE build to support new Makefile.rules.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Sat, 21 Sep 2013 13:36:04 +0000 (15:36 +0200)]
Fix most of warnings reported by GCC 4.7 on x86_64 and GCC 4.8.1 RTEMS ARM based systems.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Martin Vajnar [Thu, 12 Sep 2013 19:18:12 +0000 (21:18 +0200)]
ORTE: fix compiler warning
This allows compilation with Android NDK r9
(treats some warnings as errors).
Martin Vajnar [Fri, 13 Sep 2013 13:58:20 +0000 (15:58 +0200)]
ANDROID: add instructions to build
Martin Vajnar [Fri, 13 Sep 2013 13:31:38 +0000 (15:31 +0200)]
ANDROID: allow compilation from command line add new orte_config.h
This allows compilation of native code with ndk-build and of Java part with
ant.
Martin Vajnar [Fri, 13 Sep 2013 10:08:23 +0000 (12:08 +0200)]
JORTE: fix incompatible pointer type compiler warnings
Android's AttachCurrentThread() implementation differs from Oracle's.
In Android the prototype is:
jint (*AttachCurrentThread)(JavaVM*, JNIEnv**, void*);
In Oracle's Java:
jint (JNICALL *AttachCurrentThread)(JavaVM *vm, void **penv, void *args);
Android expects JNIEnv** pointer, whereas Java expects void** pointer
to per thread environment structure.
Martin Vajnar [Thu, 12 Sep 2013 19:15:06 +0000 (21:15 +0200)]
ANDROID: fix for NDK r9
Remove LOCAL_LDLIBS since it is ignored for
static libraries.
Martin Vajnar [Thu, 29 Aug 2013 13:32:56 +0000 (15:32 +0200)]
ROBOT_DEMO: release correct wakelock
Martin Vajnar [Thu, 29 Aug 2013 09:08:17 +0000 (11:08 +0200)]
ROBOT_DEMO: minor fixes
Martin Vajnar [Wed, 28 Aug 2013 18:16:59 +0000 (20:16 +0200)]
ROBOT_DEMO: minor changes to UI
Martin Vajnar [Tue, 27 Aug 2013 13:40:30 +0000 (15:40 +0200)]
ROBOT_DEMO: allow managers setup without restart
Martin Vajnar [Tue, 27 Aug 2013 13:14:45 +0000 (15:14 +0200)]
ROBOT_DEMO: fix wake lock and revert speed computation change
Martin Vajnar [Tue, 27 Aug 2013 12:59:11 +0000 (14:59 +0200)]
ROBOT_DEMO: handle wifi/wake locks better
Acquire them only when needed and release otherwise.
Martin Vajnar [Tue, 27 Aug 2013 12:42:50 +0000 (14:42 +0200)]
ROBOT_DEMO: add check boxes to menu items and make the managers dialog alive
Martin Vajnar [Tue, 27 Aug 2013 11:03:50 +0000 (13:03 +0200)]
ROBOT_DEMO: change About dialog
Martin Vajnar [Tue, 27 Aug 2013 10:45:04 +0000 (12:45 +0200)]
ROBOT_DEMO: change ratio for speed computation
Martin Vajnar [Mon, 26 Aug 2013 20:30:58 +0000 (22:30 +0200)]
JORTE: add new constructor to Manager class
Martin Vajnar [Mon, 26 Aug 2013 20:26:58 +0000 (22:26 +0200)]
ROBOT_DEMO: add Dialog to set-up fellow managers
Martin Vajnar [Mon, 26 Aug 2013 12:31:54 +0000 (14:31 +0200)]
ANDROID: set min. Android version to 2.3.3
Martin Vajnar [Mon, 26 Aug 2013 12:31:17 +0000 (14:31 +0200)]
ROBOT_DEMO: add launcher icon for LDPI and change minSdkVersion to 10
Min. Android version is now 2.3.3.
Martin Vajnar [Mon, 26 Aug 2013 11:42:35 +0000 (13:42 +0200)]
ROBOT_DEMO: unify Dialog appearance
Martin Vajnar [Sun, 25 Aug 2013 22:08:52 +0000 (00:08 +0200)]
ROBOT_DEMO: add basic low-pass filter
Add basic low-pass filter for motion_speed publisher.
Change CTU logo size.
Martin Vajnar [Sun, 25 Aug 2013 21:02:08 +0000 (23:02 +0200)]
ROBOT_DEMO: add "About" dialog
Martin Vajnar [Sun, 25 Aug 2013 17:58:34 +0000 (19:58 +0200)]
ROBOT_DEMO: make use of WifiLock and modify WakeLock
Modify WakeLock, so that when acquired on activity start, it wakes up
the phone if then screen was already dimmed or switched off.
Add WifiLock to improve network latency and overall responsiveness.
This solves issues with slow and unreliable Publisher-Subscriber
communication.
Add margins to the CTU logo.
Martin Vajnar [Sun, 25 Aug 2013 15:05:47 +0000 (17:05 +0200)]
ROBOT_DEMO: change name to RoboDruid and add CTU logo
Martin Vajnar [Sun, 25 Aug 2013 11:16:06 +0000 (13:16 +0200)]
ANDROID: build for all ABIs supported by the NDK
Currently supported ABIs are:
armeabi - ARMv5te and higher
armeabi-v7a - ARMv7
mips
x86