Current section
35 Versions
Jump to
Current section
35 Versions
Compare versions
9
files changed
+89
additions
-17
deletions
| @@ -1,5 +1,29 @@ | |
| 1 1 | # CHANGELOG |
| 2 2 | |
| 3 | + ## v0.7.2 on 22 Sep 2022 |
| 4 | + |
| 5 | + **Full Changelog**: https://github.com/rclex/rclex/compare/v0.7.1...v0.7.2 |
| 6 | + |
| 7 | + * New features: none |
| 8 | + * Code Improvements/Fixes: |
| 9 | + * change the recommended env and target versions for GitHub Actions CI by @takasehideki in https://github.com/rclex/rclex/pull/173 |
| 10 | + * Enable Dialyzer on GitHub Actions (remove uncheck and ignore exit options) by @s-hosoai in https://github.com/rclex/rclex/pull/165 |
| 11 | + * elinimate errors in `mix dialyzer` on GHA (fix #174) by @takasehideki in https://github.com/rclex/rclex/pull/175 |
| 12 | + * Bumps: |
| 13 | + * `dialyxir` from 1.1.0 to 1.2.0 in https://github.com/rclex/rclex/pull/166 |
| 14 | + * `ex_doc` from 0.28.4 to 0.28.5 in https://github.com/rclex/rclex/pull/168 |
| 15 | + * `credo` from 1.6.5 to 1.6.7 by https://github.com/rclex/rclex/pull/169 |
| 16 | + * Known issues to be addressed in the near future: |
| 17 | + * Lock `git_hooks` to 0.6.5 due to its issue in https://github.com/rclex/rclex/issues/138 |
| 18 | + * Bump to Humble Hawksbill in https://github.com/rclex/rclex/issues/114 |
| 19 | + * Release rcl nif resources when GerServer terminates in https://github.com/rclex/rclex/issues/160 |
| 20 | + * Note in this release: |
| 21 | + * The recommended environment is changed to the following versions |
| 22 | + * Ubuntu 20.04.2 LTS (Focal Fossa) |
| 23 | + * ROS 2 [Foxy Fitzroy](https://docs.ros.org/en/foxy/Releases/Release-Foxy-Fitzroy.html) |
| 24 | + * Elixir 1.13.4-otp-25 |
| 25 | + * Erlang/OTP 25.0.3 |
| 26 | + |
| 3 27 | ## v0.7.1 on 21 Sep 2022 |
| 4 28 | |
| 5 29 | **Full Changelog**: https://github.com/rclex/rclex/compare/v0.7.0...v0.7.1 |
| @@ -36,8 +36,8 @@ Currently, we use the following environment as the main development target: | |
| 36 36 | |
| 37 37 | - Ubuntu 20.04.2 LTS (Focal Fossa) |
| 38 38 | - ROS 2 [Foxy Fitzroy](https://docs.ros.org/en/foxy/Releases/Release-Foxy-Fitzroy.html) |
| 39 | - - Elixir 1.12.3-otp-24 |
| 40 | - - Erlang/OTP 24.1.5 |
| 39 | + - Elixir 1.13.4-otp-25 |
| 40 | + - Erlang/OTP 25.0.3 |
| 41 41 | |
| 42 42 | For other environments used to check the operation of this library, |
| 43 43 | please refer to [here](https://github.com/rclex/rclex_docker#available-versions-docker-tags). |
| @@ -55,7 +55,7 @@ by adding `rclex` to your list of dependencies in `mix.exs`: | |
| 55 55 | ```elixir |
| 56 56 | def deps do |
| 57 57 | [ |
| 58 | - {:rclex, "~> 0.7.1"} |
| 58 | + {:rclex, "~> 0.7.2"} |
| 59 59 | ] |
| 60 60 | end |
| 61 61 | ``` |
| @@ -44,7 +44,7 @@ ROSからの大きな違いとして,通信にDDS(Data Distribution Service | |
| 44 44 | ```elixir |
| 45 45 | def deps do |
| 46 46 | [ |
| 47 | - {:rclex, "~> 0.7.1"} |
| 47 | + {:rclex, "~> 0.7.2"} |
| 48 48 | ] |
| 49 49 | end |
| 50 50 | ``` |
| @@ -42,4 +42,4 @@ | |
| 42 42 | {<<"optional">>,false}, |
| 43 43 | {<<"repository">>,<<"hexpm">>}, |
| 44 44 | {<<"requirement">>,<<"~> 0.1.0">>}]]}. |
| 45 | - {<<"version">>,<<"0.7.1">>}. |
| 45 | + {<<"version">>,<<"0.7.2">>}. |
| @@ -1,16 +1,23 @@ | |
| 1 1 | defimpl Rclex.MsgProt, for: Rclex.GeometryMsgs.Msg.Twist do |
| 2 2 | alias Rclex.Nifs, as: Nifs |
| 3 3 | |
| 4 | + @spec typesupport(any) :: reference() |
| 4 5 | def typesupport(_) do |
| 5 6 | Nifs.get_typesupport_geometry_msgs_msg_twist() |
| 6 7 | end |
| 8 | + |
| 9 | + @spec initialize(any) :: reference() |
| 7 10 | def initialize(_) do |
| 8 11 | Nifs.create_empty_msg_geometry_msgs_msg_twist() |
| 9 12 | |> Nifs.init_msg_geometry_msgs_msg_twist() |
| 10 13 | end |
| 14 | + |
| 15 | + @spec set(Rclex.GeometryMsgs.Msg.Twist.t(), any) :: :ok |
| 11 16 | def set(data, msg) do |
| 12 17 | Nifs.setdata_geometry_msgs_msg_twist(msg, {{data.linear.x, data.linear.y, data.linear.z}, {data.angular.x, data.angular.y, data.angular.z}}) |
| 13 18 | end |
| 19 | + |
| 20 | + @spec read(any, any) :: Rclex.GeometryMsgs.Msg.Twist.t() |
| 14 21 | def read(_, msg) do |
| 15 22 | {{data_0_0, data_0_1, data_0_2}, {data_1_0, data_1_1, data_1_2}} = Nifs.readdata_geometry_msgs_msg_twist(msg) |
| 16 23 | %Rclex.GeometryMsgs.Msg.Twist{linear: %Rclex.GeometryMsgs.Msg.Vector3{x: data_0_0, y: data_0_1, z: data_0_2}, angular: %Rclex.GeometryMsgs.Msg.Vector3{x: data_1_0, y: data_1_1, z: data_1_2}} |
Loading more files…