Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swarm in Blocks: code adaptation to swarms #439

Draft
wants to merge 152 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
1ac1045
Create SwormAtena
guisoares9 Oct 22, 2021
961bdc3
Renamed file SwarmAtena
guisoares9 Oct 23, 2021
950d4e2
Merge branch 'CopterExpress:master' into master
Playergeek181 Oct 25, 2021
2ff9917
Swarm in Blocks project application of Atena team.
guisoares9 Oct 26, 2021
cc2750f
Merge branch 'master' of https://github.com/Grupo-SEMEAR-USP/clover
guisoares9 Oct 26, 2021
958f39f
Update Swarm_in_Blocks.md
guisoares9 Oct 26, 2021
74de58e
Merge pull request #1 from Grupo-SEMEAR-USP/Swarm_in_Blocks
guisoares9 Oct 26, 2021
f2b40b5
Fixing MAVLINK to MAVLink
guisoares9 Oct 26, 2021
545797d
Trailling spaces fixed
guisoares9 Oct 26, 2021
8aef11c
Markdown lint solved
guisoares9 Oct 26, 2021
f3ce4e0
Merge branch 'CopterExpress:master' into master
Playergeek181 Nov 12, 2021
bb5c628
Merge branch 'CopterExpress:master' into master
guisoares9 Dec 21, 2021
489807c
Merge branch 'CopterExpress:master' into Swarm_in_Blocks
guisoares9 Dec 23, 2021
aeae9ec
file renamed
guisoares9 Dec 27, 2021
4fe0d0b
file renamed
guisoares9 Dec 27, 2021
9a5f725
Merge branch 'CopterExpress:master' into master
guisoares9 Jan 25, 2022
a52c5ea
Started to update the project readme.
guisoares9 Jan 27, 2022
17038ec
Merge branch 'CopterExpress:master' into master
guisoares9 Jan 27, 2022
242981c
Merge branch 'CopterExpress:master' into Swarm_in_Blocks
Playergeek181 Feb 3, 2022
5d4379b
Update files to be possible to generate new files using then
Playergeek181 Feb 3, 2022
8ff5275
Update to be possible to use leds in multiple drones
Playergeek181 Feb 3, 2022
c5d836d
roswww_static updated to swarm_in_blocks front-end.
guisoares9 Feb 5, 2022
1a999da
favicon add on the localhost:2001 page
Felipe-Tommaselli Feb 6, 2022
7f6de12
arrumando o problema do path com o rospkg
Felipe-Tommaselli Feb 6, 2022
c69b7f2
melhorando o design do localhost
Felipe-Tommaselli Feb 10, 2022
33e81f8
roswww_static fixed
guisoares9 Feb 11, 2022
c4a978b
arrumando o localhost
Felipe-Tommaselli Feb 11, 2022
64e3c69
restaurando clover_blocks para o original
Felipe-Tommaselli Feb 12, 2022
19d900d
atualizando o localhost:2001
Felipe-Tommaselli Feb 16, 2022
12c0cae
Led names fixed
guisoares9 Feb 21, 2022
d88a8d6
minor changes
Felipe-Tommaselli Feb 22, 2022
0104eeb
Merge branch 'master' of https://github.com/Grupo-SEMEAR-USP/clover
Felipe-Tommaselli Feb 22, 2022
fd7636b
Adding initial pose to simple_offboard
guisoares9 Feb 22, 2022
d509a79
Pull request done
guisoares9 Feb 22, 2022
7bde23e
Led plugin fixed to work without camera plugin
guisoares9 Mar 8, 2022
8f46f0f
leds
guisoares9 Mar 11, 2022
d34b634
nothing
guisoares9 Mar 14, 2022
4070296
Lights world
guisoares9 Mar 16, 2022
e99af63
Merge branch 'CopterExpress:master' into master
guisoares9 Mar 17, 2022
5454035
Flashlights on clover disabled
guisoares9 Mar 17, 2022
d0b39b0
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Mar 17, 2022
1310ff6
sim_leds fixed
guisoares9 Mar 17, 2022
f306db9
localhost assets updated
guisoares9 Mar 23, 2022
9445b71
minor changes
Felipe-Tommaselli Mar 23, 2022
7870e73
minor changes
Felipe-Tommaselli Mar 30, 2022
8f1a1ea
editing the files from "eazy to swarm" heading
Felipe-Tommaselli Mar 30, 2022
5fc7510
Final article started
guisoares9 Mar 31, 2022
32adfe5
changing size of led_ring
Playergeek181 Mar 31, 2022
44d62b6
Merge branch 'master' of https://github.com/Grupo-SEMEAR-USP/clover
Playergeek181 Mar 31, 2022
985096e
Starting the article
Rafael-Saud Mar 31, 2022
2bba895
Adding topics in the article
Rafael-Saud Mar 31, 2022
bef8b4f
Updates in the article
Rafael-Saud Mar 31, 2022
e15071e
nothing
guisoares9 Mar 31, 2022
bbeccc5
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Mar 31, 2022
bdd556b
Swarm tools done
Rafael-Saud Mar 31, 2022
3a659a8
Conclusion
Rafael-Saud Mar 31, 2022
7a04967
Minor changes
Rafael-Saud Mar 31, 2022
e866b31
Update swarm_in_blocks.md
Felipe-Tommaselli Mar 31, 2022
6212b10
Update swarm_in_blocks.md
Felipe-Tommaselli Mar 31, 2022
9f1fedb
gifs
guisoares9 Mar 31, 2022
06ff103
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Mar 31, 2022
3b6c636
gifs added
guisoares9 Mar 31, 2022
2134de4
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
b907433
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
e9f527c
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
c55e1c1
gifs added
guisoares9 Mar 31, 2022
b942c26
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Mar 31, 2022
1122d2b
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
2501c21
gifs added
guisoares9 Mar 31, 2022
1669113
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Mar 31, 2022
8c9b234
gifs added
guisoares9 Mar 31, 2022
2b58502
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
91141cb
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Mar 31, 2022
993dd58
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
197ac20
gifs added
guisoares9 Mar 31, 2022
031b607
video added
guisoares9 Mar 31, 2022
b6e07ff
video added
guisoares9 Mar 31, 2022
3fe4003
video added
guisoares9 Mar 31, 2022
4859334
video added
guisoares9 Mar 31, 2022
e3015ab
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
62249ca
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
d01fe43
video added
guisoares9 Mar 31, 2022
a7d0e15
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Mar 31, 2022
7f3f186
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
e02df58
Add files via upload
Rafael-Saud Mar 31, 2022
ac98ed4
Update swarm_in_blocks.md
Rafael-Saud Mar 31, 2022
85b78fe
Tentativa
faresedu Mar 31, 2022
28ba9e2
Update swarm_in_blocks.md
faresedu Mar 31, 2022
a4d79e7
Update swarm_in_blocks.md
faresedu Mar 31, 2022
143aeb6
Update swarm_in_blocks.md
faresedu Mar 31, 2022
60c2fbc
Update swarm_in_blocks.md
faresedu Mar 31, 2022
c23e908
Update swarm_in_blocks.md
faresedu Mar 31, 2022
8464791
Update swarm_in_blocks.md
faresedu Mar 31, 2022
3e775c6
Update swarm_in_blocks.md
faresedu Mar 31, 2022
d4e6ab5
Update swarm_in_blocks.md
faresedu Mar 31, 2022
f4a2510
Update swarm_in_blocks.md
faresedu Mar 31, 2022
05980bb
Merge branch 'CopterExpress:master' into master
guisoares9 Apr 6, 2022
e18044f
Minor changes
guisoares9 Apr 13, 2022
72c36df
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Apr 13, 2022
a9bbc6d
Minor change
guisoares9 Apr 13, 2022
0765092
swarm_in_blocks branch updated
guisoares9 Apr 13, 2022
f565131
final article added from master to swarm_in_blocks branch
guisoares9 Apr 13, 2022
1d30e0f
Merge branch 'CopterExpress:master' into master
guisoares9 Apr 13, 2022
a78f650
Merge branch 'CopterExpress:master' into swarm_in_blocks
guisoares9 Apr 13, 2022
2994005
final article added but without assets
guisoares9 Apr 13, 2022
8897049
Assets added
guisoares9 Apr 13, 2022
e4c20ca
Added information about the Clover Platform and Swarm in Blocks repos…
guisoares9 Apr 13, 2022
943294c
Minor changes
guisoares9 Apr 13, 2022
38687cb
Minor changes
guisoares9 Apr 13, 2022
022f88f
Merge branch 'master' of github.com:Grupo-SEMEAR-USP/clover
guisoares9 Apr 13, 2022
7b1ef87
Minor changes
Rafael-Saud Apr 14, 2022
ea4e900
Minor changes
Rafael-Saud Apr 14, 2022
ec63ead
Update swarm_in_blocks.md
guisoares9 Apr 14, 2022
f5b4bd1
Add video preview image to the repo
okalachev Apr 18, 2022
75f54b0
Some editing
okalachev Apr 18, 2022
242e695
Reduce image size
okalachev Apr 18, 2022
e2c7f64
Merge branch 'master' into Grupo-SEMEAR-USP-edits
okalachev Apr 18, 2022
cb3d491
List article
okalachev Apr 18, 2022
5a017d2
Remove unused image
okalachev Apr 18, 2022
e6f9b03
Replace huge animations with external links to save space
okalachev Apr 18, 2022
dd2f6b9
pull
joseCarlosAndrade Jun 8, 2022
0b87070
merging - reviewing changes
joseCarlosAndrade Jun 18, 2022
de1f6eb
..
joseCarlosAndrade Jun 18, 2022
0700458
Merge branch 'Swarm_in_Blocks' into swarm_in_blocks
joseCarlosAndrade Jun 18, 2022
a5d4d6e
Update leds.py
guisoares9 Jun 24, 2022
e04bbfd
Update blockly_compressed.js
guisoares9 Jun 24, 2022
7171430
Update index.html
guisoares9 Jun 24, 2022
f38feba
Update index.html
guisoares9 Jun 24, 2022
0c39248
Update main.js
joseCarlosAndrade Jun 24, 2022
ff75133
Update main.css
guisoares9 Jun 24, 2022
a7b645f
Update main.css
guisoares9 Jun 24, 2022
ce783e9
Update main.js
joseCarlosAndrade Jun 24, 2022
5b30c17
Update clover4.xacro
guisoares9 Jun 24, 2022
b4841e1
Update led_strip.xacro
joseCarlosAndrade Jun 24, 2022
179b0e1
Update clover.world
guisoares9 Jun 24, 2022
513e305
Update clover_aruco.world
guisoares9 Jun 24, 2022
0c4d642
Update simulator.launch
guisoares9 Jun 24, 2022
c030cb8
Delete clover_light.world
guisoares9 Jun 24, 2022
02a52c7
Merged
guisoares9 Jun 24, 2022
0efea38
Merged with swarm_in_blocks
guisoares9 Jun 24, 2022
675ea2e
Readme fixed
guisoares9 Jun 24, 2022
8c95725
Updated copterhack2022.md
guisoares9 Jun 24, 2022
3552677
Updated copterhack2022.md
guisoares9 Jun 24, 2022
3612f7f
Update swarm_in_blocks.md
guisoares9 Jun 24, 2022
555de33
Readme files fixed.
guisoares9 Jun 24, 2022
6c40b0d
Merge branch 'swarm_in_blocks' of github.com:Grupo-SEMEAR-USP/clover …
guisoares9 Jun 24, 2022
a413198
Resolving example.launch
joseCarlosAndrade Jun 24, 2022
37429f0
Merge branch 'CopterExpress:master' into swarm_in_blocks
guisoares9 Jul 15, 2022
cf3f3ed
Namespaces on swarm are used. When it uses <robotNamespace></robotNam…
guisoares9 Jul 15, 2022
37c4c3b
Minor fixes
guisoares9 Jul 15, 2022
794e41c
Minor fixes
guisoares9 Jul 15, 2022
bb6807e
Minor fixes
guisoares9 Jul 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clover/launch/led.launch
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</node>

