Skip to content

Commit 647a923

Browse files
authored
Merge pull request #20 from ichiro-its/19-rename-project-into-musen
19 rename project into musen
2 parents 97fd1c3 + c30fb18 commit 647a923

23 files changed

+94
-93
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.5)
22

3-
project(housou)
3+
project(musen)
44

55
if(NOT CMAKE_C_STANDARD)
66
set(CMAKE_C_STANDARD 99)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Ichiro ITS
3+
Copyright (c) 2021 ICHIRO ITS
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# Housou (放送)
1+
# Musen (無線)
22

3-
[![latest version](https://img.shields.io/github/v/release/ichiro-its/housou.svg)](https://github.com/ichiro-its/housou/releases/)
4-
[![license](https://img.shields.io/github/license/ichiro-its/housou.svg)](./LICENSE)
5-
[![build and test status](https://github.com/ichiro-its/housou/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/ichiro-its/housou/actions)
3+
[![latest version](https://img.shields.io/github/v/release/ichiro-its/musen)](https://github.com/ichiro-its/musen/releases/)
4+
[![commit activity](https://img.shields.io/github/commit-activity/m/ichiro-its/musen)](https://github.com/ichiro-its/musen/commits/master)
5+
[![license](https://img.shields.io/github/license/ichiro-its/musen)](./LICENSE)
6+
[![build and test status](https://img.shields.io/github/workflow/status/ichiro-its/musen/Build%20and%20Test?label=build%20and%20test)](https://github.com/ichiro-its/musen/actions)
67

7-
Housou (放送, broadcast) is a [ROS 2](https://docs.ros.org/en/foxy/index.html) package that provides a [UDP](https://en.wikipedia.org/wiki/User_Datagram_Protocol) broadcast communication library for a ROS 2 project.
8+
Musen (無線, wireless) is a [ROS 2](https://docs.ros.org/en/foxy/index.html) package that provides a [UDP](https://en.wikipedia.org/wiki/User_Datagram_Protocol) broadcast communication library for a ROS 2 project.
89
This package is written in C++ and currently only works on Linux based operating system.
910
In this package, the broadcast communication will be handled by a Broadcaster object that will send a message to multiple targets and a Listener object that will receive a message from multiple sources.
1011

@@ -31,4 +32,4 @@ See [examples](./examples) for information on how to use this package.
3132

3233
## License
3334

34-
This project is maintained by [Ichiro ITS](https://github.com/ichiro-its) and licensed under [the MIT License](./LICENSE).
35+
This project is maintained by [ICHIRO ITS](https://github.com/ichiro-its) and licensed under the [MIT License](./LICENSE).

examples/fruits_broadcaster.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021 Ichiro ITS
1+
// Copyright (c) 2021 ICHIRO ITS
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
// THE SOFTWARE.
2020

21-
#include <housou/housou.hpp>
21+
#include <musen/musen.hpp>
2222

2323
#include <unistd.h>
2424

@@ -29,7 +29,7 @@
2929

3030
int main()
3131
{
32-
housou::StringBroadcaster broadcaster(8080);
32+
musen::StringBroadcaster broadcaster(8080);
3333

3434
broadcaster.enable_broadcast(false);
3535
broadcaster.add_target_host("localhost");

examples/fruits_listener.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021 Ichiro ITS
1+
// Copyright (c) 2021 ICHIRO ITS
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
// THE SOFTWARE.
2020

21-
#include <housou/housou.hpp>
21+
#include <musen/musen.hpp>
2222

2323
#include <unistd.h>
2424

@@ -27,7 +27,7 @@
2727

2828
int main()
2929
{
30-
housou::StringListener listener(8080);
30+
musen::StringListener listener(8080);
3131

3232
if (!listener.connect()) {
3333
std::cerr << "Failed to connect listener on port " <<

examples/hello_world_broadcaster.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021 Ichiro ITS
1+
// Copyright (c) 2021 ICHIRO ITS
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
// THE SOFTWARE.
2020

21-
#include <housou/housou.hpp>
21+
#include <musen/musen.hpp>
2222

2323
#include <unistd.h>
2424

@@ -27,7 +27,7 @@
2727

2828
int main()
2929
{
30-
housou::StringBroadcaster broadcaster(8080);
30+
musen::StringBroadcaster broadcaster(8080);
3131

3232
broadcaster.enable_broadcast(false);
3333
broadcaster.add_target_host("localhost");

examples/hello_world_listener.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021 Ichiro ITS
1+
// Copyright (c) 2021 ICHIRO ITS
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
// THE SOFTWARE.
2020

21-
#include <housou/housou.hpp>
21+
#include <musen/musen.hpp>
2222

2323
#include <unistd.h>
2424

@@ -27,7 +27,7 @@
2727

2828
int main()
2929
{
30-
housou::StringListener listener(8080);
30+
musen::StringListener listener(8080);
3131

3232
if (!listener.connect()) {
3333
std::cerr << "Failed to connect listener on port " <<

examples/position_broadcaster.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021 Ichiro ITS
1+
// Copyright (c) 2021 ICHIRO ITS
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
// THE SOFTWARE.
2020

21-
#include <housou/housou.hpp>
21+
#include <musen/musen.hpp>
2222

2323
#include <stdlib.h>
2424
#include <unistd.h>
@@ -35,7 +35,7 @@ struct Position
3535

3636
int main()
3737
{
38-
housou::Broadcaster<Position> broadcaster(8080);
38+
musen::Broadcaster<Position> broadcaster(8080);
3939

4040
broadcaster.enable_broadcast(false);
4141
broadcaster.add_target_host("localhost");

examples/position_listener.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021 Ichiro ITS
1+
// Copyright (c) 2021 ICHIRO ITS
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -18,7 +18,7 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
// THE SOFTWARE.
2020

21-
#include <housou/housou.hpp>
21+
#include <musen/musen.hpp>
2222

2323
#include <stdlib.h>
2424
#include <unistd.h>
@@ -34,7 +34,7 @@ struct Position
3434

3535
int main()
3636
{
37-
housou::Listener<Position> listener(8080);
37+
musen::Listener<Position> listener(8080);
3838

3939
if (!listener.connect()) {
4040
std::cerr << "Failed to connect listener on port " <<

include/housou/broadcaster/base_broadcaster.hpp renamed to include/musen/broadcaster/base_broadcaster.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2021 Ichiro ITS
1+
// Copyright (c) 2021 ICHIRO ITS
22
//
33
// Permission is hereby granted, free of charge, to any person obtaining a copy
44
// of this software and associated documentation files (the "Software"), to deal
@@ -18,15 +18,15 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
// THE SOFTWARE.
2020

21-
#ifndef HOUSOU__BROADCASTER__BASE_BROADCASTER_HPP_
22-
#define HOUSOU__BROADCASTER__BASE_BROADCASTER_HPP_
21+
#ifndef MUSEN__BROADCASTER__BASE_BROADCASTER_HPP_
22+
#define MUSEN__BROADCASTER__BASE_BROADCASTER_HPP_
2323

2424
#include <string>
2525
#include <vector>
2626

2727
#include "../udp_socket.hpp"
2828

29-
namespace housou
29+
namespace musen
3030
{
3131

3232
class BaseBroadcaster : public UdpSocket
@@ -48,6 +48,6 @@ class BaseBroadcaster : public UdpSocket
4848
int port;
4949
};
5050

51-
} // namespace housou
51+
} // namespace musen
5252

53-
#endif // HOUSOU__BROADCASTER__BASE_BROADCASTER_HPP_
53+
#endif // MUSEN__BROADCASTER__BASE_BROADCASTER_HPP_

0 commit comments

Comments
 (0)