}
}
+struct robottype_orte_data orte;
+
int main(int argc, char *argv[])
{
int ret;
int size;
- struct robottype_orte_data orte;
struct can_frame frame;
if (cand_init() < 0) {
printf("cand: init OK\n");
}
- orte.strength = 1;
-
/* orte initialization */
if(robottype_roboorte_init(&orte)) {
printf("Roboorte initialization failed! Exiting...\n");
void OrteSignals::createOrte()
{
- orte.strength = 1;
+ memset(&orte, 0, sizeof(orte));
robottype_roboorte_init(&orte); //kontrola uspechu ?
//subscribers
void OrteSignals::time_con(void)
{
emit time_sig(orte.match_time.time);
-}
\ No newline at end of file
+}
}
-
+struct robottype_orte_data orte;
int main(int argc, char *argv[])
{
int ret;
//int size;
- struct robottype_orte_data orte;
char * tty;
signal(SIGINT, sig_handler);
//#endif
}
- orte.strength = 1;
-
/* orte initialization */
if(robottype_roboorte_init(&orte)) {
fprintf(stderr, "displayd: Roboorte initialization failed! Exiting...\n");
signal(SIGINT, int_handler);
- orte.strength = 30;
+ orte.strength = 2;
/* orte initialization */
if (robottype_roboorte_init(&orte)) {
{
int rv = 0;
- robot.orte.strength = 20;
-
rv = robottype_roboorte_init(&robot.orte);
if (rv)
return rv;
{
int rv;
- orte.strength = 11;
-
memset(&orte, 0, sizeof(orte));
rv = robottype_roboorte_init(&orte);
if (rv) {
**********************************************************************/
void RobomonTuning::createOrte()
{
-
- orte.strength = 12;
-
+ memset(&orte, 0, sizeof(orte));
if (robottype_roboorte_init(&orte) != 0) {
perror("robottype_roboorte_init");
exit(1);