<!-- high level led effects control, events notification with leds -->
<node pkg="clover" name="led_effect" type="led" ns="led" clear_params="true" output="screen" if="$(arg led_effect)">
<node pkg="clover" name="led_effect" type="led" clear_params="true" output="screen" if="$(arg led_effect)">
<param name="blink_rate" value="2"/>
<param name="fade_period" value="0.5"/>
<param name="rainbow_period" value="5"/>
Expand Down
16 changes: 8 additions & 8 deletions clover/src/led.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,19 +309,19 @@ int main(int argc, char **argv)
nh_priv.param("notify/low_battery/threshold", low_battery_threshold, 3.7);
nh_priv.param("notify/error/ignore", error_ignore, {});

ros::service::waitForService("set_leds"); // cannot work without set_leds service
set_leds_srv = nh.serviceClient<led_msgs::SetLEDs>("set_leds", true);
ros::service::waitForService("led/set_leds"); // cannot work without set_leds service
set_leds_srv = nh.serviceClient<led_msgs::SetLEDs>("led/set_leds", true);

// wait for leds count info
handleState(*ros::topic::waitForMessage<led_msgs::LEDStateArray>("state", nh));
handleState(*ros::topic::waitForMessage<led_msgs::LEDStateArray>("led/state", nh));

auto state_sub = nh.subscribe("state", 1, &handleState);
auto state_sub = nh.subscribe("led/state", 1, &handleState);

auto set_effect = nh.advertiseService("set_effect", &setEffect);
auto set_effect = nh.advertiseService("led/set_effect", &setEffect);

auto mavros_state_sub = nh.subscribe("/mavros/state", 1, &handleMavrosState);
auto battery_sub = nh.subscribe("/mavros/battery", 1, &handleBattery);
auto rosout_sub = nh.subscribe("/rosout_agg", 1, &handleLog);
auto mavros_state_sub = nh.subscribe("mavros/state", 1, &handleMavrosState);
auto battery_sub = nh.subscribe("mavros/battery", 1, &handleBattery);
auto rosout_sub = nh.subscribe("rosout_agg", 1, &handleLog);

timer = nh.createTimer(ros::Duration(0), &proceed, false, false);

Expand Down
11 changes: 7 additions & 4 deletions clover/src/simple_offboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ AttitudeTarget att_raw_msg;
Thrust thrust_msg;
TwistStamped rates_msg;
TransformStamped target, setpoint;
geometry_msgs::TransformStamped body;
geometry_msgs::TransformStamped body, initial_pose;

// State
PoseStamped nav_start;
Expand Down Expand Up @@ -158,9 +158,9 @@ inline void publishBodyFrame()
q.setRPY(0, 0, tf::getYaw(local_position.pose.orientation));
tf::quaternionTFToMsg(q, body.transform.rotation);

body.transform.translation.x = local_position.pose.position.x;
body.transform.translation.y = local_position.pose.position.y;
body.transform.translation.z = local_position.pose.position.z;
body.transform.translation.x = local_position.pose.position.x + initial_pose.transform.translation.x;
body.transform.translation.y = local_position.pose.position.y + initial_pose.transform.translation.y;
body.transform.translation.z = local_position.pose.position.z + initial_pose.transform.translation.z;
body.header.frame_id = local_position.header.frame_id;
body.header.stamp = local_position.header.stamp;
transform_broadcaster->sendTransform(body);
Expand Down Expand Up @@ -882,6 +882,9 @@ int main(int argc, char **argv)
nh_priv.param("default_speed", default_speed, 0.5f);
nh_priv.param<string>("body_frame", body.child_frame_id, "body");
nh_priv.getParam("reference_frames", reference_frames);
nh.param("initial_pose/x", initial_pose.transform.translation.x, 0.0);
nh.param("initial_pose/y", initial_pose.transform.translation.y, 0.0);
nh.param("initial_pose/z", initial_pose.transform.translation.z, 0.0);

// Default reference frames
std::map<string, string> default_reference_frames;
Expand Down
13 changes: 7 additions & 6 deletions clover_description/urdf/clover/clover4.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<xacro:arg name="gps" default="true"/>
<xacro:arg name="maintain_camera_rate" default="false"/>
<xacro:arg name="use_clover_physics" default="false"/>
<xacro:arg name="mavlink_tcp_port" default="4560"/>

<xacro:include filename="clover4_base.xacro" />
<xacro:include filename="../sensors/rpi_cam.urdf.xacro"/>
Expand All @@ -15,12 +16,7 @@

<!-- Create camera plugin -->
<xacro:if value="$(arg main_camera)">
<xacro:rpi_cam name="main_camera" parent="base_link" x="0.055" y="0.0" z="-0.03" roll="0" pitch="${pi / 2}" yaw="0" width="320" height="240" rate="40" do_throttling="$(arg maintain_camera_rate)"/>
</xacro:if>

<!-- Create rangefinder plugin -->
<xacro:if value="$(arg rangefinder)">
<xacro:distance_sensor parent="base_link" x="0.0" y="0.0" z="-0.04" roll="0" pitch="${pi / 2}" yaw="0"/>
<xacro:rpi_cam name="main_camera" parent="base_link" x="0.055" y="0.0" z="-0.03" roll="0" pitch="${pi/2}" yaw="0" width="320" height="240" rate="40" do_throttling="$(arg maintain_camera_rate)"/>
</xacro:if>

<!-- Instantiate LED strip -->
Expand All @@ -35,6 +31,11 @@
z="-0.002"/>
</xacro:if>

<!-- Create rangefinder plugin -->
<xacro:if value="$(arg rangefinder)">
<xacro:distance_sensor parent="base_link" x="0.0" y="0.0" z="-0.04" roll="0" pitch="${pi / 2}" yaw="0"/>
</xacro:if>

<xacro:if value="$(arg gps)">
<gazebo>
<include>
Expand Down
2 changes: 1 addition & 1 deletion clover_description/urdf/clover/clover4_base.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</xacro:if>

<!-- Gazebo plugins -->
<xacro:include filename="$(find clover_description)/urdf/clover/clover4_gazebo.xacro" />
<xacro:include filename="clover4_gazebo.xacro" />

<xacro:if value="$(arg enable_logging)">
<!-- Instantiate a logger -->
Expand Down
4 changes: 2 additions & 2 deletions clover_description/urdf/clover/clover4_gazebo.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
<magSubTopic>/mag</magSubTopic>
<baroSubTopic>/baro</baroSubTopic>
<mavlink_addr>INADDR_ANY</mavlink_addr>
<mavlink_tcp_port>4560</mavlink_tcp_port>
<mavlink_tcp_port>$(arg mavlink_tcp_port)</mavlink_tcp_port>
<mavlink_udp_port>14560</mavlink_udp_port>
<serialEnabled>false</serialEnabled>
<serialDevice>/dev/ttyACM0</serialDevice>
<baudRate>921600</baudRate>
<qgc_addr>INADDR_ANY</qgc_addr>
<qgc_udp_port>14550</qgc_udp_port>
<qgc_udp_port>14560</qgc_udp_port>
<sdk_addr>INADDR_ANY</sdk_addr>
<sdk_udp_port>14540</sdk_udp_port>
<hil_mode>false</hil_mode>
Expand Down
4 changes: 2 additions & 2 deletions clover_description/urdf/leds/led_strip.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<gazebo reference="${name}_link">
<visual>
<plugin name="${name}_controller" filename="libsim_leds.so">
<robotNamespace></robotNamespace>
<!-- <robotNamespace></robotNamespace> -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the point of this?

<ledCount>${led_count}</ledCount>
</plugin>
<cast_shadows>false</cast_shadows>
Expand All @@ -66,7 +66,7 @@
</gazebo> -->
<gazebo>
<plugin name="${name}_ros_controller" filename="libsim_leds_controller.so">
<robotNamespace></robotNamespace>
<!-- <robotNamespace></robotNamespace> -->
<ledCount>${led_count}</ledCount>
</plugin>
</gazebo>
Expand Down
2 changes: 1 addition & 1 deletion clover_description/urdf/sensors/distance_sensor.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</range>
</ray>
<plugin name="laser" filename="libgazebo_ros_range.so">
<robotNamespace></robotNamespace> <!-- FIXME: fill namespace? -->
<!-- <robotNamespace></robotNamespace> --> <!-- FIXME: fill namespace? -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose? This would break the LED plugin.

<topicName>/rangefinder/range</topicName>
<frameName>rangefinder</frameName>
<radiation>infrared</radiation>
Expand Down
8 changes: 0 additions & 8 deletions roswww_static/CHANGELOG.rst

This file was deleted.

200 changes: 195 additions & 5 deletions roswww_static/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,202 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.0.2)
project(roswww_static)

## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED)

catkin_package()
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)


## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()

################################################
## Declare ROS messages, services and actions ##
################################################

## To declare and build messages, services or actions from within this
## package, follow these steps:
## * Let MSG_DEP_SET be the set of packages whose message types you use in
## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
## * In the file package.xml:
## * add a build_depend tag for "message_generation"
## * add a build_depend and a exec_depend tag for each package in MSG_DEP_SET
## * If MSG_DEP_SET isn't empty the following dependency has been pulled in
## but can be declared for certainty nonetheless:
## * add a exec_depend tag for "message_runtime"
## * In this file (CMakeLists.txt):
## * add "message_generation" and every package in MSG_DEP_SET to
## find_package(catkin REQUIRED COMPONENTS ...)
## * add "message_runtime" and every package in MSG_DEP_SET to
## catkin_package(CATKIN_DEPENDS ...)
## * uncomment the add_*_files sections below as needed
## and list every .msg/.srv/.action file to be processed
## * uncomment the generate_messages entry below
## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)

