passchaos
b75607a46e
feat: eliminate compiler warnings about virtual workspace's resolver
2023-09-07 10:49:53 +02:00
Martin Dahl
70d5b1b83c
Merge pull request #64 from wentasah/list-parameters
...
Implement rcl_interfaces::srv::ListParameters service
2023-09-07 10:48:39 +02:00
Michal Sojka
61856047fc
Implement rcl_interfaces::srv::ListParameters service
...
With this, one can list node parameters by `ros2 param list`. It also
allows modifying the parameters with rig_reconfigure [1]. Without this
change, none of these was possible.
The functionality should match the corresponding code from rclcpp [2].
Note that `ros2 param list --param-type` and `ros2 param describe`
still doesn't work, because it needs
`rcl_interfaces::srv::DescribeParameters` to be implemented.
[1]: https://github.com/teamspatzenhirn/rig_reconfigure
[2]: 689e510cf0/rclcpp/src/rclcpp/node_interfaces/node_parameters.cpp (L922-L964)
2023-09-04 18:47:04 +02:00
Martin Dahl
cc84beb17d
Release 0.7.5
2023-06-27 23:54:46 +02:00
Martin Dahl
bb6f171495
Move regex compilation to static thread locals
2023-06-27 22:29:26 +02:00
Martin Dahl
f5f41baa25
Don't generate msg_includes.h in parallel with bindgen generation.
2023-06-26 22:23:51 +02:00
Martin Dahl
fd8f466c6e
Fix camel case to snake case conversion.
...
Replace general camel case to snake case conversion with a specific
implementation from rosidl.
2023-06-26 21:08:32 +02:00
Martin Dahl
c58fbbcd5f
Release 0.7.4
2023-06-26 15:55:15 +02:00
Martin Dahl
892dd4ab48
rustfmt
2023-06-26 13:33:41 +02:00
Martin Dahl
93cd1756cd
Update readme
2023-06-26 12:16:21 +02:00
Martin Dahl
a54682ec93
Refresh bindings
2023-06-26 12:05:55 +02:00
Martin Dahl
f19b256139
Generate formatted bindings + fix dead code warnings
2023-06-26 12:05:21 +02:00
Martin Dahl
d720848bb6
Refresh bindings bash script
2023-06-26 12:03:58 +02:00
Martin Dahl
ce2ff76e7e
Merge pull request #59 from jerry73204/refresh-bindings
...
Refresh bindings with new codegen by #58
2023-06-26 10:29:53 +02:00
aeon
7800f0ac5b
Refresh bindings with new codegen by #58
2023-06-26 04:31:38 +08:00
aeon
fd4524c67e
Refresh saved bindings for docs
2023-06-25 21:56:12 +02:00
aeon
228f713f14
Allow doc-only feature to work without ROS
2023-06-25 21:46:54 +02:00
aeon
e8dd2bf9ab
Run rustfmt
2023-06-25 21:46:52 +02:00
aeon
a042dc8c55
Refactor codegen using syn and quote
2023-06-25 21:46:11 +02:00
aeon
c2c365fa77
Don't check AMENT_PREFIX_PATH and ROS_DISTRO and doc-only feature is on
2023-06-25 21:45:46 +02:00
aeon
fd0e9a7291
Fix linkage issue when doc-only feature is on
2023-06-25 21:45:46 +02:00
aeon
a4d04a5017
Replace DeserializeOwned with Deserialize<'de> trait bound
2023-06-25 21:45:46 +02:00
Jiangeng Dong
fd13c82aa2
int: replace the (e)println! with log
2023-06-25 10:56:57 -07:00
Martin Dahl
c576ead3c1
Release 0.7.3
2023-06-20 11:22:13 +02:00
Martin Dahl
dedbf11486
Fix mistake in docs generatation and CI docs test
2023-06-20 11:13:59 +02:00
Martin Dahl
5c78ecaebe
Release 0.7.2
2023-06-20 10:32:42 +02:00
Martin Dahl
87db2a0344
Update readme
2023-06-20 10:16:27 +02:00
Martin Dahl
2a7a4ad249
Avoid running duplicate actions in pull requests
2023-06-20 08:58:45 +02:00
Martin Dahl
a24d6980f1
Refresh saved bindings for docs.
2023-06-20 08:43:06 +02:00
Martin Dahl
64bc3dcab6
Don't include function pointers when building with cfg doc-only.
2023-06-20 08:40:59 +02:00
Martin Dahl
8142b253da
CI: add action for building docs
2023-06-20 01:24:55 +02:00
Martin Dahl
c1cd22b6cc
include test_msgs in docker file + add foxy back
2023-06-11 22:38:00 +02:00
Martin Dahl
ccdfc1ebc9
ROS_DISTRO as configuration option.
...
Allows us to handle API differences between ros versions.
2023-06-02 09:39:35 +02:00
Martin Dahl
47ba2b075a
Release 0.7.1
2023-05-21 21:37:41 +02:00
Martin Dahl
70f5ae9e99
Update changelog
2023-05-21 21:25:40 +02:00
Martin Dahl
07514d7e92
Use generated constants to instead of magic numbers for ros actions
2023-05-15 17:22:13 +02:00
Martin Dahl
0ae3c80dcb
Extend the hack to generate constants for service and action types.
2023-05-15 16:50:33 +02:00
Martin Dahl
16f73aed4b
Adds a hack to generate constants associated to the message types.
2023-05-15 15:40:14 +02:00
Martin Dahl
ef0ea2a514
Update changelog
2023-05-08 10:25:48 +02:00
Martin Dahl
d052c5e436
Update r2r_cargo.cmake to latest version.
2023-05-08 10:13:05 +02:00
Marco
8b93894fc5
Log loaned msg error only once
2023-04-24 10:53:28 +02:00
Martin Dahl
9f7b11da87
Release 0.7.0
2023-03-21 09:44:56 +01:00
Liyou Zhou
c092123e82
Add loaned message support to R2R
...
Add loaned message support in R2R's subscriber to
take advantage of the shared memory backend of the middleware.
- Add new constructor to `WrappedNativeMsg` which
takes a already allocated pointer, and a deallocator.
- If the subscription can loan messages, construct
`WrappedNativeMsg` with the loaned message pointer.
- Pass in also a closure as the deallocator that calls
the right APIs to return the loaned message to the middleware layer.
- The deallocator is called in the destructor of `WrappedNativeMsg`
- Add borrow_loaned_message API to publisher
- Add release() api to WrappedNativeMsg so a loaded message
could be manually released if not published.
2023-03-21 09:09:41 +01:00
LIYOU ZHOU
88c16ba598
Add return value checking when invoking c APIs ( #41 )
...
During rcl_init, things could fail and result in
segfault.
In this patch, we check the return code of
c function calls and panic in case of error.
2023-03-21 08:55:45 +01:00
GabrielDertoni
0ed365f598
fix: use non-mangled field names in serde ( #40 )
2023-03-15 20:49:35 +01:00
Martin Dahl
5f096f469e
Bump version for new release.
...
Changes since last release:
- Fix build scripts on ros2 foxy.
2023-02-20 10:44:22 +01:00
Martin Dahl
0756436868
Fixes undeclared type `RCUTILS_LOG_SEVERITY` on foxy.
2023-02-17 10:52:23 +01:00
Martin Dahl
71bbeac8b8
Update r2r_cargo.cmake to latest version
2023-01-19 09:45:22 +01:00
Martin Dahl
3d95663095
Forgot to bump r2r crate version
2023-01-19 09:35:41 +01:00
Martin Dahl
5acdeb3727
Bump versions for release with docs pointing to docs.rs
...
Allows us to delete github pages.
2023-01-19 09:32:54 +01:00