Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lrs_ardupilot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lrs2
lrs_ardupilot
Commits
d687b7ef
Commit
d687b7ef
authored
3 weeks ago
by
Tommy Persson
Browse files
Options
Downloads
Patches
Plain Diff
Work for new UAVs
parent
54420719
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWUAVS.md
+31
-22
31 additions, 22 deletions
NEWUAVS.md
tmux/ardu.tmux
+3
-2
3 additions, 2 deletions
tmux/ardu.tmux
with
34 additions
and
24 deletions
NEWUAVS.md
+
31
−
22
View file @
d687b7ef
...
...
@@ -41,39 +41,48 @@ network:
https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debs.html
sudo apt update && sudo apt install ros-dev-tools
Follow instruction in the beginning on the web page.
```
bash
sudo
apt
install
ros-jazzy-ros-base
sudo
apt
install
ros-jazzy-geographic-msgs
sudo
apt
install
ros-jazzy-nmea-msgs
sudo
apt
install
libproj-dev
sudo
apt
install
ros-jazzy-octomap-server
sudo
apt
install
libompl-dev
sudo
apt update
sudo
apt
install
ros-dev-tools ros-jazzy-xacro ros-jazzy-ros-base ros-jazzy-geographic-msgs ros-jazzy-nmea-msgs libproj-dev ros-jazzy-octomap-server libompl-dev python3-pyproj ros-jazzy-cv-bridge python3-pydot ros-jazzy-rqt-image-view ros-jazzy-compressed-image-transport ffmpeg x11-apps python3-virtualenv
```
```
bash
git clone git@gitlab.liu.se:lrs2/lrs_srvs_ra.git
git clone git@gitlab.liu.se:lrs2/lrs_exec.git
git clone git@gitlab.liu.se:lrs2/lrs_mplanner.git
git clone git@gitlab.liu.se:lrs2/lrs_msgs_common.git
git clone git@gitlab.liu.se:lrs2/lrs_ardu.git
git clone git@gitlab.liu.se:lrs2/lrs_ardupilot.git
git clone git@gitlab.liu.se:lrs2/lrs_common.git
32 git clone git@gitlab.liu.se:lrs2/lrs_util.git
33 git clone git@gitlab.liu.se:lrs2/lrs_wdb.git
34 git clone git@gitlab.liu.se:lrs2/lrs_json_api.git
35 git clone git@gitlab.liu.se:lrs2/lrs_mqtt.git
36 git clone git@gitlab.liu.se:lrs2/lrs_msgs_common.git
37 git clone git@gitlab.liu.se:lrs2/lrs_msgs_tst.git
38 git clone git@gitlab.liu.se:lrs2/lrs_srvs_exec.git
39 git clone git@gitlab.liu.se:lrs2/lrs_srvs_tsy.git
40 git clone git@gitlab.liu.se:lrs2/lrs_srvs_tst.git
41 git clone git@gitlab.liu.se:lrs2/lrs_srvs_wdb.git
42 git clone git@gitlab.liu.se:lrs2/lrs_task_planning_msgs.git
43 git clone git@gitlab.liu.se:lrs2/lrs_team.git
44 git clone git@gitlab.liu.se:lrs2/lrs_team_msgs.git
45 git clone git@gitlab.liu.se:lrs2/lrs_util.git
46 git clone git@gitlab.liu.se:lrs2/ros_ldb_interfaces.git
git clone git@gitlab.liu.se:lrs2/lrs_util.git
git clone git@gitlab.liu.se:lrs2/lrs_wdb.git
git clone git@gitlab.liu.se:lrs2/lrs_json_api.git
git clone git@gitlab.liu.se:lrs2/lrs_mqtt.git
git clone git@gitlab.liu.se:lrs2/lrs_msgs_common.git
git clone git@gitlab.liu.se:lrs2/lrs_msgs_tst.git
git clone git@gitlab.liu.se:lrs2/lrs_srvs_exec.git
git clone git@gitlab.liu.se:lrs2/lrs_srvs_tsy.git
git clone git@gitlab.liu.se:lrs2/lrs_srvs_tst.git
git clone git@gitlab.liu.se:lrs2/lrs_srvs_wdb.git
git clone git@gitlab.liu.se:lrs2/lrs_task_planning_msgs.git
git clone git@gitlab.liu.se:lrs2/lrs_team.git
git clone git@gitlab.liu.se:lrs2/lrs_team_msgs.git
git clone git@gitlab.liu.se:lrs2/lrs_util.git
git clone git@gitlab.liu.se:lrs2/ros_ldb_interfaces.git
```
### virtualenv
```
bash
virtualenv
--system-site-packages
venv
source
venv/bin/activate
pip
install
dronekit
pip
install
dronekit-sitl
```
### Locale message
Maybe solved with ROS2 install instructions.
This diff is collapsed.
Click to expand it.
tmux/ardu.tmux
+
3
−
2
View file @
d687b7ef
...
...
@@ -71,9 +71,10 @@ def main_unit(ns):
ros2
(
"
vicon_to_nmea
"
,
f
"
ros2 run lrs_ardupilot vicon_to_nmea --ros-args -r __ns:=
{
ns
}
"
)
ros2
(
"
mavproxy
"
,
f
"
mavproxy.py --master=tcp:localhost:14552 --out=tcpin:mavproxy:14553
"
,
run
=
False
)
if
options
.
jazzy
:
ros2
(
"
ardu_manager
"
,
f
"
cd
/home/tompe/lrs_jazzy
/src/lrs_ardupilot/lrs_ardupilot;
source venv/bin/activate;
python ardu_manager.py --ros-args -r __ns:=
{
ns
}
-p port:=14552
"
)
ros2
(
"
ardu_manager
"
,
f
"
cd
; source venv/bin/activate; cd
{
os
.
getenv
(
"
HOME
"
)
}
/lrs2_ws
/src/lrs_ardupilot/lrs_ardupilot; python ardu_manager.py --ros-args -r __ns:=
{
ns
}
-p port:=14552
"
)
else
:
ros2
(
"
ardu_manager
"
,
f
"
cd /home/tompe/lrs2_ws/src/lrs_ardupilot/lrs_ardupilot; source venv/bin/activate; python ardu_manager.py --ros-args -r __ns:=
{
ns
}
-p port:=14552
"
)
pass
# ros2("ardu_manager", f"cd /home/tompe/lrs2_ws/src/lrs_ardupilot/lrs_ardupilot; source venv/bin/activate; python ardu_manager.py --ros-args -r __ns:={ns} -p port:=14552")
ros2
(
"
ardu_command
"
,
f
"
ros2 run lrs_ardupilot ardu_command --ros-args -r __ns:=
{
ns
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment