Skip to content
Snippets Groups Projects
Commit cfde8507 authored by Jiaao Liu's avatar Jiaao Liu
Browse files

pwm 25.3

parent d2c5be88
Branches
No related tags found
No related merge requests found
......@@ -56,8 +56,8 @@ float w_now = 0;
float v_now = 0;
int state_value = 2; // 0 is forward, 1 is rotate , 2 is pending
float initial_pwm = 26.5;
float initial_pwm = 26.3;
//initial 26.5
void straightline(const asclinic_pkg::vw& vw_msg) {
......@@ -87,7 +87,7 @@ void purerotation(const asclinic_pkg::rotation& rotation_msg) {
float flag = rotation_msg.direction;
ref_phi = rotation_msg.ref_phi;
float rotating_pwm = 10;
float rotating_pwm = 15;
float right;
float left;
if (flag > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment