SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
--- src/libs/robottools/rthumandriver.cpp.orig Mon Apr 18 17:37:11 2016
|
||||
+++ src/libs/robottools/rthumandriver.cpp Tue Sep 20 01:28:40 2016
|
||||
@@ -1406,7 +1406,7 @@ static void common_drive(const int index, tCarElt* car
|
||||
}
|
||||
ax0 = ax0 * cmd[CMD_THROTTLE].pow;
|
||||
car->_accelCmd = pow(fabs(ax0), 1.0f / cmd[CMD_THROTTLE].sens) / (1.0 + cmd[CMD_THROTTLE].spdSens * car->_speed_x / 1000.0);
|
||||
- if (isnan (car->_accelCmd)) {
|
||||
+ if (std::isnan (car->_accelCmd)) {
|
||||
car->_accelCmd = 0;
|
||||
}
|
||||
/* printf(" axO:%f accelCmd:%f\n", ax0, car->_accelCmd); */
|
Loading…
Add table
Add a link
Reference in a new issue