-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -562,10 +562,11 @@ int number_of_substeps() | |
return 5; | ||
} | ||
|
||
int read_power(double *voltage, double *current) | ||
int read_power(double *voltage, double *current, double *battery) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
k-okada
Contributor
|
||
{ | ||
*voltage = ((double)random()-RAND_MAX/2)/(RAND_MAX/2)*1+48; | ||
*current = ((double)random()-RAND_MAX/2)/(RAND_MAX/2)*0.5+1; | ||
*battery = ((double)random()-RAND_MAX/2)/(RAND_MAX/2)*0.5+50; | ||
return TRUE; | ||
} | ||
|
||
|
今のtravisではiob.hの変更はエラーに成るようにしています.どうしましょうか.
https://travis-ci.org/fkanehiro/hrpsys-base/jobs/59085347
理由はhrpIo.so など自分たちで作れない環境に有る人が( @130s も含めて),
古いiob.hでコンパイルされたhrpIo.so と新しいiob.hでコンパイルされた他のプログラムから
利用できない,というようなものだったかと思います.