## Generate messages in the 'msg' folder
# add_message_files(
# FILES
# Message1.msg
# Message2.msg
# )

## Generate services in the 'srv' folder
# add_service_files(
# FILES
# Service1.srv
# Service2.srv
# )

## Generate actions in the 'action' folder
# add_action_files(
# FILES
# Action1.action
# Action2.action
# )

install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
## Generate added messages and services with any dependencies listed here
# generate_messages(
# DEPENDENCIES
# std_msgs # Or other packages containing msgs
# )

catkin_install_python(PROGRAMS main.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
################################################
## Declare ROS dynamic reconfigure parameters ##
################################################

## To declare and build dynamic reconfigure parameters within this
## package, follow these steps:
## * In the file package.xml:
## * add a build_depend and a exec_depend tag for "dynamic_reconfigure"
## * In this file (CMakeLists.txt):
## * add "dynamic_reconfigure" to
## find_package(catkin REQUIRED COMPONENTS ...)
## * uncomment the "generate_dynamic_reconfigure_options" section below
## and list every .cfg file to be processed

## Generate dynamic reconfigure parameters in the 'cfg' folder
# generate_dynamic_reconfigure_options(
# cfg/DynReconf1.cfg
# cfg/DynReconf2.cfg
# )

###################################
## catkin specific configuration ##
###################################
## The catkin_package macro generates cmake config files for your package
## Declare things to be passed to dependent projects
## INCLUDE_DIRS: uncomment this if your package contains header files
## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES roswww_static
# CATKIN_DEPENDS other_catkin_pkg
# DEPENDS system_lib
)

###########
## Build ##
###########

## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(
# include
# ${catkin_INCLUDE_DIRS}
)

## Declare a C++ library
# add_library(${PROJECT_NAME}
# src/${PROJECT_NAME}/roswww_static.cpp
# )

## Add cmake target dependencies of the library
## as an example, code may need to be generated before libraries
## either from message generation or dynamic reconfigure
# add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

## Declare a C++ executable
## With catkin_make all packages are built within a single CMake context
## The recommended prefix ensures that target names across packages don't collide
# add_executable(${PROJECT_NAME}_node src/roswww_static_node.cpp)

## Rename C++ executable without prefix
## The above recommended prefix causes long target names, the following renames the
## target back to the shorter version for ease of user use
## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node"
# set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "")

## Add cmake target dependencies of the executable
## same as for the library above
# add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

## Specify libraries to link a library or executable target against
# target_link_libraries(${PROJECT_NAME}_node
# ${catkin_LIBRARIES}
# )

#############
## Install ##
#############

# all install targets should use catkin DESTINATION variables
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html

## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
# catkin_install_python(PROGRAMS
# scripts/my_python_script
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )

## Mark executables for installation
## See http://docs.ros.org/melodic/api/catkin/html/howto/format1/building_executables.html
# install(TARGETS ${PROJECT_NAME}_node
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )

## Mark libraries for installation
## See http://docs.ros.org/melodic/api/catkin/html/howto/format1/building_libraries.html
# install(TARGETS ${PROJECT_NAME}
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
# )

## Mark cpp header files for installation
# install(DIRECTORY include/${PROJECT_NAME}/
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
# FILES_MATCHING PATTERN "*.h"
# PATTERN ".svn" EXCLUDE
# )

## Mark other files for installation (e.g. launch and bag files, etc.)
# install(FILES
# # myfile1
# # myfile2
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )

#############
## Testing ##
#############

## Add gtest based cpp test target and link libraries
# catkin_add_gtest(${PROJECT_NAME}-test test/test_roswww_static.cpp)
# if(TARGET ${PROJECT_NAME}-test)
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# endif()

## Add folders to be run by python nosetests
# catkin_add_nosetests(test)
17 changes: 0 additions & 17 deletions roswww_static/README.md

This file was deleted.

Binary file added roswww_static/assets/SwarmCloverBlocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading