Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MicroCART
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Distributed Autonomous Networked Control Lab
MicroCART
Commits
4abd00a9
Commit
4abd00a9
authored
1 year ago
by
abeinder
Browse files
Options
Downloads
Patches
Plain Diff
commit changes
parent
a80e237a
No related branches found
No related tags found
3 merge requests
!104
adding cflib to this branch
,
!94
Merge cflib adapter into main
,
!84
Pycrocart
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pycrocart/CrazyflieProtoConnection.py
+1
-0
1 addition, 0 deletions
pycrocart/CrazyflieProtoConnection.py
pycrocart/PyCroCart.py
+1
-1
1 addition, 1 deletion
pycrocart/PyCroCart.py
pycrocart/ReadMe.md
+4
-0
4 additions, 0 deletions
pycrocart/ReadMe.md
with
6 additions
and
1 deletion
pycrocart/CrazyflieProtoConnection.py
+
1
−
0
View file @
4abd00a9
...
@@ -89,6 +89,7 @@ class CrazyflieProtoConnection:
...
@@ -89,6 +89,7 @@ class CrazyflieProtoConnection:
try
:
try
:
if
self
.
scf
.
is_link_open
():
if
self
.
scf
.
is_link_open
():
return
self
.
scf
.
cf
.
param
.
values
[
group
][
name
]
return
self
.
scf
.
cf
.
param
.
values
[
group
][
name
]
except
AttributeError
:
except
AttributeError
:
pass
pass
return
-
1.234567890
# 1234567890 should be pretty obvious that
return
-
1.234567890
# 1234567890 should be pretty obvious that
...
...
This diff is collapsed.
Click to expand it.
pycrocart/PyCroCart.py
+
1
−
1
View file @
4abd00a9
...
@@ -61,7 +61,7 @@ if __name__ == '__main__':
...
@@ -61,7 +61,7 @@ if __name__ == '__main__':
app
=
QApplication
(
sys
.
argv
)
app
=
QApplication
(
sys
.
argv
)
cf1
=
CrazyflieProtoConnection
()
cf1
=
CrazyflieProtoConnection
()
uri
=
'
radio://0/
2
0/2M/E7E7E7E7E7
'
uri
=
'
radio://0/0/2M/E7E7E7E7E7
'
cf1
.
connect
(
uri
)
cf1
.
connect
(
uri
)
cf1
.
scf
.
cf
.
commander
=
uCartCommander
.
Commander
(
cf1
.
scf
.
cf
)
cf1
.
scf
.
cf
.
commander
=
uCartCommander
.
Commander
(
cf1
.
scf
.
cf
)
...
...
This diff is collapsed.
Click to expand it.
pycrocart/ReadMe.md
+
4
−
0
View file @
4abd00a9
...
@@ -21,6 +21,10 @@ the TCP connection example that bitcraze offers in order to connect to
...
@@ -21,6 +21,10 @@ the TCP connection example that bitcraze offers in order to connect to
the FlyPi as well. This will be easier to implement than connecting to
the FlyPi as well. This will be easier to implement than connecting to
the MicroCART backend, which should be the ultimate end goal.
the MicroCART backend, which should be the ultimate end goal.
Furthermore, while the bitcraze vm is nice, this GUI runs 100 million times
faster and silky smooth when not on a VM. Whether this is a linux issue or a VM
issue I'm not sure yet, but I'd highly recommend not running it on the VM.
Requirements
Requirements
------------
------------
Developed with Python 3.10 64-bit on Windows 10 in Pycharm 2022.
Developed with Python 3.10 64-bit on Windows 10 in Pycharm 2022.
...
...
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