Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceLannn committed Jun 11, 2022
2 parents 98f40dd + 6cd395a commit 60dbd3c
Show file tree
Hide file tree
Showing 13 changed files with 139 additions and 19 deletions.
39 changes: 39 additions & 0 deletions rm_common/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@
Changelog for package rm_common
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.11 (2022-06-10)
-------------------
* Add synchronized calibration.
* Changed gpio type in gpio interface to enum.
* Move gpio type from rm_hw to rm_common.
* Changed gpio type in gpio interface to enum.
* Gpio interface 2 (`#51 <https://github.com/ye-luo-xi-tui/rm_control/issues/51>`_)
* Write a gpio_manager, it can initialize with pin ID and direction, and write output or read Input.
* Modifier readInput().
* Write gpio_state_interface.h(read only)
* write gpio_state_interface.h(read only)
* Modifier gpio manager. Write a new writeOutput() function.
* Add gpio_state_interface in robotHW
* Solve a error
* Modifier names of variables.
* Set GpioReadHandle and GpioWriteHandle. Register GpioReadInterface and GpioWriteInterface. Improve the code about gpio and delete unnecessary things.
* Add GpioRead.msg GpioWrite.msg.
* Add Gpio controller.
* Update Gpio controller.
* Update Gpio controller.
* Update gpio controller.
* Update gpio_controller.
* Update gpio_controller to version 2.0.
* Update gpio_interface to version2.0.
Co-authored-by: yezi <[email protected]>
Co-authored-by: ye-luo-xi-tui <[email protected]>
Co-authored-by: QiayuanLiao <[email protected]>
* Merge pull request `#49 <https://github.com/ye-luo-xi-tui/rm_control/issues/49>`_ from ChenZheng29/master
Delete cost function and modify the track topic
* Delete target_cost_function.cpp and target_cost_function.h
* Merge pull request `#48 <https://github.com/ye-luo-xi-tui/rm_control/issues/48>`_ from ye-luo-xi-tui/master
Fix a stupid bug
* Fix a stupid bug.
* Merge remote-tracking branch 'origin/master'
* Merge pull request `#47 <https://github.com/ye-luo-xi-tui/rm_control/issues/47>`_ from ye-luo-xi-tui/master
Decide acceleration and max_vel by power limit
* Decide acceleration and max_vel by power limit.
* Contributors: QiayuanLiao, XYM-github, Yuexin Mu, YuuinIH, chenzheng, qiayuan, yezi

0.1.10 (2022-05-22)
-------------------
* Merge pull request `#42 <https://github.com/rm-controls/rm_control/issues/42>`_ from ye-luo-xi-tui/service
Expand Down
18 changes: 5 additions & 13 deletions rm_common/include/rm_common/decision/service_caller.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,19 @@ class SwitchDetectionCaller : public ServiceCallerBase<rm_msgs::StatusChange>
service_.request.target = rm_msgs::StatusChangeRequest::ARMOR;
service_.request.exposure = rm_msgs::StatusChangeRequest::EXPOSURE_LEVEL_0;
service_.request.armor_target = rm_msgs::StatusChangeRequest::ARMOR_ALL;
callService();
}
void setEnemyColor(const RefereeData& referee_data)
{
if (referee_data.robot_id_ != 0 && !is_set_)
if (referee_data.robot_id_ != 0)
{
service_.request.color =
referee_data.robot_color_ == "blue" ? rm_msgs::StatusChangeRequest::RED : rm_msgs::StatusChangeRequest::BLUE;
ROS_INFO_STREAM("Set enemy color: " << (service_.request.color == service_.request.RED ? "red" : "blue"));

callService();
if (getIsSwitch())
is_set_ = true;
}
else
ROS_INFO_STREAM("Set enemy color failed: referee offline");
}
void switchEnemyColor()
{
Expand Down Expand Up @@ -241,14 +242,5 @@ class SwitchDetectionCaller : public ServiceCallerBase<rm_msgs::StatusChange>
{
return service_.request.exposure;
}
bool getIsSwitch()
{
if (isCalling())
return false;
return service_.response.switch_is_success;
}

private:
bool is_set_{};
};
} // namespace rm_common
2 changes: 1 addition & 1 deletion rm_common/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>rm_common</name>
<version>0.1.10</version>
<version>0.1.11</version>
<description>The rm_common package</description>

