Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VISCA Over IP
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amalio Coron
VISCA Over IP
Commits
3c2dcbd4
Commit
3c2dcbd4
authored
6 years ago
by
Amalio Coron
Browse files
Options
Downloads
Patches
Plain Diff
Semi implémentation de quelques fonctions
"""(il faut mettre en force encore)"""
parent
189a4789
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
viscaoveriplib/camera.py
+2
-2
2 additions, 2 deletions
viscaoveriplib/camera.py
viscaoveriplib/commands_library.py
+49
-1
49 additions, 1 deletion
viscaoveriplib/commands_library.py
with
51 additions
and
3 deletions
viscaoveriplib/camera.py
+
2
−
2
View file @
3c2dcbd4
...
...
@@ -42,9 +42,9 @@ class Camera:
def
payload2header
(
self
,
payload
):
"""
take the payload, calculate the payload leng
h
t and add the sequence number
take the payload, calculate the payload lengt
h
and add the sequence number
:param payload:
:return: header = payloadleng
h
t + seq_num
:return: header
without prefix
= payloadlengt
h
+ seq_num
"""
lenght
=
hex
(
len
(
payload
.
replace
(
'
'
,
''
)))
...
...
This diff is collapsed.
Click to expand it.
viscaoveriplib/commands_library.py
+
49
−
1
View file @
3c2dcbd4
...
...
@@ -62,7 +62,55 @@ class Camera:
#TODO
#PAS FINI A PARTIR D'ICI :
#CAM_WB : White Balance
def
wb_auto
(
self
):
#Normal Auto
8
x
01
04
35
00
FF
def
wb_indoor
(
self
):
#Indoor Mode
8
x
01
04
35
01
FF
def
wb_outdoor
(
self
):
#Outdoor Mode
8
x
01
04
35
02
FF
def
wb_one_push
(
self
):
#One push white balance
8
x
01
04
35
03
FF
def
wb_auto_tracing
(
self
):
#Auto tracing white balance
8
x
01
04
35
04
FF
def
wb_manual
(
self
):
#Manual Control
8
x
01
04
35
05
FF
def
wb_one_push_trigger
(
self
):
#One Push WB trigger
8
x
01
04
10
05
FF
#TOTERMINER
#CAM_RGain and BGain
#TODO
#CAM_AE : Exposure settings
def
ae_full_auto
(
self
):
#Automatic Exposure mode
8
x
01
04
39
00
FF
def
ae_manual
(
self
):
#Manual Control mode
8
x
01
04
39
03
FF
def
ae_shutter_priority
(
self
):
#Shutter priority exposure mode
8
x
01
04
39
0
A
FF
def
ae_iris_priority
(
self
):
#Iris priority exposure mode
8
x
01
04
39
0
B
FF
def
ae_bright
(
self
):
# Bright mode (manual control)
8
x
01
04
39
0
D
FF
#CAM_Slowshutter :
#PAS RELU A PARTIR D'ICI :
def
move_to_absolute_position
(
self
,
YCoordinates
,
ZCoordinates
,
VV
=
None
,
WW
=
None
):
"""
command of absolute position mouvement
...
...
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