Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
car-controlserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenzhongjian
car-controlserver
Commits
2a761b47
Commit
2a761b47
authored
Jun 09, 2025
by
957dd
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/wifi_change' into 'master'
测试了挖掘机的行走可以使用 See merge request
!44
parents
289587b0
176d567b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
version.h
build/include/version.h
+1
-1
main
build/main
+0
-0
device_exit.c
device_judg/device_exit/device_exit.c
+1
-1
mqtt.c
src/mqtt.c
+2
-0
gpio_pwm_car0103.c
system/gpio/gpio_pwm_car0103.c
+2
-3
No files found.
build/include/version.h
View file @
2a761b47
...
...
@@ -2,5 +2,5 @@
#define PROJECT_VERSION_MINOR 1
#define PROJECT_VERSION_PATCH 7
#define GIT_HASH ""
#define BUILD_TIMESTAMP "2025-06-0
6T09:12:32
"
#define BUILD_TIMESTAMP "2025-06-0
9T07:19:20
"
#define BUILD_USER "orangepi"
build/main
View file @
2a761b47
No preview for this file type
device_judg/device_exit/device_exit.c
View file @
2a761b47
...
...
@@ -18,7 +18,7 @@ void car_exit_0102() {
}
void
car_exit_0103
()
{
car0103_middle
();
car0103_middle
();
pin_all_default
();
}
...
...
src/mqtt.c
View file @
2a761b47
#include "common.h"
#include "gpio_pwm_carship.h"
#include "gpio_pwm_car0102.h"
#include "gpio_pwm_car0103.h"
#include "gpio_pwm_ptz.h"
#include "gpio_pwm_tank0202.h"
#include "ip.h"
...
...
@@ -181,6 +182,7 @@ void message_3(cJSON *body){//message_type为3,控制pwm
if
(
AppExit_pin_pwm
==
101
)
speed_change
(
gvalt
)
;
if
(
AppExit_pin_pwm
==
102
)
car0102_speed_change
(
gvalt
)
;
if
(
AppExit_pin_pwm
==
103
)
car0103_change
(
gvalt
)
;
if
(
AppExit_pin_pwm
==
202
)
tank0202_change
(
gvalt
);
if
(
AppExit_pin_pwm
==
301
)
ship_speed_change
(
gvalt
)
;
if
(
AppExit_pin_pwm
==
401
)
PTZ_pwm_change
(
gvalt
);
...
...
system/gpio/gpio_pwm_car0103.c
View file @
2a761b47
...
...
@@ -172,14 +172,13 @@ void mode_car0103_right_back(unsigned char gval) {
int
car0103_change
(
unsigned
char
*
buf
)
{
unsigned
char
mode
=
buf
[
1
];
unsigned
char
val
=
buf
[
2
];
if
(
mode
==
1
)
{
//mode_lift_flont(val);
mode_car0103_right_
flont
(
val
);
mode_car0103_right_
back
(
val
);
modecount_car0103
=
0
;
}
else
if
(
mode
==
2
)
{
//mode_lift_back(val);
mode_car0103_right_
back
(
val
);
mode_car0103_right_
flont
(
val
);
modecount_car0103
=
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment