jsk-ros-pkg / jsk_smart_apps Goto Github PK
View Code? Open in Web Editor NEWJSK ros packages for smartphones
Home Page: https://github.com/jsk-ros-pkg/jsk_smart_apps
JSK ros packages for smartphones
Home Page: https://github.com/jsk-ros-pkg/jsk_smart_apps
(ros::load-ros-manifest "object_snapshotter") in jsk-ros-pkg/jsk_smart_apps/jsk_smart_gui/get_template.l
will get error for missing object_snapshotter package.
スマホ関係のメッセージは世界で共有しましょう.
ros/common_msgs#21 (comment)
CMake Error: Attempt to add a custom rule to output "/home/h-kamada/ros/hydro/devel/share/roseus/ros/jsk_smart_gui/manifest.l.rule" which already has a custom rule.
CMake Error at /home/h-kamada/ros/hydro/build/jsk_smart_gui/cmake/jsk_smart_gui-genmsg.cmake:65 (add_custom_target):
add_custom_target cannot create target
"jsk_smart_gui_generate_messages_eus" because another target with the same
name already exists. The existing target is a custom target created in
source directory
"/home/h-kamada/ros/hydro/src/jsk-ros-pkg/jsk_smart_apps/jsk_smart_gui".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
/opt/ros/hydro/share/genmsg/cmake/genmsg-extras.cmake:299 (include)
catkin.cmake:11 (generate_messages)
CMakeLists.txt:2 (include)
-- set EUSDIR to /home/h-kamada/ros/hydro_parent/devel/share/euslisp/jskeus/eus/
-- set ARCHDIR to Linux64
-- Set euslisp_INCLUDE_DIRS to /home/h-kamada/ros/hydro_parent/devel/share/euslisp/jskeus/eus//include
-- Configuring incomplete, errors occurred!
[jsk_smart_gui] <== '/home/h-kamada/ros/hydro/build/jsk_smart_gui/build_env.sh /usr/bin/cmake /home/h-kamada/ros/hydro/src/jsk-ros-pkg/jsk_smart_apps/jsk_smart_gui -DCATKIN_DEVEL_PREFIX=/home/h-kamada/ros/hydro/devel -DCMAKE_INSTALL_PREFIX=/home/h-kamada/ros/hydro/install' failed with return code '1'
僕ではやり方がわかりませんでした。
jsk_android_setupが android_gingerbread_mr1に依存してますが、android_gingerbread_mr1の入れ方がよくわかりません。
@KazutoMurase , @HiroyukiMikita よろしくおねがいします。
rosbuildのテストからはjsk_android_setupを抜いてます
rosrun jsk_smart_gui tablet_receiver.l fails
$ roseus tablet_receiver.l
configuring by "/home/furushchev/ros/hydro_parent/devel/share/euslisp/jskeus/eus//lib/eusrt.l"
;; readmacro ;; object ;; packsym ;; common ;; constants ;; stream ;; string ;; loader ;; pprint ;; process ;; hashtab ;; array ;; mathtran ;; eusdebug ;; eusforeign ;; coordinates ;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics ;; Xcolor ;; Xeus ;; Xevent ;; Xpanel ;; Xitem ;; Xtext ;; Xmenu ;; Xscroll ;; Xcanvas ;; Xtop ;; Xapplwin
;; pixword ;; RGBHLS ;; convolve ;; piximage ;; pbmfile ;; image_correlation ;; oglforeign ;; gldecl ;; glconst ;; glforeign ;; gluconst ;; gluforeign ;; glxconst ;; glxforeign ;; eglforeign ;; eglfunc ;; glutil ;; gltexture ;; glprim ;; gleus ;; glview ;; toiv-undefined ;; fstringdouble irtmath irtutil irtc irtgeoc irtgraph pgsql irtgeo euspqp pqp irtscene irtmodel irtdyna irtrobot irtsensor irtbvh irtcollada irtpointcloud irtx eusjpeg euspng png irtimage irtglrgb
;; extending gcstack 0x647d420[16374] --> 0x68b2b00[32748] top=378a
irtgl irtviewer
EusLisp 9.10(0f0f62e 1.0.2) for Linux64 created on pr1012(Tue Feb 10 00:16:52 PST 2015)
roseus ;; loading roseus("9b347ad") on euslisp((9.10 pr1012 Tue Feb 10 00:16:52 PST 2015 0f0f62e 1.0.2))
eustf roseus_c_util /home/furushchev/ros/hydro_parent/devel/share/euslisp/jskeus/eus/Linux64/bin/irteusgl: ERROR th=0 no such package "JSK_RECOGNITION_MSGS""JSK_RECOGNITION_MSGS" in (apply #'load-org-for-ros fullname args)ROS:E:
I tried to append deps for this package, which still fails.
$ git diff catkin.cmake package.xml
diff --git a/jsk_smart_gui/catkin.cmake b/jsk_smart_gui/catkin.cmake
index 31400a0..adf1966 100644
--- a/jsk_smart_gui/catkin.cmake
+++ b/jsk_smart_gui/catkin.cmake
@@ -1,11 +1,14 @@
cmake_minimum_required(VERSION 2.8.3)
project(jsk_smart_gui)
find_package(catkin REQUIRED COMPONENTS
+ dynamic_tf_publisher
sensor_msgs
geometry_msgs
- roseus
image_geometry
- message_generation)
+ image_view2
+ jsk_pcl_ros
+ message_generation
+ roseus)
add_service_files(FILES point2screenpoint.srv)
generate_messages(DEPENDENCIES geometry_msgs)
diff --git a/jsk_smart_gui/package.xml b/jsk_smart_gui/package.xml
index 685ec05..a1b6acf 100644
--- a/jsk_smart_gui/package.xml
+++ b/jsk_smart_gui/package.xml
@@ -9,9 +9,12 @@
<url>http://ros.org/wiki/jsk_smart_gui</url>
<buildtool_depend>catkin</buildtool_depend>
+ <build_depend>dynamic_tf_publisher</build_depend>
+ <build_depend>image_view2</build_depend>
<build_depend>sensor_msgs</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>roseus</build_depend>
+ <build_depend>jsk_pcl_ros</build_depend>
<build_depend>image_geometry</build_depend>
<build_depend>message_generation</build_depend>
<build_depend>cmake_modules</build_depend>
for example android_image_view uses usb_cam
but android_camera_viewer uses camera name space
android_camera_viewer also uses audio and audio2 as topic name too
#63
changes topic type from jsk_gui_msgs to speech_recognition_msgs, and it contains confidence element , but it seems the device did not fill in
$ rosmsg showeech_recognition_msgs/SpeechRecognitionCandidates
string[] transcript
float32[] confidence
In the file below:
https://github.com/jsk-ros-pkg/jsk_smart_apps/blob/master/jsk_ios_utils/build.sh
git clone git://gitorious.org/~galbraithjoseph/boostoniphone/galbraithjosephs-boostoniphone.git $SRCDIR/boostonios
fails because gitorious.org is discontinued from 6/1.
I'm trying to use galbraithjoseph's boostonios but it does not exist.
Does anyone have source codes?
If so, it is better to include the files here or clone from a new git repo which has the copied files from the gitorious repo. Then, fix the script please.
...
Failed to build package 'interactive_behavior_201409' because the following command:
# Command to reproduce:
なかなかの難題ですが,,,
jsk-ros-pkg/jsk_common#142 (comment)
などを確認するにはコレが必要そうですね.
intermediate dependency
iOSアプリを作るためのユーティリティパッケージと、作ったiOSアプリをコミットする場合はどこがいいでしょうか?
iOSアプリでROSを動かすには普通のxcodeプロジェクトにros関連のframework(ヘッダとクロスコンパイルしたバイナリがセットになったもの)をD&Dしてコードを書いていく(Objective-C++とSwiftはC++と共存可能)スタイルです。
roscppなどのコアな部分のframeworkはintrolabのレポジトリを一部参考にしましたが、大幅に改変しているのと今後も改変していきたいのでなるべくjsk内にスクリプトを置いていきたいと考えています。
現在のものは https://github.com/furushchev/ros_for_ios においてあります。
@furushchev Please make it light.
$ time git clone https://github.com/jsk-ros-pkg/jsk_smart_apps.git
Cloning into 'jsk_smart_apps'...
remote: Counting objects: 13962, done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 13962 (delta 21), reused 31 (delta 16)
Receiving objects: 100% (13962/13962), 384.98 MiB | 258 KiB/s, done.
Resolving deltas: 100% (4707/4707), done.
git clone https://github.com/jsk-ros-pkg/jsk_smart_apps.git 30.90s user 13.73s system 2% cpu 34:44.58 total
lueda has logged on pts/14 from :0.
@davetcoleman reported on http://sourceforge.net/p/jsk-ros-pkg/tickets/274/
I'm having an issue building jsk-ros-pkg using catkin in Hydro, and it is not giving very useful feedback. Perhaps this is actually an error from 'rtm-ros-robotics', I am not sure. Thanks for any help!
Catkin fails after saying:
[ 61%] Built target gradle-jsk_rosjava_messages
Here is the output with VERBOSE=1 set:
[ 56%] Generating /home/dave/ros/ws_jsk/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/src/hrpsys_ros_bridge/TimeKeeperService_idl.py
cd /home/dave/ros/ws_jsk/build/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge && mkdir -p /home/dave/ros/ws_jsk/devel/lib/python2.7/dist-packages/hrpsys_ros_bridge
cd /home/dave/ros/ws_jsk/build/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge && echo "import sys; sys.path.append ( '/home/dave/ros/ws_jsk/devel/lib/python2.7/dist-packages/hrpsys_ros_bridge' ) ; import hrpsys_ros_bridge" > /home/dave/ros/ws_jsk/devel/lib/python2.7/dist-packages/hrpsys_ros_bridge/__init__.py
cd /home/dave/ros/ws_jsk/build/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge && /usr/bin/omniidl -bpython -I`/home/dave/ros/ws_jsk/devel/lib/openrtm_aist/bin/rtm-config --cflags | sed 's/^-[^I]\S*//g' | sed 's/\ -[^I]\S*//g'` -I/home/dave/ros/ws_jsk/devel/share/openhrp3/share/OpenHRP-3.1/idl -C/home/dave/ros/ws_jsk/devel/lib/python2.7/dist-packages/hrpsys_ros_bridge /home/dave/ros/ws_jsk/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/idl/TimeKeeperService.idl
make[2]: Leaving directory `/home/dave/ros/ws_jsk/build'
/usr/bin/cmake -E cmake_progress_report /home/dave/ros/ws_jsk/build/CMakeFiles 4 5 6 7 8 9 10
[ 61%] Built target RTMBUILD_hrpsys_ros_bridge_genidl
:jsk_gui_msgs:generatePomFileForMavenJavaPublication
:jsk_gui_msgs:generateSources UP-TO-DATE
:jsk_gui_msgs:compileJava UP-TO-DATE
:jsk_gui_msgs:processResources UP-TO-DATE
:jsk_gui_msgs:classes UP-TO-DATE
:jsk_gui_msgs:jar UP-TO-DATE
:jsk_gui_msgs:publishMavenJavaPublicationToMavenRepository
Uploading: org/ros/jsk_rosjava_messages/jsk_gui_msgs/0.1.0/jsk_gui_msgs-0.1.0.jar to repository remote at file:/home/dave/ros/ws_jsk/devel/share/maven/
Transferring 9K from remote
Uploaded 9K
BUILD SUCCESSFUL
Total time: 5.214 secs
make[2]: Leaving directory `/home/dave/ros/ws_jsk/build'
/usr/bin/cmake -E cmake_progress_report /home/dave/ros/ws_jsk/build/CMakeFiles
[ 61%] Built target gradle-jsk_rosjava_messages
make[1]: Leaving directory `/home/dave/ros/ws_jsk/build'
make: *** [all] Error 2
Invoking "make" failed
テストとまで言わないけど,コンパイルができるかどうか一行.travisに入れて欲しい.
https://github.com/jsk-ros-pkg/jsk_smart_apps/blob/master/.travis.yml#L47
でcatkin_makeしているけど,これは実質は何も動いていないよね?それともこれが通ればプログラムは動くと言えるのかな?
僕ではやり方がわかりませんでした。
jsk_android_gui_api9がapp_managerに依存してますが、app_managerの入れ方がよくわかりません。
@KazutoMurase , @HiroyukiMikita よろしくおねがいします。
rosbuildのテストからはjsk_android_gui_api9を抜いてます
rosjava tries to generate messages in wrong destination.
$ env | grep maven
ROS_MAVEN_PATH=/opt/ros/hydro/share/maven:/home/jskuser/ros/hydro/devel/share/maven
ROS_MAVEN_DEPLOYMENT_REPOSITORY=/opt/ros/hydro/share/maven
Uploading: org/ros/jsk_rosjava_messages/jsk_gui_msgs/1.0.4/jsk_gui_msgs-1.0.4.jar to repository remote at
file:/opt/ros/hydro/share/maven/
Specified destination directory cannot be created: /opt/ros/hydro/share/maven/org/ros/jsk_rosjava_messages
/jsk_gui_msgs/1.0.4
:jsk_gui_msgs:publishMavenJavaPublicationToMavenRepository FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jsk_gui_msgs:publishMavenJavaPublicationToMavenRepository'.
> Failed to publish publication 'mavenJava' to repository 'maven'
> Error deploying artifact 'org.ros.jsk_rosjava_messages:jsk_gui_msgs:jar': Error deploying artifact: S
pecified destination directory cannot be created: /opt/ros/hydro/share/maven/org/ros/jsk_rosjava_messages/
jsk_gui_msgs/1.0.4
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log out
put.
BUILD FAILED
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.