Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Alberto Ruiz Garcia
Firmware
Commits
a8a57ca2
Commit
a8a57ca2
authored
9 years ago
by
Andreas Antener
Browse files
Options
Downloads
Patches
Plain Diff
make iris move a bit faster in gazebo and removed broken assertion from posctl test
parent
326405fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
integrationtests/demo_tests/mavros_offboard_posctl_test.py
+1
-11
1 addition, 11 deletions
integrationtests/demo_tests/mavros_offboard_posctl_test.py
posix-configs/SITL/init/rcS_gazebo_iris
+6
-1
6 additions, 1 deletion
posix-configs/SITL/init/rcS_gazebo_iris
with
7 additions
and
12 deletions
integrationtests/demo_tests/mavros_offboard_posctl_test.py
+
1
−
11
View file @
a8a57ca2
...
...
@@ -134,7 +134,7 @@ class MavrosOffboardPosctlTest(unittest.TestCase):
128
|
1
,
6
,
0
,
0
,
0
,
0
,
0
)
self
.
armed
=
True
if
self
.
is_at_position
(
pos
.
pose
.
position
.
x
,
pos
.
pose
.
position
.
y
,
pos
.
pose
.
position
.
z
,
0.5
):
if
self
.
is_at_position
(
pos
.
pose
.
position
.
x
,
pos
.
pose
.
position
.
y
,
pos
.
pose
.
position
.
z
,
1
):
break
count
=
count
+
1
self
.
rate
.
sleep
()
...
...
@@ -154,16 +154,6 @@ class MavrosOffboardPosctlTest(unittest.TestCase):
for
i
in
range
(
0
,
len
(
positions
)):
self
.
reach_position
(
positions
[
i
][
0
],
positions
[
i
][
1
],
positions
[
i
][
2
],
180
)
count
=
0
timeout
=
50
while
count
<
timeout
:
if
not
self
.
is_at_position
(
2
,
2
,
2
,
0.5
):
break
count
=
count
+
1
self
.
rate
.
sleep
()
self
.
assertTrue
(
count
==
timeout
,
"
position could not be held
"
)
if
__name__
==
'
__main__
'
:
import
rostest
...
...
This diff is collapsed.
Click to expand it.
posix-configs/SITL/init/rcS_gazebo_iris
+
6
−
1
View file @
a8a57ca2
...
...
@@ -18,12 +18,17 @@ param set CAL_ACC0_YSCALE 1.01
param set CAL_ACC0_ZSCALE 1.01
param set CAL_ACC1_XOFF 0.01
param set CAL_MAG0_XOFF 0.01
param set MPC_XY_P 0.25
param set MPC_XY_VEL_P 0.05
param set MPC_XY_VEL_D 0.005
param set MPC_XY_FF 0.1
param set MPC_Z_P 1.3
param set SENS_BOARD_ROT 8
param set SENS_BOARD_X_OFF 0.000001
param set COM_RC_IN_MODE 1
param set COM_DL_LOSS_EN 1
param set COM_DISARM_LAND 3
param set NAV_ACC_RAD
1
2.0
param set NAV_ACC_RAD 2.0
param set RTL_RETURN_ALT 30.0
param set RTL_DESCEND_ALT 10.0
param set RTL_LAND_DELAY 0
...
...
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