Skip to content

Commit

Permalink
AIパケットで動くことを優先して一旦理想速度指令で動かすようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Jun 4, 2024
1 parent 8efa880 commit 1c22fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/ibis_ssl_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ private slots:
speed_control(&orion.acc_vel, &orion.output, &orion.target, &orion.imu, &orion.omni);
output_limit(&orion.output, &orion.debug);
// 出力がやけにでかいので一回1/100にしている
_robot->setSpeed(orion.output.velocity[0] * 0.01, orion.output.velocity[1] * 0.01,orion.output.omega);
// _robot->setSpeed(orion.output.velocity[0] * 0.01, orion.output.velocity[1] * 0.01,orion.output.omega);
// _robot->setSpeed(orion.target.velocity[0] * 1000, orion.target.velocity[1] * 1000, omega);
// ひとまずAIコマンドをそのまま入れている。
_robot->setSpeed(orion.ai_cmd.local_target_speed[0], orion.ai_cmd.local_target_speed[1], omega);
Expand Down

0 comments on commit 1c22fe0

Please sign in to comment.