roseus_mongo package from jsk_roseus repojsk_roseus roseus roseus_mongo roseus_smach roseus_tutorials |
|
Package Summary
Tags | No category tags. |
Version | 1.7.5 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_roseus.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2023-01-30 |
Dev Status | DEVELOPED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
roseus_mongo
parameters
mongodb related parameters
-
mongo::*mongo-database*
(string, default: paramrobot/database
ortest
)Database name used by mongodb
-
mongo::*mongo-collection*
(string, default: paramrobot/name
ortest
)Collection name used by mongodb
-
mongo::*mongo-query-default-buffer-size*
(int, default 4096 [byte])Buffer size reserved for storing json raw string while serialization
-
mongo::*mongo-service-query*
(string, default:/message_store/query_messages
)Service name for querying message
-
mongo::*mongo-service-insert*
(string, default:/message_store/insert
)Service name for inserting message
-
mongo::*mongo-service-update*
(string, default:/message_store/update
)Service name for updating message
-
mongo::*mongo-service-delete*
(string, default:/message_store/delete
)Service name for deleting message
-
mongo::*mongo-service-timeout*
(int, default: param~timeout
or 1)Seconds to wait for database server. Setting this value to
-1
means waiting forever. On euslisp only simulation without mongodb, it is recommended to set this value to0
to avoid stuck.
json(bson) related parameters
-
*json-parse-object-as*
(:alist
or:plist
, default::alist
)Destination type of evaluating json object
-
*json-parse-key-function*
(#'identity
,#'string->keyword
or possible other functions, default:#'string->keyword
)Destination type of key when evaluation json object
How to use
see euslisp/mongo-client-sample.l
roseus json example
Parse from json string
> load "package://roseus_mongo/euslisp/json/json-decode.l"
> setq *parsed* (json::parse-from-string "{\"key1\" : \"value1\", \"key2\" : \"value2\"}") ;; parse json-string
> assoc :key1 *parsed*
(:key1 . "value1")
> car (assoc :key1 *parsed*)
:key1
> cdr (assoc :key1 *parsed*)
"value1"
Convert lisp-alist to json string
> load "package://roseus_mongo/euslisp/json/json-encode.l"
> setq *alist* '(("key1" . "value1") ("key2" . "value2"))
> json::stream->string #'json::encode-alist *alist*
"{\"key1\":\"value1\",\"key2\":\"value2\"}"
Changelog for package roseus_mongo
1.7.5 (2021-12-13)
- add tests for encode-vector (#618)
- Contributors: Hirokazu Ishida
1.7.4 (2019-02-04)
1.7.3 (2019-02-01)
- Merge remote-tracking branch 'origin/master' into last-status-msg
- Contributors: Furushchev
1.7.2 (2018-11-10)
1.7.1 (2018-07-22)
- add melodic test
(#567)
- rosues_mongo/CMakeLists.txt: check mongodb_store package and deciede to run tests
- Contributors: Kei Okada
1.7.0 (2018-07-11)
- roseus_mongo: support non blocking insertion & update docstring
(#541)
- roseus_mongo: skip non wait insertion test on hydro
- roseus_mongo: minor fix in CMakeLists.txt
- roseus_mongo: support update method
- roseus_mongo: bugfix: assert on decoding string without blacket
- roseus_mongo: add docs; minor fix
- roseus_mongo: support non blocking insertion
- Contributors: Yuki Furuta
1.6.3 (2017-09-08)
- roseus_mongo: fix decode escaped string (#538)
- Contributors: Yuki Furuta
1.6.2 (2017-06-21)
1.6.1 (2017-03-15)
- add kinetic test
(#505)
- msg generation is only required unil indigo
- mongo is only released from indigo
- [roseus_mongo] fix: timeout must be integer
(#498)
- ros::get-param always returns numerial value as double instead mongo-service-timeout assumes parameter as integer.
- [roseus_mongo][json-decode.l] fix: parse-number / parse-constant return only string (#496)
- [roseus_mongo][test] use randomized mongod instance for testing (#492)
- [roseus_mongo] support json encode for ros::Time
(#488)
- [roseus_mongo] test ros::time
- [roseus_mongo][json-encode.l] support ros::time for json::encode
- [roseus_mongo][json-utils.l] fix: with-blacket return value
- [roseus_mongo/euslisp/mongo-client.l] use absolute path for json-encode / decode scripts (#481 )
- [roseus_mongo] query mongo server with timeout option
(#480 )
- [README.md] fix: wrong description of parameter for timeout
- [roseus_mongo/test/test-mongo-client.l] add test for mongodb query with timeout
- [roseus_mongo] add timeout option for querying mongodb server
- Contributors: Kei Okada, Yuki Furuta
1.6.0 (2016-10-02)
1.5.3 (2016-05-28)
1.5.2 (2016-05-28)
1.5.1 (2016-04-22)
1.5.0 (2016-03-20)
- {roseus_smach, roseus_mongo}/README.md: fix section/subsection
- Contributors: Kei Okada
1.4.1 (2015-11-25)
- [roseus_mongo/test/test_mongo_client.test] add missing machine tag for localhost
- [roseus_mongo] test with new mongodb_store; more loose condition to enable limit option
- [roseus_mongo/test/temp_mongodb_store.xml] update launch file path with fix https://github.com/strands-project/mongodb_store/pull/151 [roseus_mongo/test/test_mongo_client_hydro.test] moved deprecated test launch file for hydro [roseus_mongo/CMakeLists.txt] updated to test only CATKIN_ENABLE_TESTING; check mongodb_store version and switch test launch file
- [roseus_mongo/test/test-mongo-client.l] limit test for indigo later only [roseus_mongo/euslisp/mongo-client.l] limit ':limit' option only for indigo and later
- Contributors: Kei Okada, Yuki Furuta
1.4.0 (2015-11-03)
- [roseus_mongo/README.md] update readme for setting params
- [roseus_mongo/euslisp/mongo-client.l] fix param name for mongo-database
- [roseus_mongo] support timezone
- Contributors: Yuki Furuta
1.3.9 (2015-09-14)
1.3.8 (2015-09-12)
- [roseus_mongo] fix replicate function (send-goal did not send-goal
- [roseus_mongo/euslisp/mongo-client-sample.l] fix: update sample
- Contributors: Yuki Furuta
1.3.7 (2015-08-18)
- [roseus_mongo/euslisp/json/json-decode.l] use keyword for key as default
- [roseus_mongo] support immediate replicatation function
- [roseus_mongo] avoid reserved function name delete -> delete-by-id
- [roseus_mongo] use "mongodb/database" and "robot/name" as default db/collection name
- [roseus_mongo] bugfix: support convert to calendar-date object
- [roseus_mongo] add mongodb client for roseus
- Contributors: Yuki Furuta
1.3.6 (2015-06-11)
1.3.5 (2015-05-15)
1.3.4 (2015-05-03)
1.3.3 (2015-04-29)
1.3.2 (2015-04-28)
1.3.1 (2015-04-26)
1.3.0 (2015-04-24)
1.2.7 (2015-02-22)
1.2.6 (2015-02-21)
1.2.5 (2015-02-13)
1.2.4 (2015-02-12)
1.2.3 (2015-02-02)
1.2.2 (2015-01-27 18:38)
1.2.1 (2015-01-27 00:34)
1.2.0 (2015-01-26 23:20)
1.1.33 (2015-01-26 14:56)
1.1.32 (2015-01-26 02:27)
1.1.31 (2015-01-23)
1.1.30 (2015-01-14)
1.1.29 (2014-12-27)
1.1.28 (2014-12-26)
1.1.27 (2014-12-20)
1.1.26 (2014-11-10)
1.1.25 (2014-10-10)
1.1.24 (2014-09-24 11:56:16)
1.1.23 (2014-09-24 11:56:02)
1.1.22 (2014-09-04)
1.1.21 (2014-06-30)
1.1.20 (2014-06-29)
1.1.19 (2014-06-11)
1.1.18 (2014-05-16)
1.1.17 (2014-05-11 13:27)
1.1.16 (2014-05-11 03:23)
1.1.15 (2014-05-10)
1.1.14 (2014-05-09)
1.1.13 (2014-05-06 15:36)
1.1.12 (2014-05-06 03:54)
1.1.11 (2014-05-04)
1.1.10 (2014-05-03 10:35)
1.1.9 (2014-05-03 09:30)
1.1.8 (2014-05-02)
1.1.7 (2014-04-28 14:29)
1.1.6 (2014-04-28 03:12)
1.1.5 (2014-04-27)
1.1.4 (2014-04-25)
1.1.3 (2014-04-14)
1.1.2 (2014-04-07 23:17)
1.1.1 (2014-04-07 09:02)
1.1.0 (2014-04-07 00:52)
1.0.4 (2014-03-31)
1.0.3 (2014-03-30)
1.0.2 (2014-03-28)
1.0.1 (2014-03-27)
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
mongodb_store | |
mongodb_store_msgs | |
roseus | |
rostest | |
catkin |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged roseus_mongo at Robotics Stack Exchange
roseus_mongo package from jsk_roseus repojsk_roseus roseus roseus_mongo roseus_smach roseus_tutorials |
|
Package Summary
Tags | No category tags. |
Version | 1.7.5 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_roseus.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2023-01-30 |
Dev Status | DEVELOPED |
CI status |
|
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Yuki Furuta
Authors
- Yuki Furuta
roseus_mongo
parameters
mongodb related parameters
-
mongo::*mongo-database*
(string, default: paramrobot/database
ortest
)Database name used by mongodb
-
mongo::*mongo-collection*
(string, default: paramrobot/name
ortest
)Collection name used by mongodb
-
mongo::*mongo-query-default-buffer-size*
(int, default 4096 [byte])Buffer size reserved for storing json raw string while serialization
-
mongo::*mongo-service-query*
(string, default:/message_store/query_messages
)Service name for querying message
-
mongo::*mongo-service-insert*
(string, default:/message_store/insert
)Service name for inserting message
-
mongo::*mongo-service-update*
(string, default:/message_store/update
)Service name for updating message
-
mongo::*mongo-service-delete*
(string, default:/message_store/delete
)Service name for deleting message
-
mongo::*mongo-service-timeout*
(int, default: param~timeout
or 1)Seconds to wait for database server. Setting this value to
-1
means waiting forever. On euslisp only simulation without mongodb, it is recommended to set this value to0
to avoid stuck.
json(bson) related parameters
-
*json-parse-object-as*
(:alist
or:plist
, default::alist
)Destination type of evaluating json object
-
*json-parse-key-function*
(#'identity
,#'string->keyword
or possible other functions, default:#'string->keyword
)Destination type of key when evaluation json object
How to use
see euslisp/mongo-client-sample.l
roseus json example
Parse from json string
> load "package://roseus_mongo/euslisp/json/json-decode.l"
> setq *parsed* (json::parse-from-string "{\"key1\" : \"value1\", \"key2\" : \"value2\"}") ;; parse json-string
> assoc :key1 *parsed*
(:key1 . "value1")
> car (assoc :key1 *parsed*)
:key1
> cdr (assoc :key1 *parsed*)
"value1"
Convert lisp-alist to json string
> load "package://roseus_mongo/euslisp/json/json-encode.l"
> setq *alist* '(("key1" . "value1") ("key2" . "value2"))
> json::stream->string #'json::encode-alist *alist*
"{\"key1\":\"value1\",\"key2\":\"value2\"}"
Changelog for package roseus_mongo
1.7.5 (2021-12-13)
- add tests for encode-vector (#618)
- Contributors: Hirokazu Ishida
1.7.4 (2019-02-04)
1.7.3 (2019-02-01)
- Merge remote-tracking branch 'origin/master' into last-status-msg
- Contributors: Furushchev
1.7.2 (2018-11-10)
1.7.1 (2018-07-22)
- add melodic test
(#567)
- rosues_mongo/CMakeLists.txt: check mongodb_store package and deciede to run tests
- Contributors: Kei Okada
1.7.0 (2018-07-11)
- roseus_mongo: support non blocking insertion & update docstring
(#541)
- roseus_mongo: skip non wait insertion test on hydro
- roseus_mongo: minor fix in CMakeLists.txt
- roseus_mongo: support update method
- roseus_mongo: bugfix: assert on decoding string without blacket
- roseus_mongo: add docs; minor fix
- roseus_mongo: support non blocking insertion
- Contributors: Yuki Furuta
1.6.3 (2017-09-08)
- roseus_mongo: fix decode escaped string (#538)
- Contributors: Yuki Furuta
1.6.2 (2017-06-21)
1.6.1 (2017-03-15)
- add kinetic test
(#505)
- msg generation is only required unil indigo
- mongo is only released from indigo
- [roseus_mongo] fix: timeout must be integer
(#498)
- ros::get-param always returns numerial value as double instead mongo-service-timeout assumes parameter as integer.
- [roseus_mongo][json-decode.l] fix: parse-number / parse-constant return only string (#496)
- [roseus_mongo][test] use randomized mongod instance for testing (#492)
- [roseus_mongo] support json encode for ros::Time
(#488)
- [roseus_mongo] test ros::time
- [roseus_mongo][json-encode.l] support ros::time for json::encode
- [roseus_mongo][json-utils.l] fix: with-blacket return value
- [roseus_mongo/euslisp/mongo-client.l] use absolute path for json-encode / decode scripts (#481 )
- [roseus_mongo] query mongo server with timeout option
(#480 )
- [README.md] fix: wrong description of parameter for timeout
- [roseus_mongo/test/test-mongo-client.l] add test for mongodb query with timeout
- [roseus_mongo] add timeout option for querying mongodb server
- Contributors: Kei Okada, Yuki Furuta
1.6.0 (2016-10-02)
1.5.3 (2016-05-28)
1.5.2 (2016-05-28)
1.5.1 (2016-04-22)
1.5.0 (2016-03-20)
- {roseus_smach, roseus_mongo}/README.md: fix section/subsection
- Contributors: Kei Okada
1.4.1 (2015-11-25)
- [roseus_mongo/test/test_mongo_client.test] add missing machine tag for localhost
- [roseus_mongo] test with new mongodb_store; more loose condition to enable limit option
- [roseus_mongo/test/temp_mongodb_store.xml] update launch file path with fix https://github.com/strands-project/mongodb_store/pull/151 [roseus_mongo/test/test_mongo_client_hydro.test] moved deprecated test launch file for hydro [roseus_mongo/CMakeLists.txt] updated to test only CATKIN_ENABLE_TESTING; check mongodb_store version and switch test launch file
- [roseus_mongo/test/test-mongo-client.l] limit test for indigo later only [roseus_mongo/euslisp/mongo-client.l] limit ':limit' option only for indigo and later
- Contributors: Kei Okada, Yuki Furuta
1.4.0 (2015-11-03)
- [roseus_mongo/README.md] update readme for setting params
- [roseus_mongo/euslisp/mongo-client.l] fix param name for mongo-database
- [roseus_mongo] support timezone
- Contributors: Yuki Furuta
1.3.9 (2015-09-14)
1.3.8 (2015-09-12)
- [roseus_mongo] fix replicate function (send-goal did not send-goal
- [roseus_mongo/euslisp/mongo-client-sample.l] fix: update sample
- Contributors: Yuki Furuta
1.3.7 (2015-08-18)
- [roseus_mongo/euslisp/json/json-decode.l] use keyword for key as default
- [roseus_mongo] support immediate replicatation function
- [roseus_mongo] avoid reserved function name delete -> delete-by-id
- [roseus_mongo] use "mongodb/database" and "robot/name" as default db/collection name
- [roseus_mongo] bugfix: support convert to calendar-date object
- [roseus_mongo] add mongodb client for roseus
- Contributors: Yuki Furuta
1.3.6 (2015-06-11)
1.3.5 (2015-05-15)
1.3.4 (2015-05-03)
1.3.3 (2015-04-29)
1.3.2 (2015-04-28)
1.3.1 (2015-04-26)
1.3.0 (2015-04-24)
1.2.7 (2015-02-22)
1.2.6 (2015-02-21)
1.2.5 (2015-02-13)
1.2.4 (2015-02-12)
1.2.3 (2015-02-02)
1.2.2 (2015-01-27 18:38)
1.2.1 (2015-01-27 00:34)
1.2.0 (2015-01-26 23:20)
1.1.33 (2015-01-26 14:56)
1.1.32 (2015-01-26 02:27)
1.1.31 (2015-01-23)
1.1.30 (2015-01-14)
1.1.29 (2014-12-27)
1.1.28 (2014-12-26)
1.1.27 (2014-12-20)
1.1.26 (2014-11-10)
1.1.25 (2014-10-10)
1.1.24 (2014-09-24 11:56:16)
1.1.23 (2014-09-24 11:56:02)
1.1.22 (2014-09-04)
1.1.21 (2014-06-30)
1.1.20 (2014-06-29)
1.1.19 (2014-06-11)
1.1.18 (2014-05-16)
1.1.17 (2014-05-11 13:27)
1.1.16 (2014-05-11 03:23)
1.1.15 (2014-05-10)
1.1.14 (2014-05-09)
1.1.13 (2014-05-06 15:36)
1.1.12 (2014-05-06 03:54)
1.1.11 (2014-05-04)
1.1.10 (2014-05-03 10:35)
1.1.9 (2014-05-03 09:30)
1.1.8 (2014-05-02)
1.1.7 (2014-04-28 14:29)
1.1.6 (2014-04-28 03:12)
1.1.5 (2014-04-27)
1.1.4 (2014-04-25)
1.1.3 (2014-04-14)
1.1.2 (2014-04-07 23:17)
1.1.1 (2014-04-07 09:02)
1.1.0 (2014-04-07 00:52)
1.0.4 (2014-03-31)
1.0.3 (2014-03-30)
1.0.2 (2014-03-28)
1.0.1 (2014-03-27)
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
mongodb_store | |
mongodb_store_msgs | |
roseus | |
rostest | |
catkin |