<maintainer email="[email protected]">qiayuan</maintainer>
Expand Down
5 changes: 5 additions & 0 deletions rm_control/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package rm_control
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.11 (2022-06-10)
-------------------
* Merge remote-tracking branch 'origin/master'
* Contributors: QiayuanLiao, YuuinIH, qiayuan, yezi

0.1.10 (2022-05-22)
-------------------
* Merge pull request `#45 <https://github.com/rm-controls/rm_control/issues/45>`_ from ye-luo-xi-tui/master
Expand Down
2 changes: 1 addition & 1 deletion rm_control/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>rm_control</name>
<version>0.1.10</version>
<version>0.1.11</version>
<description>Meta package that contains package of rm_control.</description>
<maintainer email="[email protected]">Qiayuan Liao</maintainer>

Expand Down
5 changes: 5 additions & 0 deletions rm_dbus/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package rm_dbus
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.11 (2022-06-10)
-------------------
* Merge remote-tracking branch 'origin/master'
* Contributors: QiayuanLiao, YuuinIH, qiayuan

0.1.10 (2022-05-22)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion rm_dbus/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>rm_dbus</name>
<version>0.1.10</version>
<version>0.1.11</version>
<description>A package that uses dbus to read remote control information</description>
<maintainer email="[email protected]">Qiayuan Liao</maintainer>

Expand Down
5 changes: 5 additions & 0 deletions rm_gazebo/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog for package rm_gazebo
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.11 (2022-06-10)
-------------------
* Merge remote-tracking branch 'origin/master'
* Contributors: QiayuanLiao, YuuinIH, qiayuan

0.1.10 (2022-05-22)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion rm_gazebo/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>rm_gazebo</name>
<version>0.1.10</version>
<version>0.1.11</version>
<description>A template for ROS packages.</description>
<maintainer email="[email protected]">Qiayuan Liao</maintainer>
<license>BSD</license>
Expand Down
35 changes: 35 additions & 0 deletions rm_hw/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,41 @@
Changelog for package rm_hw
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.11 (2022-06-10)
-------------------
* Merge pull request `#52 <https://github.com/ye-luo-xi-tui/rm_control/issues/52>`_ from XYM-github/gpio_interface_2.0
Changed gpio type in gpio interface to enum.
* Add the namespace of gpio_manager.
* Move gpio type from rm_hw to rm_common.
* Changed gpio type in gpio interface to enum.
* Gpio interface 2 (`#51 <https://github.com/ye-luo-xi-tui/rm_control/issues/51>`_)
* Write a gpio_manager, it can initialize with pin ID and direction, and write output or read Input.
* Modifier readInput().
* Write gpio_state_interface.h(read only)
* write gpio_state_interface.h(read only)
* Modifier gpio manager. Write a new writeOutput() function.
* Add gpio_state_interface in robotHW
* Solve a error
* Modifier names of variables.
* Set GpioReadHandle and GpioWriteHandle. Register GpioReadInterface and GpioWriteInterface. Improve the code about gpio and delete unnecessary things.
* Add GpioRead.msg GpioWrite.msg.
* Add Gpio controller.
* Update Gpio controller.
* Update Gpio controller.
* Update gpio controller.
* Update gpio_controller.
* Update gpio_controller to version 2.0.
* Update gpio_interface to version2.0.
Co-authored-by: yezi <[email protected]>
Co-authored-by: ye-luo-xi-tui <[email protected]>
Co-authored-by: QiayuanLiao <[email protected]>
* Merge remote-tracking branch 'origin/master'
* Merge pull request `#46 <https://github.com/ye-luo-xi-tui/rm_control/issues/46>`_ from XYM-github/imu_angular_offset
Add imu angular_vel_offset.
* Add imu angular_vel_offset.
* Merge remote-tracking branch 'origin/master'
* Contributors: Edwinlinks, QiayuanLiao, XYM-github, Yuexin Mu, YuuinIH, chenzheng, qiayuan, ye-luo-xi-tui, yezi

0.1.10 (2022-05-22)
-------------------
* Merge branch 'rm-controls:master' into master
Expand Down
2 changes: 1 addition & 1 deletion rm_hw/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>rm_hw</name>
<version>0.1.10</version>
<version>0.1.11</version>
<description>ROS control warped interface for RoboMaster motor and some robot hardware</description>
<maintainer email="[email protected]">Qiayuan Liao</maintainer>

Expand Down
39 changes: 39 additions & 0 deletions rm_msgs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@
Changelog for package rm_msgs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.1.11 (2022-06-10)
-------------------
* Merge pull request `#55 <https://github.com/ye-luo-xi-tui/rm_control/issues/55>`_ from jceleven/master
Add the use_id_classification flag.
* Add the use_id_classification flag.
* Merge pull request `#53 <https://github.com/ye-luo-xi-tui/rm_control/issues/53>`_ from ye-luo-xi-tui/master
Delete target_velocity in GimbalCmd.msg
* Merge pull request `#54 <https://github.com/ye-luo-xi-tui/rm_control/issues/54>`_ from ye-luo-xi-tui/command_source_frame
Add command_source_frame to ChassisCmd.msg
* Add command_source_frame to ChassisCmd.msg.
* Delete target_velocity in GimbalCmd.msg.
* Gpio interface 2 (`#51 <https://github.com/ye-luo-xi-tui/rm_control/issues/51>`_)
* Write a gpio_manager, it can initialize with pin ID and direction, and write output or read Input.
* Modifier readInput().
* Write gpio_state_interface.h(read only)
* write gpio_state_interface.h(read only)
* Modifier gpio manager. Write a new writeOutput() function.
* Add gpio_state_interface in robotHW
* Solve a error
* Modifier names of variables.
* Set GpioReadHandle and GpioWriteHandle. Register GpioReadInterface and GpioWriteInterface. Improve the code about gpio and delete unnecessary things.
* Add GpioRead.msg GpioWrite.msg.
* Add Gpio controller.
* Update Gpio controller.
* Update Gpio controller.
* Update gpio controller.
* Update gpio_controller.
* Update gpio_controller to version 2.0.
* Update gpio_interface to version2.0.
Co-authored-by: yezi <[email protected]>
Co-authored-by: ye-luo-xi-tui <[email protected]>
Co-authored-by: QiayuanLiao <[email protected]>
* Merge pull request `#49 <https://github.com/ye-luo-xi-tui/rm_control/issues/49>`_ from ChenZheng29/master
Delete cost function and modify the track topic
* Modify the track topic name and message, and unify the track interface
* Merge remote-tracking branch 'origin/master'
* Add testing option to shooter for testing the trigger without friction wheel
* Contributors: Jiachen Shen, QiayuanLiao, Yuexin Mu, YuuinIH, chenzheng, qiayuan, yezi

0.1.10 (2022-05-22)
-------------------
* Merge pull request `#43 <https://github.com/rm-controls/rm_control/issues/43>`_ from ye-luo-xi-tui/track_msg
Expand Down
2 changes: 1 addition & 1 deletion rm_msgs/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>rm_msgs</name>
<version>0.1.10</version>
<version>0.1.11</version>
<description>The rm_msgs package provides all the messages for all kind of robot</description>
<maintainer email="[email protected]">qiayuan</maintainer>
<license>BSD</license>
Expand Down

0 comments on commit 60dbd3c

Please sign in to comment.